private void OpenAboutView(object sender, EventArgs e) { var aboutView = new AboutView(); _aboutPresenter = new AboutPresenter(aboutView); UpdateViewPanel(_aboutPresenter.AboutView); }
public AboutPresenter(AboutView aboutView) { KaptureConfig = KaptureConfig.GetInstance(); Configuration = (Configuration)KaptureConfig.ConfigManager.Config; AboutView = aboutView; AboutView.Version = PluginService.GetInstance().Version; AboutView.UpdateClicked += CheckForUpdates; AboutView.LinkClicked += OpenLink; AboutView.ViewLogsClicked += OpenPluginLog; }