Exemplo n.º 1
0
        /// <summary>
        /// Display the form modally
        /// </summary>
        public static void ShowDialog(KPView.KPProperties kpProps, AppDirs appDirs, int kpNum)
        {
            if (kpProps == null)
            {
                throw new ArgumentNullException("kpProps");
            }

            SerForm serConfig = new SerForm
            {
                //kpProps = kpProps,
                appDirs = appDirs,
                kpNum   = kpNum
            };

            serConfig.ShowDialog();
        }
Exemplo n.º 2
0
 private void btnEditSerialSettings_Click(object sender, EventArgs e)
 {
     // Edit Serial Settings Skhow Dialog
     SerForm.ShowDialog(kpProps, appDirs, kpNum);
 }