Show() public method

Displays the dialog.
public Show ( Subscription subscription, bool useTypeModel ) : void
subscription Subscription
useTypeModel bool
return void
Exemplo n.º 1
0
        private void SubscriptionCreateItemMI_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, false);
            } catch (Exception exception) {
                GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }