コード例 #1
0
 /// <summary>
 /// Enables the object of other forms on Formclosing
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void frmOverdueSalesOrder_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         if (frmReminderPopupObj != null)
         {
             frmReminderPopupObj.Enabled = true;
             frmReminderPopupObj.Activate();
             frmReminderPopupObj.BringToFront();
         }
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "ODSO6:" + ex.Message;
     }
 }
コード例 #2
0
 /// <summary>
 /// Enables the objects of other forms on form closing
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void frmShortExpiry_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         if (frmReminderPopupObj != null)
         {
             frmReminderPopupObj.Enabled = true;
             frmReminderPopupObj.Activate();
             frmReminderPopupObj.BringToFront();
         }
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "SE:16" + ex.Message;
     }
 }