Esempio n. 1
0
        private void bntThem_Click(object sender, EventArgs e)
        {
            PreferredDAO.PreferredIDList = "";
            FTaoKhoanThu a = new FTaoKhoanThu();

            a.ShowDialog();
            //LoadDataKeHoachThu();
            grcCacKhoanThu.DataSource = ReceivableDetailDAO.ListDemoReceivableDetail;

            grCacsKhoanThu.RefreshData();
        }
Esempio n. 2
0
        private void bntThem_Click(object sender, EventArgs e)
        {
            PreferredDAO.PreferredIDList = "";
            FTaoKhoanThu a = new FTaoKhoanThu();

            a.ShowDialog();
            //LoadDataKeHoachThu();
            grCacKhoanThu.DataSource = ReceivableDetailDAO.ListDemoReceivableDetail;

            if (this.WindowState == FormWindowState.Maximized)
            {
                this.WindowState = FormWindowState.Normal;
                this.WindowState = FormWindowState.Maximized;
            }
            else
            {
                if (this.WindowState == FormWindowState.Normal)
                {
                    this.WindowState = FormWindowState.Maximized;
                    this.WindowState = FormWindowState.Normal;
                }
            }
        }