Пример #1
0
        private void OpenAboutView(object sender, EventArgs e)
        {
            var aboutView = new AboutView();

            _aboutPresenter = new AboutPresenter(aboutView);
            UpdateViewPanel(_aboutPresenter.AboutView);
        }
Пример #2
0
 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;
 }