Example #1
0
        /// <summary>
        /// Shows the A104 Configuration Dialog.
        /// </summary>
        public DialogResult ConfigurationShowDialog()
        {
            L122A104Form l122A104DACForm = new L122A104Form(this);

            l122A104DACForm.Text = DeviceName;
            return(l122A104DACForm.ShowDialog());
        }
Example #2
0
        /// <summary>
        /// Shows the A104 Configuration.
        /// </summary>
        public void ConfigurationShow(FormClosingEventHandler action = null)
        {
            L122A104Form l122A104DACForm = new L122A104Form(this);

            l122A104DACForm.Text = DeviceName;
            l122A104DACForm.Show();
            if (action != null)
            {
                l122A104DACForm.FormClosing += action;
            }
        }