コード例 #1
0
 public static void Main(string[] args)
 {
     MainForm.Start(args);
 }
コード例 #2
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     Application.Current.DispatcherUnhandledException += new DispatcherUnhandledExceptionEventHandler(Application_ThreadException);
     MainForm.Start(e.Args);
     Application.Current.Shutdown();
 }