public PluginUIMediator(PluginUI viewComponent) : base(NAME, viewComponent) { pluginUI.OnPause += new EventHandler(pluginUI_OnPause); pluginUI.OnResume += new EventHandler(pluginUI_OnResume); }
/// <summary> /// Creates a plugin panel for the plugin /// </summary> public void CreatePluginPanel() { this.ui = new PluginUI(this); this.ui.Text = LocaleHelper.GetString("Title.PluginPanel"); this.pluginPanel = PluginBase.MainForm.CreateDockablePanel(this.ui, this.pluginGuid, this.pluginImage, DockState.DockRight); //pluginUI.Show(); }