private void tsmWinDbgLocation_Click(object sender, RoutedEventArgs e) { if (WinDbgLocation.frmWinDbgLocation == null) { WinDbgLocation frmWinDbgLocation = new WinDbgLocation(); frmWinDbgLocation.Topmost = true; frmWinDbgLocation.Show(); } else { WinDbgLocation.frmWinDbgLocation.txtLocation.Text = DebugConsole.WinDbgPathFromRegistry; WinDbgLocation.frmWinDbgLocation.Topmost = true; WinDbgLocation.frmWinDbgLocation.Show(); } }
public WinDbgLocation() { InitializeComponent(); frmWinDbgLocation = this; }