상속: System.Windows.Forms.Form
예제 #1
0
 void CreateDialog_FormClosing(object sender, FormClosingEventArgs e)
 {
     try {
         if (m_createDialog == sender)
         {
             m_createDialog = null;
         }
     } catch (Exception exception) {
         GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
     }
 }
예제 #2
0
        private void SubscriptionCreateItemFromTypeMI_Click(object sender, EventArgs e)
        {
            try {
                if (m_createDialog == null)
                {
                    m_createDialog              = new CreateMonitoredItemsDlg();
                    m_createDialog.FormClosing += new FormClosingEventHandler(CreateDialog_FormClosing);
                }

                m_createDialog.Show(m_subscription, true);
            } catch (Exception exception) {
                GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }
예제 #3
0
        private void SubscriptionCreateItemFromTypeMI_Click(object sender, EventArgs e)
        {
            try
            {
                if (m_createDialog == null)
                {
                    m_createDialog = new CreateMonitoredItemsDlg();
                    m_createDialog.FormClosing += new FormClosingEventHandler(CreateDialog_FormClosing);
                }

                m_createDialog.Show(m_subscription, true);
            }
            catch (Exception exception)
            {
				GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }
예제 #4
0
        void CreateDialog_FormClosing(object sender, FormClosingEventArgs e)
        {
            try
            {
                if (m_createDialog == sender)
                {
                    m_createDialog = null;
                }
            }
            catch (Exception exception)
            {
				GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }