Beispiel #1
0
 private void bandedGridView1_DoubleClick(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(_Id))
     {
         XtraMessageBox.Show("Vui lòng chọn một người cần sửa!", "THÔNG BÁO", MessageBoxButtons.YesNo,
                             MessageBoxIcon.Error);
     }
     else
     {
         var update = new FormEditResultInterview(_Id);
         update.ShowDialog();
         EnableButtonEditAndDelete(false);
     }
 }
Beispiel #2
0
 private void btnUpdate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     splashScreenManager1.ShowWaitForm();
     if (string.IsNullOrEmpty(_Id))
     {
         splashScreenManager1.CloseWaitForm();
         XtraMessageBox.Show("Vui lòng chọn một người cần sửa!", "THÔNG BÁO", MessageBoxButtons.YesNo,
                             MessageBoxIcon.Error);
     }
     else
     {
         var update = new FormEditResultInterview(_Id);
         update.ShowDialog();
         EnableButtonEditAndDelete(false);
         splashScreenManager1.CloseWaitForm();
     }
 }
Beispiel #3
0
 private void btnUpdate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     splashScreenManager1.ShowWaitForm();
     if (string.IsNullOrEmpty(_Id))
     {
         splashScreenManager1.CloseWaitForm();
         XtraMessageBox.Show("Vui lòng chọn một người cần sửa!", "THÔNG BÁO", MessageBoxButtons.YesNo,
             MessageBoxIcon.Error);
     }
     else
     {
         var update = new FormEditResultInterview(_Id);
         update.ShowDialog();
         EnableButtonEditAndDelete(false);
         splashScreenManager1.CloseWaitForm();
     }
     
 }
Beispiel #4
0
 private void bandedGridView1_DoubleClick(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(_Id))
     {
         XtraMessageBox.Show("Vui lòng chọn một người cần sửa!", "THÔNG BÁO", MessageBoxButtons.YesNo,
             MessageBoxIcon.Error);
     }
     else
     {
         var update = new FormEditResultInterview(_Id);
         update.ShowDialog();
         LoadData();
         EnableButtonEditAndDelete(false);
     }
 }