Beispiel #1
0
        public TabPlugin(FlowLayoutPanel flyPanel)
        {
            setting    = Services.Settings.Instance;
            pluginServ = Services.PluginsServer.Instance;

            this.flyPanel = flyPanel;

            curPluginInfos = pluginServ.GetterAllPluginsInfo();
            setting.SavePluginInfoItems(curPluginInfos);
            MarkdownCurOption();

            InitPanel();
        }
Beispiel #2
0
        public override bool SaveOptions()
        {
            if (!IsOptionsChanged())
            {
                return(false);
            }

            curPluginInfos = CollectPluginInfoItems();
            MarkdownCurOption();
            setting.SavePluginInfoItems(curPluginInfos);
            pluginServ.RestartAllPlugins();
            return(true);
        }
Beispiel #3
0
        public override bool SaveOptions()
        {
            if (!IsOptionsChanged())
            {
                return(false);
            }

            curPluginInfos = CollectPluginInfoItems();
            MarkdownCurOption();
            setting.SavePluginInfoItems(curPluginInfos);
            pluginServ.RestartAllPlugins();
            Services.Notifier.Instance.RefreshNotifyIconLater();
            return(true);
        }