public MainViewPresenter(MainWindow view) : base(view) { this.factory = this.CreateFactory(); this.LoadMenuItems(); this.CreateDataSources(); this.CreateNotifyIconPresenter(); this.coordinateMap = new CoordinateMap(this.View.Width / this.handDataSource.Width, this.View.Height / this.handDataSource.Height); this.settingsPresenter = new SettingsViewPresenter(this.repository); this.settingsPresenter.Apply += new EventHandler(settingsPresenter_Apply); if (Settings.Default.ShowDepthWindow) { ShowDepthWindow(); } }