Exemplo n.º 1
0
        public OrderForm()
        {
            InitializeComponent();

            db = new con_Database();

            init_make_year();
            int    c_month = DateTime.Now.Month;
            string s_month = "";

            if (c_month < 10)
            {
                s_month = "0" + c_month;
            }
            else
            {
                s_month = c_month.ToString();
            }
            init_make_month(s_month);
            Console.WriteLine("month" + DateTime.Now.Month);

            // 리스트 호출
            salesListAll(DateTime.Now.Year.ToString());

            txt_sale_id.ReadOnly  = true;
            txt_sale_id.BackColor = Color.Gray;
        }
Exemplo n.º 2
0
        public bigoForm()
        {
            InitializeComponent();

            db = new con_Database();

            init_make_year();
        }
Exemplo n.º 3
0
        public bigoYearsEachForm()
        {
            InitializeComponent();
            db = new con_Database();


            tabControl1.SelectedIndexChanged += new EventHandler(tabControl1_SelectedIndexChanged);

            tabControl1.TabPages[0].Text  = "상세비교";
            tabControl1.TabPages[1].Text  = "1월";
            tabControl1.TabPages[2].Text  = "2월";
            tabControl1.TabPages[3].Text  = "3월";
            tabControl1.TabPages[4].Text  = "4월";
            tabControl1.TabPages[5].Text  = "5월";
            tabControl1.TabPages[6].Text  = "6월";
            tabControl1.TabPages[7].Text  = "7월";
            tabControl1.TabPages[8].Text  = "8월";
            tabControl1.TabPages[9].Text  = "9월";
            tabControl1.TabPages[10].Text = "10월";
            tabControl1.TabPages[11].Text = "11월";
            tabControl1.TabPages[12].Text = "12월";

            selectList();
        }
Exemplo n.º 4
0
 public tobaccoForm()
 {
     InitializeComponent();
     db = new con_Database();
 }