private void SubscriptionDlg_FormClosing(object sender, FormClosingEventArgs e) { try { if (m_createDialog != null) { m_createDialog.Close(); } MonitoredItemsCTRL.FormClosing(); } catch (Exception exception) { GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception); } }