Esempio n. 1
0
        private void bindingNavigatorXemDiemItem_Click(object sender, EventArgs e)
        {
            string         maHS     = dgvDiem.GetFocusedRowCellDisplayText(col_maHS);
            string         hoTen    = dgvDiem.GetFocusedRowCellDisplayText(col_hoTen);
            string         maHocKy  = cboHocKy.EditValue.ToString();
            string         maNamHoc = NAMHOC_BUS.LayNamHocHienTai().MANAMHOC;
            frmDiemChiTiet frm      = new frmDiemChiTiet(maHS, maHocKy, maNamHoc);

            frm.Show();
        }
Esempio n. 2
0
        private void btnTraCuuDiem_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = this.KiemTraTonTai(typeof(frmDiemChiTiet));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmDiemChiTiet f = new frmDiemChiTiet
                {
                    MdiParent = this
                };
                f.Show();
            }
        }