// 扫描配置 private void MI_ScanConfig_Click(object sender, EventArgs e) { if (frmScanConfig == null) { frmScanConfig = new FormScanConfig(reader); } if (frmScanConfig.ShowDialog() == System.Windows.Forms.DialogResult.OK) { scanMsg = frmScanConfig.msg; } }
// 扫描配置 private void MI_ScanConfig_Click(object sender, EventArgs e) { FormScanConfig frmScanConfig = new FormScanConfig(reader); frmScanConfig.ShowDialog(); }