예제 #1
0
파일: Program.cs 프로젝트: JoanMiro/MvxMod
 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();
 }