示例#1
0
        private void frmBill_Load(object sender, EventArgs e)
        {
            label5.Text = DateTime.Now.ToString("dd MMMM, yyyy");

            SQLConn.getData();
            //for cash Acc name
            textBox23.ReadOnly = true;
            //for Cash
            textBox2.ReadOnly = true;
            textBox4.ReadOnly = true;


            check_decimal_func();
            if (dec_spe == true)
            {
                button4.Text = "3";
            }
            else
            {
                button4.Text = "2";
            }
            //      textBox1.Focus();
        }
示例#2
0
 private void frmMain_Load(object sender, EventArgs e)
 {
     SQLConn.getData();
     this.Focus();
 }
示例#3
0
 public frmMain()
 {
     InitializeComponent();
     SQLConn.getData();
     load_chart();
 }