private void Nangluong(List<object> ids)
 {
     if (ids != null)
     {
         DataRow row = gridViewMaster.GetDataRow(gridViewMaster.FocusedRowHandle);
         DateTime TuNgay = (DateTime)row["TU_NGAY"];
         frmDieuChinhLuong obj = new frmDieuChinhLuong(HelpNumber.ParseInt64(row["ID"]), TuNgay, false, true);
         HelpProtocolForm.ShowModalDialog(this, obj);
         that.PLRefresh();
     }
 }
 public override void ShowUpdateForm(long id)
 {
     IsUpdate = true;
     doLuong = null;
     DateTime TuNgay = (DateTime)gridViewMaster.GetDataRow(gridViewMaster.FocusedRowHandle)["TU_NGAY"];
     frmDieuChinhLuong obj = new frmDieuChinhLuong(id, TuNgay, false,false);
     obj._AfterUpdateSuccessfully += new frmDieuChinhLuong.AfterUpdateSuccessfully(obj__AfterUpdateSuccessfully);
     HelpProtocolForm.ShowModalDialog(this, obj);
 }
 public override void ShowViewForm(long id)
 {
     DateTime TuNgay = (DateTime)gridViewMaster.GetDataRow(gridViewMaster.FocusedRowHandle)["TU_NGAY"];
     frmDieuChinhLuong obj = new frmDieuChinhLuong(id, TuNgay,null,false);
     HelpProtocolForm.ShowModalDialog(this, obj);
 }
 public override long[] ShowAddForm()
 {
     frmDieuChinhLuong obj = new frmDieuChinhLuong(-1, new DateTime(1900,1,1), true,false);
     HelpProtocolForm.ShowDialog(this, obj);
     return null;
 }