static void Main() { Application.Init(); var window = new SharpApp(); Window.InteractiveDebugging = true;//打开调试工具 XTrace2.UseWinForm(window); Application.Run(); }
static void Main() { XTrace.UseConsole(); GLib.ExceptionManager.UnhandledException += ExceptionManager_UnhandledException; // 检查环境 GtkHelper.CheckRuntime(); Application.Init(); var window = new SharpApp(); window.ShowAll(); // Window.InteractiveDebugging = true; //XTrace2.UseWinForm(window); Application.Run(); }