예제 #1
0
 private static void plugins_Executed(object sender, PluginErrorEventArgs e)
 {
     if (e.HasErrors)
     {
         FormMessage.Error("Error Executing Plugins", "Failed to execute the following plugins:\n\n" + string.Join("\n\n", e.Errors), FormMessage.OK);
     }
 }
예제 #2
0
 private static void plugins_Executed(object sender, PluginErrorEventArgs e)
 {
     if (e.HasErrors)
     {
         string doubleNL = Environment.NewLine + Environment.NewLine;
         MessageBox.Show("Failed to execute the following plugins:" + doubleNL + string.Join(doubleNL, e.Errors), "Error Executing Plugins", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
예제 #3
0
 private static void plugins_Reloaded(object sender, PluginErrorEventArgs e)
 {
     if (e.HasErrors)
     {
         string doubleNL = Environment.NewLine + Environment.NewLine;
         MessageBox.Show("The following plugins will not be available until the issues are resolved:" + doubleNL + string.Join(doubleNL, e.Errors), "Error Loading Plugins", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
예제 #4
0
 private void plugins_Executed(object sender, PluginErrorEventArgs e)
 {
     if (e.HasErrors)
     {
         this.InvokeAsyncSafe(() => {
             FormMessage.Error("Error Executing Plugins", "Failed to execute the following plugins:\n\n" + string.Join("\n\n", e.Errors), FormMessage.OK);
         });
     }
 }
예제 #5
0
        private void plugins_Reloaded(object sender, PluginErrorEventArgs e)
        {
            if (e.HasErrors)
            {
                FormMessage.Error("Error Loading Plugins", "The following plugins will not be available until the issues are resolved:\n\n" + string.Join("\n\n", e.Errors), FormMessage.OK);
            }

            if (isLoaded)
            {
                browser.ReloadToTweetDeck();
            }
        }
예제 #6
0
        private void plugins_Reloaded(object sender, PluginErrorEventArgs e)
        {
            if (e.HasErrors)
            {
                this.InvokeAsyncSafe(() => { // TODO not needed but makes code consistent...
                    FormMessage.Error("Error Loading Plugins", "The following plugins will not be available until the issues are resolved:\n\n" + string.Join("\n\n", e.Errors), FormMessage.OK);
                });
            }

            if (isLoaded)
            {
                browser.ReloadToTweetDeck();
            }
        }
예제 #7
0
        // Event handlers

        private void manager_Reloaded(object sender, PluginErrorEventArgs e)
        {
            fileCache.Clear();
        }
예제 #8
0
 private void plugins_Reloaded(object sender, PluginErrorEventArgs e)
 {
     browser.GetBrowser().Reload();
 }
예제 #9
0
 private void pluginManager_Reloaded(object sender, PluginErrorEventArgs e)
 {
     tabBtnOfficial.Text = "Official: " + pluginManager.CountPluginByGroup(PluginGroup.Official);
     tabBtnCustom.Text   = "Custom: " + pluginManager.CountPluginByGroup(PluginGroup.Custom);
 }