コード例 #1
0
 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();
     }
 }
コード例 #2
0
 public WinDbgLocation()
 {
     InitializeComponent();
     frmWinDbgLocation = this;
 }