private void btnIn_ItemClick(object sender, ItemClickEventArgs e) { frmPreviewReport frmPreviewReport = new frmPreviewReport(); frmPreviewReport.inListGiangVien(); frmPreviewReport.WindowState = FormWindowState.Maximized; frmPreviewReport.ShowDialog(); }
private void btnInTKB_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { using (frmPreviewReport frm = new frmPreviewReport()) { frm.WindowState = FormWindowState.Maximized; frm.inGiangVienTKB(maGV); frm.ShowDialog(); } }
private void btnDongY_Click(object sender, EventArgs e) { using (frmPreviewReport frm = new frmPreviewReport()) { frm.WindowState = FormWindowState.Maximized; frm.inDSLop(cbLop.Text); frm.ShowDialog(); } }
private void laIn_Click(object sender, EventArgs e) { laIn.BackColor = Color.SkyBlue; laThongTin.BackColor = Color.Silver; using (frmPreviewReport frm = new frmPreviewReport()) { frm.WindowState = FormWindowState.Maximized; frm.inGiangVien(laMaGV.Text, laHoTen.Text, laDiaChi.Text, laSoDT.Text, laGioiTinh.Text, laTrinhDo.Text, laThamNien.Text, laKhoa.Text, laEmail.Text, laNoiSinh.Text, laNgaySinh.Text, ImageByArray); frm.ShowDialog(); } }