C# datagridview 틀고정하기
datagridview1.Columns[1].Frozen = true; datagridview1.Rows[1].Frozen = true;
- C# Programming
- · 2019. 6. 13.
c# 쓰레드
Thread t1 = new Thread(new ThreadStart(DownLoad)); t1.Start();
- C# Programming
- · 2019. 5. 16.
class NewProgressBar : ProgressBar { private SolidBrush brush = null; public NewProgressBar() { this.SetStyle(ControlStyles.UserPaint, true); } protected override void OnPaint(PaintEventArgs e) { if (brush == null || brush.Color != this.ForeColor) brush = new SolidBrush(this.ForeColor); Rectangle rec = new Rectangle(0, 0, this.Width, this.Height); if (ProgressBarRenderer.IsSupported) ProgressBar..
comboBox1.MouseWheel += ConditionBox_MouseWheel; private void ConditionBox_MouseWheel(object sender, MouseEventArgs e) { ((HandledMouseEventArgs)e).Handled = true; }
간단 사용법입니다 SpeechSynthesizer synth = new SpeechSynthesizer(); synth.SetOutputToDefaultAudioDevice(); synth.Speak("안녕하세요");
datagridview1.Columns[1].Frozen = true; datagridview1.Rows[1].Frozen = true;
Thread t1 = new Thread(new ThreadStart(DownLoad)); t1.Start();
using MySql.Data.MySqlClient; string ConnectionString = "SERVER=localhost; USER=아이디; DATABASE=데이터베이스; PASSWORD=비밀번호;"; string sql = "select * from test"; DataSet ds = new DataSet(); MySqlConnection Conn = new MySqlConnection(ConnectionString); MySqlDataAdapter dataAdapter = new MySqlDataAdapter(sql, Conn); dataAdapter.Fill(ds,"test");