Example #1
0
 /// <summary>
 /// Creates a plugin panel for the plugin
 /// </summary>
 public void CreatePluginPanel()
 {
     this.pluginUI             = new PluginUI(this);
     this.pluginUI.Text        = TextHelper.GetString("Title.PluginPanel");
     this.pluginUI.ParentPanel = PluginBase.MainForm.CreateDockablePanel(this.pluginUI, this.pluginGuid, this.pluginImage, DockState.DockBottomAutoHide);
     ResultsPanelHelper.Initialize(this, this.pluginUI);
 }
Example #2
0
        /**
         * Initializes the plugin
         */
        public void Initialize()
        {
            this.mainForm = this.pluginHost.MainForm;
            this.pluginUI = new PluginUI(this);
            System.Drawing.Image image = mainForm.GetSystemImage(127);

            /**
             *  Create panel
             */
            this.pluginUI.Tag  = "Results";
            this.pluginUI.Text = "Results";
            this.pluginPanel   = mainForm.CreateDockingPanel(this.pluginUI, this.pluginGuid, image, DockState.DockBottomAutoHide);

            /**
             *  Create menu item
             */
            CommandBarMenu ViewMenu = mainForm.GetCBMenu("ViewMenu");

            ViewMenu.Items.AddButton(image, "&Results Panel", new EventHandler(this.OpenPanel));
        }
 /// <summary>
 /// Creates a plugin panel for the plugin
 /// </summary>
 public void CreatePluginPanel()
 {
     this.pluginUI = new PluginUI(this);
     this.pluginUI.Text = TextHelper.GetString("Title.PluginPanel");
     this.pluginPanel = PluginBase.MainForm.CreateDockablePanel(this.pluginUI, this.pluginGuid, this.pluginImage, DockState.DockBottomAutoHide);
 }
Example #4
0
		/**
		* Initializes the plugin
		*/
		public void Initialize()
		{
			this.mainForm = this.pluginHost.MainForm;
			this.pluginUI = new PluginUI(this);
			System.Drawing.Image image = mainForm.GetSystemImage(127);
			/**
			*  Create panel
			*/
			this.pluginUI.Tag = "Results";
			this.pluginUI.Text = "Results";
			this.pluginPanel = mainForm.CreateDockingPanel(this.pluginUI, this.pluginGuid, image, DockState.DockBottomAutoHide);
			/**
			*  Create menu item
			*/
			CommandBarMenu ViewMenu = mainForm.GetCBMenu("ViewMenu");
			ViewMenu.Items.AddButton(image, "&Results Panel", new EventHandler(this.OpenPanel));
		}