public TabPlugin(FlowLayoutPanel flyPanel) { setting = Services.Settings.Instance; pluginServ = Services.PluginsServer.Instance; this.flyPanel = flyPanel; curPluginInfos = pluginServ.GetterAllPluginsInfo(); setting.SavePluginInfoItems(curPluginInfos); MarkdownCurOption(); InitPanel(); }
public override bool SaveOptions() { if (!IsOptionsChanged()) { return(false); } curPluginInfos = CollectPluginInfoItems(); MarkdownCurOption(); setting.SavePluginInfoItems(curPluginInfos); pluginServ.RestartAllPlugins(); return(true); }
public override bool SaveOptions() { if (!IsOptionsChanged()) { return(false); } curPluginInfos = CollectPluginInfoItems(); MarkdownCurOption(); setting.SavePluginInfoItems(curPluginInfos); pluginServ.RestartAllPlugins(); Services.Notifier.Instance.RefreshNotifyIconLater(); return(true); }