public void CWEnvironmentTabClosing(Control Tab, ref bool cancel)
 {
     // If we're closing our clip manager window tab, set our
     // object to null
     if (Tab == clipManagerWindow)
     {
         clipManagerWindow = null;
     }
 }
        void pluginMenu_Click(object sender, EventArgs e)
        {
            // If we're null, we need to create the tab
            if (clipManagerWindow == null)
            {
                clipManagerWindow = new ClipManagerWindow();
                controlObject.RegisterEnvironmentTab(this, "Clip Manager", workspaceIconHandle, clipManagerWindow);
            }

            // Focus it
            controlObject.FocusEnvironmentTab(clipManagerWindow);
        }
        void pluginMenu_Click(object sender, EventArgs e)
        {
            // If we're null, we need to create the tab
            if (clipManagerWindow == null) {
                clipManagerWindow = new ClipManagerWindow();
                controlObject.RegisterEnvironmentTab(this, "Clip Manager", workspaceIconHandle, clipManagerWindow);
            }

            // Focus it
            controlObject.FocusEnvironmentTab(clipManagerWindow);
        }
 public void CWEnvironmentTabClosing(Control Tab, ref bool cancel)
 {
     // If we're closing our clip manager window tab, set our
     // object to null
     if (Tab == clipManagerWindow)
         clipManagerWindow = null;
 }