private void settingMenu_Click(object sender, RoutedEventArgs e) { if (w != null) { return; } btnStop_Click(null, null); //記録停止 this.Topmost = false; w = new SettingWindow(); w.ShowDialog(); if (w.DialogResult == true && _captureList != null) { btnClear_Click(null, null); } this.Topmost = setting.Topmost; w = null; }
private void settingMenu_Click(object sender, RoutedEventArgs e) { if (w != null) return; btnStop_Click(null, null); //記録停止 this.Topmost = false; w = new SettingWindow(); w.ShowDialog(); if (w.DialogResult == true && _captureList != null) { btnClear_Click(null, null); } this.Topmost = setting.Topmost; w = null; }