Exemple #1
0
 private void ManagerPluginUnloaded(object sender, PluginEventArgs e)
 {
     Toolbars.RemoveItemsForPlugin(e.Identity);
     Menu.RemoveItemsForPlugin(e.Identity);
     DockPanels.RemoveItemsForPlugin(e.Identity);
     Toolbox.RemoveItemsForPlugin(e.Identity);
     StatusBar.RemoveItemsForPlugin(e.Identity);
 }
 private void ManagerPluginUnloaded(object sender, PluginEventArgs e)
 {
     if (Toolbars != null)
     {
         Toolbars.RemoveItemsForPlugin(e.Identity);
     }
     if (ViewType == MainViewType.Normal)
     {
         Menu.RemoveItemsForPlugin(e.Identity);
     }
     else
     {
     }
     DockPanels.RemoveItemsForPlugin(e.Identity);
     StatusBar.RemoveItemsForPlugin(e.Identity);
 }