Наследование: System.Windows.Window
Пример #1
0
 private static void Thread()
 {
     try
     {
         var application = new DebuggerApplication();
         var window = new DebuggerWindow(Context, HackPath);
         DebuggerApplication.IsReady = true;
         application.Run(window);
     }
     catch (Exception exception)
     {
         MessageBox.Show(
             "Fatal exception!" + Environment.NewLine +
             exception + Environment.NewLine +
             "Aborting execution!",
             typeof(DebuggerApplication) + ".Thread()", MessageBoxButton.OK, MessageBoxImage.Error);
         Process.GetCurrentProcess().Kill();
     }
 }
Пример #2
0
 private static void Thread()
 {
     try
     {
         var application = new DebuggerApplication();
         var window      = new DebuggerWindow(Context, HackPath);
         DebuggerApplication.IsReady = true;
         application.Run(window);
     }
     catch (Exception exception)
     {
         MessageBox.Show(
             "Fatal exception!" + Environment.NewLine +
             exception + Environment.NewLine +
             "Aborting execution!",
             typeof(DebuggerApplication) + ".Thread()", MessageBoxButton.OK, MessageBoxImage.Error);
         Process.GetCurrentProcess().Kill();
     }
 }