/// <summary> /// On form closing /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void frmServiceCategory_FormClosing(object sender, FormClosingEventArgs e) { try { if (frmServicesObj != null) { frmServicesObj.ReturnFromServiceCategoryForm(decId); } } catch (Exception ex) { MessageBox.Show("SC8" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On form closing /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void frmServiceCategory_FormClosing(object sender, FormClosingEventArgs e) { try { if (frmServicesObj != null) { frmServicesObj.ReturnFromServiceCategoryForm(decId); } } catch (Exception ex) { formMDI.infoError.ErrorString = "SC10" + ex.Message; } }