예제 #1
0
 private void bbiSetDate_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (list[gridView1.GetSelectedRows()[0]].KetQuaPV == null)
     {
         frmDatLichPV frm = new frmDatLichPV(list[gridView1.GetSelectedRows()[0]].HoSoPVID);
         frm.ShowDialog();
         LoadData();
     }
     else
     {
         XtraMessageBox.Show("Đã phỏng vấn", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
예제 #2
0
 private void gridView1_DoubleClick(object sender, EventArgs e)
 {
     if (list[gridView1.GetSelectedRows()[0]].NgayPV == null)
     {
         frmDatLichPV frm = new frmDatLichPV(list[gridView1.GetSelectedRows()[0]].NhanVienID ?? default(int));
         frm.ShowDialog();
         LoadData();
     }
     else
     {
         frmKQHoSoPV frm = new frmKQHoSoPV(list[gridView1.GetSelectedRows()[0]].NhanVienID ?? default(int));
         frm.ShowDialog();
         LoadData();
     }
 }