public AddToWatchPresenter(IAddToWatchView view, MainPresenter presenter) { this.view = view; this.presenter = presenter; view.Presenter = this; UpdateList(); }
protected override void OnStartup(StartupEventArgs e) { Dispatcher.UnhandledException += (o, args) => #if DEBUG MessageBox.Show(args.Exception.ToString()); #else MessageBox.Show(args.Exception.Message); #endif MainView mainView = new MainView(); MainPresenter presenter = new MainPresenter(mainView); //mainView.Presenter = presenter; mainView.Show(); //base.OnStartup(e); }