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(); }
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(); }