/// <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(); }
private void btnEditSerialSettings_Click(object sender, EventArgs e) { // Edit Serial Settings Skhow Dialog SerForm.ShowDialog(kpProps, appDirs, kpNum); }