示例#1
0
 public static void Main()
 {
     var app = new App();
     var ourWindow = new MainWindow();
     var presenter = new MultiRegionPresenter(ourWindow);
     var setup = new Setup(app.Dispatcher, presenter);
     setup.Initialize();
     app.MainWindow.Show();
     app.Run();
 }
示例#2
0
 public static void Main()
 {
     var app = new App();
     // if Call InitializeComponent to ensure any App.Xaml resources are loaded 
     //app.InitializeComponent();
     var ourWindow = new MainWindow();
     var presenter = new MultiRegionPresenter(ourWindow);
     var setup = new Setup(app.Dispatcher, presenter);
     setup.Initialize();
     app.MainWindow.Show();
     app.Run();
 }