コード例 #1
0
 /// <summary>
 /// Enables the object of frmBonusDeductionRegister form on formclosing
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void frmBonusDeduction_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         if (frmBonusDeductionRegisterObj != null)
         {
             frmBonusDeductionRegisterObj.Clear();
             frmBonusDeductionRegisterObj.Enabled = true;
             frmBonusDeductionRegisterObj.GridSelection();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("BD20:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #2
0
 /// <summary>
 /// Enables the object of frmBonusDeductionRegister form on formclosing
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void frmBonusDeduction_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         if (frmBonusDeductionRegisterObj != null)
         {
             frmBonusDeductionRegisterObj.Clear();
             frmBonusDeductionRegisterObj.Enabled = true;
             frmBonusDeductionRegisterObj.GridSelection();
         }
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "BD20:" + ex.Message;
     }
 }