示例#1
0
        private void btnTongHop_Click(object sender, EventArgs e)
        {
            string MaNhanVien = ((DataRowView)cboNhanVien.SelectedItem).Row["MaNhanVien"].ToString().Trim();

            if (MaNhanVien == null || MaNhanVien == "")
            {
                MaNhanVien = "TatCa";
            }
            frmDoanhThuTheoNVBH f = new frmDoanhThuTheoNVBH(dtpTuNgay.Value, dtpDenNgay.Value, MaNhanVien);

            f.Show();
        }
示例#2
0
        public frmDoanhThuTheoNVBH showFormDoanhThuTheoNVBH()
        {
            frmDoanhThuTheoNVBH F = (frmDoanhThuTheoNVBH)getForm("frmDoanhThuTheoNVBH");

            if (F == null)
            {
                F = new frmDoanhThuTheoNVBH();
                F.Show();
            }
            F.MdiParent   = this;
            F.WindowState = FormWindowState.Maximized;
            F.Activate();
            return(F);
        }