public Main() { InitializeComponent(); db = new Con_datatable(); db.ConnectDB(); FillComboPdName(); }
public Main() { InitializeComponent(); db = new Con_datatable(); db.ConnectDB(); FillComboPdName(); FillComboMemName(); PrivateFontCollection privatieFonts = new PrivateFontCollection(); privatieFonts.AddFontFile("NanumSquareRoundR.ttf"); //24f는 출력될 폰트 사이즈 Font font = new Font(privatieFonts.Families[0], 11f); btnCheck1.Font = font; btnCheck2.Font = font; LblNowDate.Font = font; dataGridView1.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView2.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView3.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView1.DefaultCellStyle.SelectionForeColor = Color.Black; dataGridView2.DefaultCellStyle.SelectionForeColor = Color.Black; dataGridView3.DefaultCellStyle.SelectionForeColor = Color.Black; }
public Main() { InitializeComponent(); db = new Con_datatable(); db.ConnectDB(); //PrivateFontCollection privatieFonts = new PrivateFontCollection(); //privatieFonts.AddFontFile("NanumSquareRoundR.ttf"); ////24f는 출력될 폰트 사이즈 //Font font = new Font(privatieFonts.Families[0], 11f); //btnCheck1.Font = font; //btnCheck2.Font = font; //LblNowDate.Font = font; dataGridView1.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView2.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView3.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView1.DefaultCellStyle.SelectionForeColor = Color.Black; dataGridView2.DefaultCellStyle.SelectionForeColor = Color.Black; dataGridView3.DefaultCellStyle.SelectionForeColor = Color.Black; dataGridView1.ClearSelection(); dataGridView2.ClearSelection(); dataGridView3.ClearSelection(); this.MaximizeBox = false; }
public Main() { InitializeComponent(); db = new Con_datatable(); db.ConnectDB(); FillComboPdName(); //CheckForIllegalCrossThreadCalls = true; }
public Main() { InitializeComponent(); db = new Con_datatable(); db.ConnectDB(); FillComboPdName(); FillComboMemName(); dataGridView1.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView2.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView3.DefaultCellStyle.SelectionBackColor = Color.White; dataGridView1.DefaultCellStyle.SelectionForeColor = Color.Black; dataGridView2.DefaultCellStyle.SelectionForeColor = Color.Black; dataGridView3.DefaultCellStyle.SelectionForeColor = Color.Black; }