예제 #1
0
 public Main()
 {
     InitializeComponent();
     db = new Con_datatable();
     db.ConnectDB();
     FillComboPdName();
 }
예제 #2
0
파일: Main.cs 프로젝트: eoood/Smart_Cart
        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;
        }
예제 #3
0
파일: Main.cs 프로젝트: eoood/Smart_Cart
        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;
        }
예제 #4
0
파일: Main.cs 프로젝트: eoood/Smart_Cart
 public Main()
 {
     InitializeComponent();
     db = new Con_datatable();
     db.ConnectDB();
     FillComboPdName();
     //CheckForIllegalCrossThreadCalls = true;
 }
예제 #5
0
        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;
        }