Ejemplo n.º 1
0
        private void grdGiaoVien_DoubleClick(object sender, EventArgs e)
        {
            cBGG_CongViecGiaoVien cbCongViec = new cBGG_CongViecGiaoVien();
            int ID = int.Parse(grvGiaoVien.GetDataRow(grvGiaoVien.FocusedRowHandle)["NS_GiaoVienID"].ToString());
            dlgChiTietGioGiang dlg = new dlgChiTietGioGiang(oBGiaoVien.ChiTietGioGiang(ID, Program.IDNamHoc), cbCongViec.Get(ID, Program.IDNamHoc));

            dlg.ShowDialog();
        }