public override void Execute() { if (aboutDialog == null) aboutDialog = new AboutDialog(); aboutDialog.ShowDialog((IWin32Window)MainFormManager.MainForm); }
private void aboutButton_Click(object sender, EventArgs e) { List<IPluginDescription> plugins = new List<IPluginDescription>(pluginManager.Plugins.OfType<IPluginDescription>()); using (var dialog = new AboutDialog(plugins)) { dialog.ShowDialog(); } }