Ejemplo n.º 1
0
        public void Deactivate()
        {
            // Release objects.
            if (_activeProjectType == MultiUserModeEnum.kVaultMode)
            {
                UnSubscribeEvents();
            }

            _applicationEvents.OnActiveProjectChanged -= ApplicationEvents_OnActiveProjectChanged;

            _userInputEvents       = null;
            _dockableWindowsEvents = null;
            _applicationEvents     = null;

            _vaultAddin = null;

            _myVaultBrowserButton = null;
            _myVaultBrowser       = null;

            _hwndDic = null;
            Hook.Clear();

            Marshal.ReleaseComObject(_inventorApplication);
            _inventorApplication = null;

            GC.Collect();
            GC.WaitForPendingFinalizers();
        }
        void CtrlDef_OnExecute(NameValueMap Context)
        {
            wpfWindow = new PluginWindow(m_inventorApplication, "{880b4435-f9c2-4c5e-b234-d543a20b5c36}");

            // Could be a good idea to set the owner for this window
            // especially if it was modeless as mentioned in this article:
            var helper = new WindowInteropHelper(wpfWindow);

            helper.EnsureHandle();
            //helper.Owner = new IntPtr(m_inventorApplication.MainFrameHWND);
            //wpfWindow.Show();

            var uimanager = m_inventorApplication.UserInterfaceManager;

            //Create window if missing
            if (myDockableWindow == null)
            {
                myDockableWindow = uimanager.DockableWindows.Add("{880b4435-f9c2-4c5e-b234-d543a20b5c36}", "URDF", "URDF converter");
            }

            if (!myDockableWindow.IsCustomized)
            {
                myDockableWindow.DockingState = DockingStateEnum.kFloat;
                myDockableWindow.Move(0, 0, myDockableWindow.Height, myDockableWindow.Width);
            }

            myDockableWindow.AddChild(helper.Handle);

            wpfWindow.Show();
            myDockableWindow.Visible = true;
            //wpfWindow.Show();
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Creates a <see cref="DockableWindow"/> containing all of the components of the SynthesisGUI object
        /// </summary>
        /// <param name="app"></param>
        public static void CreateDockableWindows(Inventor.Application app)
        {
            IntPtr[] children = CreateChildDialog();

            UserInterfaceManager uiMan = app.UserInterfaceManager;

            EmbededJointPane = uiMan.DockableWindows.Add(Guid.NewGuid().ToString(), "BxD:RobotExporter:JointEditor", "Robot Joint Editor");
            EmbededBxDViewer = uiMan.DockableWindows.Add(Guid.NewGuid().ToString(), "BxD:RobotExporter:BxDViewer", "Robot BxD Viewer");


            #region EmbededJointPane
            EmbededJointPane.DockingState           = DockingStateEnum.kDockBottom;
            EmbededJointPane.Height                 = 250;
            EmbededJointPane.ShowVisibilityCheckBox = false;
            EmbededJointPane.ShowTitleBar           = true;
            EmbededJointPane.AddChild(children[0]);
            #endregion

            #region EmbededBxDViewer
            EmbededBxDViewer.DockingState           = DockingStateEnum.kDockRight;
            EmbededBxDViewer.Width                  = uiMan.DockableWindows["model"].Width;
            EmbededBxDViewer.ShowVisibilityCheckBox = false;
            EmbededBxDViewer.ShowTitleBar           = true;
            EmbededBxDViewer.AddChild(children[1]);
            #endregion

            EmbededBxDViewer.Visible = true;
            EmbededJointPane.Visible = true;
        }
Ejemplo n.º 4
0
        void App_Startup(object sender, StartupEventArgs e)
        {
            // Unhandled exception handler
            Application.Current.DispatcherUnhandledException += UnhandledExceptionHandler;

            DockableWindow mainWindow = new DockableWindow();

            mainWindow.Show();
        }
Ejemplo n.º 5
0
        protected override void InitChildren()
        {
            var dockContainer  = new StaticDockContainer();
            var dockableWindow = new DockableWindow();

            dockableWindow.Content = new TableView();
            dockContainer.Items.Add(dockableWindow);
            AddChild(dockContainer);
        }
        public void Activate(Inventor.ApplicationAddInSite addInSiteObject, bool firstTime)
        {
            // Initialize AddIn members.
            m_inventorApplication = addInSiteObject.Application;

            //Create dock able window
            dockableWindow = m_inventorApplication.UserInterfaceManager.DockableWindows.Add(ClientId,
                                                                                            "docable_window.StandardAddInServer.dockableWindow", "Example");
            dockableWindow.ShowVisibilityCheckBox = true;
        }
        protected override void OnClick()
        {
            DockableWindow pDockWin = getDockableWindow() as DockableWindow;

            if (pDockWin == null)
            {
                return;
            }
            pDockWin.Show(!pDockWin.IsVisible());
        }
Ejemplo n.º 8
0
        protected override void OnClick()
        {
            ConfigUtil.type = "gas";
            DockableWindow pDockWin = getDockableWindow() as DockableWindow;

            if (pDockWin == null)
            {
                return;
            }
            pDockWin.Show(!pDockWin.IsVisible());
        }
Ejemplo n.º 9
0
            void DockableWindowsEvents_OnHide(DockableWindow DockableWindow,
                                              EventTimingEnum BeforeOrAfter,
                                              NameValueMap Context,
                                              out HandlingCodeEnum HandlingCode)
            {
                HandlingCode = HandlingCodeEnum.kEventNotHandled;

                if (BeforeOrAfter == EventTimingEnum.kBefore && DockableWindow == dockableWindow)
                {
                }
            }
Ejemplo n.º 10
0
        protected override void OnClick()
        {
            if (DockableWindow == null)
            {
                return;
            }

            DockableWindow.Show(!DockableWindow.IsVisible());

            Checked = DockableWindow.IsVisible();
        }
Ejemplo n.º 11
0
 public void Update()
 {
     if (WindowInDock != null)
     {
         //~ Debug.Log(WindowInDock);
         if (Rect != WindowInDock.WindowRect)
         {
             WindowInDock = null;
             //~ Debug.Log("resetting dock");
         }
     }
 }
Ejemplo n.º 12
0
        private void ActivateDockElement(DockableWindow dockElement, InterfaceActivationEventArgs e)
        {
            if (dockElement.DockSituation != DockSituation.None)
            {
                if (!dockElement.IsOpen)
                {
                    dockElement.Open();
                }

                dockElement.Activate();
                e.Handled = true;
            }
        }
Ejemplo n.º 13
0
        public void SetDockableWindow(string addinCLS)
        {
            UserInterfaceManager oUserInterfaceMgr = invApp.UserInterfaceManager;

            addInCLSIDStr = "{" + addinCLS + "}";

            try
            {
                oWindow = oUserInterfaceMgr.DockableWindows.Add(addInCLSIDStr, "CostEstimatorWindow", "Cost Estimator");
                oWindow.AddChild(CreateChildDialog());
                oWindow.DisabledDockingStates = DockingStateEnum.kDockTop & DockingStateEnum.kDockBottom;
                oWindow.DockingState          = DockingStateEnum.kDockRight;
                oWindow.Visible = true;
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
            void DockableWindowsEvents_OnHide(
                DockableWindow DockableWindow,
                EventTimingEnum BeforeOrAfter,
                NameValueMap Context,
                out HandlingCodeEnum HandlingCode)
            {
                HandlingCode = HandlingCodeEnum.kEventNotHandled;

                if (DockableWindow == dockableWindow)
                {
                    OnVisibilityChangedEventArgs arg =
                        new OnVisibilityChangedEventArgs(
                            BeforeOrAfter,
                            false);

                    _form.OnVisibilityChanged(arg);

                    HandlingCode = arg.HandlingCode;
                }
            }
Ejemplo n.º 15
0
        public void Activate(Inventor.ApplicationAddInSite addInSiteObject, bool firstTime)
        {
            // This method is called by Inventor when it loads the addin.
            // The AddInSiteObject provides access to the Inventor Application object.
            // The FirstTime flag indicates if the addin is loaded for the first time.

            // Initialize AddIn members.
            inventor = addInSiteObject.Application;

            // TODO: Add ApplicationAddInServer.Activate implementation.
            // e.g. event initialization, command creation etc.
            selectionInfoWnd = inventor.UserInterfaceManager.DockableWindows.Add(ClientId,
                                                                                 "SelectionInfo.StandardAddInServer.selectionInfoWnd", "Selection");

            selectionPropertyGrid = new PropertyGrid();
            selectionInfoWnd.AddChild(selectionPropertyGrid.Handle);

            selectionInfoWnd.ShowVisibilityCheckBox = true;

            inventor.CommandManager.UserInputEvents.OnSelect += UserInputEvents_OnSelect;
        }
Ejemplo n.º 16
0
        private void DockableWindowsEvents_OnShow(DockableWindow DockableWindow, EventTimingEnum BeforeOrAfter,
                                                  NameValueMap Context, out HandlingCodeEnum HandlingCode)
        {
            if (DockableWindow == _myVaultBrowser && BeforeOrAfter == EventTimingEnum.kBefore)
            {
                if (_vaultAddin.Activated)
                {
                    var doc = _inventorApplication.ActiveDocument;
                    if (doc != null && _hwndDic.ContainsKey(doc))
                    {
                        UpdateMyVaultBrowser(doc);
                    }

                    _userInputEvents.OnLinearMarkingMenu += UserInputEvents_OnLinearMarkingMenu;
                }
                else
                {
                    UnSubscribeEvents();
                }
            }
            HandlingCode = HandlingCodeEnum.kEventNotHandled;
        }
Ejemplo n.º 17
0
 public virtual void BeginDockableWindowInner(DockableWindow dockableWindow)
 {
 }
Ejemplo n.º 18
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(ArbeitsbereichSteuerelement));
            DockingRules             dockingRules             = new DockingRules();

            this.dockWindowTestBot               = new DockableWindow();
            this.ucBotTest                       = new ucBotTest();
            this.dockWindowSuchen                = new DockableWindow();
            this.SuchSteuerelement               = new Suchen();
            this.dockableWindowExport            = new DockableWindow();
            this.ExportArbeitsbereich            = new Export();
            this.dockableWindowPublish           = new DockableWindow();
            this.PubliziereArbeitsbereich        = new Publizieren();
            this.dockableWindowWorkflow          = new DockableWindow();
            this.ucWorkflowToolbar               = new ucWorkflowToolbar();
            this.ucWorkflowScrollbox             = new ucWorkflowScrollbox();
            this.dockableWindowMostSRAIS         = new DockableWindow();
            this.ucBesteSRAIZiele                = new ucMeisteSRAIs();
            this.sandDockManager                 = new SandDockManager();
            this.dockWindowAIMLDateiListe        = new DockableWindow();
            this.ucProjektAIMLDateien            = new ucAIMLDateiListe();
            this.dockWindowTopicListe            = new DockableWindow();
            this.ucTopicListe                    = new ucTopicListe();
            this.tabbedDocumentGrafischeAnsicht  = new TabbedDocument();
            this.ucXMLToolbar                    = new ucXMLToolbar();
            this.ucXMLEditor                     = new ucCategoryXMLEditor();
            this.documentContainerCategoryEdit   = new DocumentContainer();
            this.tabbedDocumentAIMLQuellcode     = new TabbedDocument();
            this.ucXMLQuellcodeDebugger          = new ucXMLQuellcodeDebugger();
            this.dockWindowCategoryListe         = new DockableWindow();
            this.ucCategoryListe                 = new ucCategoryListe();
            this.dockContainer1                  = new DockContainer();
            this.dockContainer3                  = new DockContainer();
            this.dockWindowXMLInsertElement      = new DockableWindow();
            this.ucXMLAddElement                 = new ucXMLAddElement2();
            this.dockWindowEditXMLAttribute      = new DockableWindow();
            this.ucXMLEditAttributes             = new ucXMLEditAttributes();
            this.dockContainer6                  = new DockContainer();
            this.ucArbeitsbereichToolbar         = new ucArbeitsbereichToolbar();
            this.dockContainerUntenSuchenTestEtc = new DockContainer();
            this.dockWindowTestBot.SuspendLayout();
            this.dockWindowSuchen.SuspendLayout();
            this.dockableWindowExport.SuspendLayout();
            this.dockableWindowPublish.SuspendLayout();
            this.dockableWindowWorkflow.SuspendLayout();
            this.dockableWindowMostSRAIS.SuspendLayout();
            this.dockWindowAIMLDateiListe.SuspendLayout();
            this.dockWindowTopicListe.SuspendLayout();
            this.tabbedDocumentGrafischeAnsicht.SuspendLayout();
            this.documentContainerCategoryEdit.SuspendLayout();
            this.tabbedDocumentAIMLQuellcode.SuspendLayout();
            this.dockWindowCategoryListe.SuspendLayout();
            this.dockContainer1.SuspendLayout();
            this.dockContainer3.SuspendLayout();
            this.dockWindowXMLInsertElement.SuspendLayout();
            this.dockWindowEditXMLAttribute.SuspendLayout();
            this.dockContainer6.SuspendLayout();
            this.dockContainerUntenSuchenTestEtc.SuspendLayout();
            this.SuspendLayout();
            this.dockWindowTestBot.AllowClose = false;
            this.dockWindowTestBot.Controls.Add((Control)this.ucBotTest);
            this.dockWindowTestBot.FloatingSize = new System.Drawing.Size(250, 116);
            this.dockWindowTestBot.Guid         = new Guid("b5e67ccb-f99b-4e45-8e8b-53afe1c26699");
            componentResourceManager.ApplyResources((object)this.dockWindowTestBot, "dockWindowTestBot");
            this.dockWindowTestBot.Name        = "dockWindowTestBot";
            this.dockWindowTestBot.ShowOptions = false;
            this.dockWindowTestBot.TabImage    = (Image)Resources.applications_16;
            componentResourceManager.ApplyResources((object)this.ucBotTest, "ucBotTest");
            this.ucBotTest.Name = "ucBotTest";
            this.dockWindowSuchen.AllowClose = false;
            this.dockWindowSuchen.Controls.Add((Control)this.SuchSteuerelement);
            dockingRules.AllowDockBottom       = true;
            dockingRules.AllowDockLeft         = true;
            dockingRules.AllowDockRight        = true;
            dockingRules.AllowDockTop          = true;
            dockingRules.AllowFloat            = false;
            dockingRules.AllowTab              = false;
            this.dockWindowSuchen.DockingRules = dockingRules;
            this.dockWindowSuchen.FloatingSize = new System.Drawing.Size(450, 400);
            this.dockWindowSuchen.Guid         = new Guid("c2581e6a-d96f-49c2-a2b9-a7b4cd022403");
            componentResourceManager.ApplyResources((object)this.dockWindowSuchen, "dockWindowSuchen");
            this.dockWindowSuchen.Name        = "dockWindowSuchen";
            this.dockWindowSuchen.ShowOptions = false;
            this.dockWindowSuchen.TabImage    = (Image)Resources.BINOCULR;
            componentResourceManager.ApplyResources((object)this.SuchSteuerelement, "SuchSteuerelement");
            this.SuchSteuerelement.Name          = "SuchSteuerelement";
            this.SuchSteuerelement.Titel         = "No search started.: 0 hit(s)";
            this.dockableWindowExport.AllowClose = false;
            this.dockableWindowExport.Controls.Add((Control)this.ExportArbeitsbereich);
            this.dockableWindowExport.Cursor = Cursors.Default;
            this.dockableWindowExport.Guid   = new Guid("4b077e64-38cc-4b5e-a99f-da9b2730f692");
            componentResourceManager.ApplyResources((object)this.dockableWindowExport, "dockableWindowExport");
            this.dockableWindowExport.Name        = "dockableWindowExport";
            this.dockableWindowExport.ShowOptions = false;
            this.dockableWindowExport.TabImage    = (Image)Resources.redo_16;
            componentResourceManager.ApplyResources((object)this.ExportArbeitsbereich, "ExportArbeitsbereich");
            this.ExportArbeitsbereich.Name        = "ExportArbeitsbereich";
            this.dockableWindowPublish.AllowClose = false;
            this.dockableWindowPublish.Controls.Add((Control)this.PubliziereArbeitsbereich);
            this.dockableWindowPublish.Guid = new Guid("cf60f5be-8603-4733-9032-662b0d05c24d");
            componentResourceManager.ApplyResources((object)this.dockableWindowPublish, "dockableWindowPublish");
            this.dockableWindowPublish.Name        = "dockableWindowPublish";
            this.dockableWindowPublish.ShowOptions = false;
            this.dockableWindowPublish.TabImage    = (Image)Resources.Globe;
            componentResourceManager.ApplyResources((object)this.PubliziereArbeitsbereich, "PubliziereArbeitsbereich");
            this.PubliziereArbeitsbereich.Name     = "PubliziereArbeitsbereich";
            this.dockableWindowWorkflow.AllowClose = false;
            this.dockableWindowWorkflow.Controls.Add((Control)this.ucWorkflowToolbar);
            this.dockableWindowWorkflow.Controls.Add((Control)this.ucWorkflowScrollbox);
            this.dockableWindowWorkflow.Guid = new Guid("50ef7a81-ad45-4994-881e-e423baee0104");
            componentResourceManager.ApplyResources((object)this.dockableWindowWorkflow, "dockableWindowWorkflow");
            this.dockableWindowWorkflow.Name        = "dockableWindowWorkflow";
            this.dockableWindowWorkflow.ShowOptions = false;
            this.dockableWindowWorkflow.TabImage    = (Image)Resources.GRAPH14;
            componentResourceManager.ApplyResources((object)this.ucWorkflowToolbar, "ucWorkflowToolbar");
            this.ucWorkflowToolbar.Name = "ucWorkflowToolbar";
            componentResourceManager.ApplyResources((object)this.ucWorkflowScrollbox, "ucWorkflowScrollbox");
            this.ucWorkflowScrollbox.BackColor      = Color.White;
            this.ucWorkflowScrollbox.Category       = (AIMLCategory)null;
            this.ucWorkflowScrollbox.Name           = "ucWorkflowScrollbox";
            this.dockableWindowMostSRAIS.AllowClose = false;
            this.dockableWindowMostSRAIS.Controls.Add((Control)this.ucBesteSRAIZiele);
            this.dockableWindowMostSRAIS.Guid = new Guid("668e99cf-2422-41cf-9838-70d0007347a7");
            componentResourceManager.ApplyResources((object)this.dockableWindowMostSRAIS, "dockableWindowMostSRAIS");
            this.dockableWindowMostSRAIS.Name        = "dockableWindowMostSRAIS";
            this.dockableWindowMostSRAIS.ShowOptions = false;
            componentResourceManager.ApplyResources((object)this.ucBesteSRAIZiele, "ucBesteSRAIZiele");
            this.ucBesteSRAIZiele.Name = "ucBesteSRAIZiele";
            this.sandDockManager.DockSystemContainer = (Control)this;
            this.sandDockManager.OwnerForm           = (Form)null;
            this.dockWindowAIMLDateiListe.AllowClose = false;
            this.dockWindowAIMLDateiListe.Controls.Add((Control)this.ucProjektAIMLDateien);
            this.dockWindowAIMLDateiListe.Guid = new Guid("51cde5d8-7920-4b1a-86aa-f14518ee0e47");
            componentResourceManager.ApplyResources((object)this.dockWindowAIMLDateiListe, "dockWindowAIMLDateiListe");
            this.dockWindowAIMLDateiListe.Name        = "dockWindowAIMLDateiListe";
            this.dockWindowAIMLDateiListe.ShowOptions = false;
            this.ucProjektAIMLDateien.BackColor       = SystemColors.Control;
            componentResourceManager.ApplyResources((object)this.ucProjektAIMLDateien, "ucProjektAIMLDateien");
            this.ucProjektAIMLDateien.Name       = "ucProjektAIMLDateien";
            this.dockWindowTopicListe.AllowClose = false;
            this.dockWindowTopicListe.Controls.Add((Control)this.ucTopicListe);
            this.dockWindowTopicListe.Guid = new Guid("ea5081bf-2f8a-4752-b387-ec19f8831882");
            componentResourceManager.ApplyResources((object)this.dockWindowTopicListe, "dockWindowTopicListe");
            this.dockWindowTopicListe.Name        = "dockWindowTopicListe";
            this.dockWindowTopicListe.ShowOptions = false;
            componentResourceManager.ApplyResources((object)this.ucTopicListe, "ucTopicListe");
            this.ucTopicListe.Name = "ucTopicListe";
            this.tabbedDocumentGrafischeAnsicht.AllowClose = false;
            this.tabbedDocumentGrafischeAnsicht.BackColor  = Color.White;
            this.tabbedDocumentGrafischeAnsicht.Controls.Add((Control)this.ucXMLToolbar);
            this.tabbedDocumentGrafischeAnsicht.Controls.Add((Control)this.ucXMLEditor);
            this.tabbedDocumentGrafischeAnsicht.FloatingSize = new System.Drawing.Size(550, 400);
            this.tabbedDocumentGrafischeAnsicht.Guid         = new Guid("dd4dda3d-4da1-4a08-8187-813737830be1");
            componentResourceManager.ApplyResources((object)this.tabbedDocumentGrafischeAnsicht, "tabbedDocumentGrafischeAnsicht");
            this.tabbedDocumentGrafischeAnsicht.Name    = "tabbedDocumentGrafischeAnsicht";
            this.tabbedDocumentGrafischeAnsicht.Resize += new EventHandler(this.tabbedDocumentGrafischeAnsicht_Resize);
            componentResourceManager.ApplyResources((object)this.ucXMLToolbar, "ucXMLToolbar");
            this.ucXMLToolbar.Name = "ucXMLToolbar";
            componentResourceManager.ApplyResources((object)this.ucXMLEditor, "ucXMLEditor");
            this.ucXMLEditor.BackColor = Color.White;
            this.ucXMLEditor.ForeColor = SystemColors.Control;
            this.ucXMLEditor.Name      = "ucXMLEditor";
            this.documentContainerCategoryEdit.ContentSize = 400;
            this.documentContainerCategoryEdit.Controls.Add((Control)this.tabbedDocumentGrafischeAnsicht);
            this.documentContainerCategoryEdit.Controls.Add((Control)this.tabbedDocumentAIMLQuellcode);
            this.documentContainerCategoryEdit.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Horizontal, new LayoutSystemBase[1]
            {
                (LayoutSystemBase) new DocumentLayoutSystem(new SizeF(281f, 150f), new DockControl[2]
                {
                    (DockControl)this.tabbedDocumentGrafischeAnsicht,
                    (DockControl)this.tabbedDocumentAIMLQuellcode
                }, (DockControl)this.tabbedDocumentGrafischeAnsicht)
            });
            componentResourceManager.ApplyResources((object)this.documentContainerCategoryEdit, "documentContainerCategoryEdit");
            this.documentContainerCategoryEdit.Manager  = this.sandDockManager;
            this.documentContainerCategoryEdit.Name     = "documentContainerCategoryEdit";
            this.tabbedDocumentAIMLQuellcode.AllowClose = false;
            this.tabbedDocumentAIMLQuellcode.BackColor  = Color.White;
            this.tabbedDocumentAIMLQuellcode.Controls.Add((Control)this.ucXMLQuellcodeDebugger);
            this.tabbedDocumentAIMLQuellcode.FloatingSize = new System.Drawing.Size(550, 400);
            this.tabbedDocumentAIMLQuellcode.Guid         = new Guid("ee004c2a-1eda-45f3-aa57-bfd00714eb65");
            componentResourceManager.ApplyResources((object)this.tabbedDocumentAIMLQuellcode, "tabbedDocumentAIMLQuellcode");
            this.tabbedDocumentAIMLQuellcode.Name = "tabbedDocumentAIMLQuellcode";
            this.ucXMLQuellcodeDebugger.BackColor = SystemColors.Control;
            componentResourceManager.ApplyResources((object)this.ucXMLQuellcodeDebugger, "ucXMLQuellcodeDebugger");
            this.ucXMLQuellcodeDebugger.Name        = "ucXMLQuellcodeDebugger";
            this.dockWindowCategoryListe.AllowClose = false;
            this.dockWindowCategoryListe.Controls.Add((Control)this.ucCategoryListe);
            this.dockWindowCategoryListe.Guid = new Guid("71593c02-4597-41dc-8df3-eff7d26bacc2");
            componentResourceManager.ApplyResources((object)this.dockWindowCategoryListe, "dockWindowCategoryListe");
            this.dockWindowCategoryListe.Name        = "dockWindowCategoryListe";
            this.dockWindowCategoryListe.ShowOptions = false;
            componentResourceManager.ApplyResources((object)this.ucCategoryListe, "ucCategoryListe");
            this.ucCategoryListe.Name       = "ucCategoryListe";
            this.dockContainer1.ContentSize = 400;
            this.dockContainer1.Controls.Add((Control)this.dockWindowCategoryListe);
            componentResourceManager.ApplyResources((object)this.dockContainer1, "dockContainer1");
            this.dockContainer1.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Vertical, new LayoutSystemBase[1]
            {
                (LayoutSystemBase) new ControlLayoutSystem(new SizeF(283f, 272f), new DockControl[1]
                {
                    (DockControl)this.dockWindowCategoryListe
                }, (DockControl)this.dockWindowCategoryListe)
            });
            this.dockContainer1.Manager     = this.sandDockManager;
            this.dockContainer1.Name        = "dockContainer1";
            this.dockContainer3.ContentSize = 250;
            this.dockContainer3.Controls.Add((Control)this.dockWindowXMLInsertElement);
            this.dockContainer3.Controls.Add((Control)this.dockWindowEditXMLAttribute);
            componentResourceManager.ApplyResources((object)this.dockContainer3, "dockContainer3");
            this.dockContainer3.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Horizontal, new LayoutSystemBase[2]
            {
                (LayoutSystemBase) new ControlLayoutSystem(new SizeF(164f, 311f), new DockControl[1]
                {
                    (DockControl)this.dockWindowXMLInsertElement
                }, (DockControl)this.dockWindowXMLInsertElement),
                (LayoutSystemBase) new ControlLayoutSystem(new SizeF(164f, 114f), new DockControl[1]
                {
                    (DockControl)this.dockWindowEditXMLAttribute
                }, (DockControl)this.dockWindowEditXMLAttribute)
            });
            this.dockContainer3.Manager = this.sandDockManager;
            this.dockContainer3.Name    = "dockContainer3";
            this.dockWindowXMLInsertElement.AllowClose = false;
            this.dockWindowXMLInsertElement.Controls.Add((Control)this.ucXMLAddElement);
            this.dockWindowXMLInsertElement.Guid = new Guid("537d1bfb-ec52-421e-844c-230c301c3825");
            componentResourceManager.ApplyResources((object)this.dockWindowXMLInsertElement, "dockWindowXMLInsertElement");
            this.dockWindowXMLInsertElement.Name        = "dockWindowXMLInsertElement";
            this.dockWindowXMLInsertElement.ShowOptions = false;
            componentResourceManager.ApplyResources((object)this.ucXMLAddElement, "ucXMLAddElement");
            this.ucXMLAddElement.Name = "ucXMLAddElement";
            this.dockWindowEditXMLAttribute.AllowClose = false;
            this.dockWindowEditXMLAttribute.Controls.Add((Control)this.ucXMLEditAttributes);
            this.dockWindowEditXMLAttribute.Guid = new Guid("89e6e7ee-6ca5-4907-a2aa-fd2748ae354e");
            componentResourceManager.ApplyResources((object)this.dockWindowEditXMLAttribute, "dockWindowEditXMLAttribute");
            this.dockWindowEditXMLAttribute.Name        = "dockWindowEditXMLAttribute";
            this.dockWindowEditXMLAttribute.ShowOptions = false;
            componentResourceManager.ApplyResources((object)this.ucXMLEditAttributes, "ucXMLEditAttributes");
            this.ucXMLEditAttributes.Name   = "ucXMLEditAttributes";
            this.dockContainer6.ContentSize = 250;
            this.dockContainer6.Controls.Add((Control)this.dockWindowAIMLDateiListe);
            this.dockContainer6.Controls.Add((Control)this.dockWindowTopicListe);
            componentResourceManager.ApplyResources((object)this.dockContainer6, "dockContainer6");
            this.dockContainer6.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Horizontal, new LayoutSystemBase[2]
            {
                (LayoutSystemBase) new ControlLayoutSystem(new SizeF(225f, 280f), new DockControl[1]
                {
                    (DockControl)this.dockWindowAIMLDateiListe
                }, (DockControl)this.dockWindowAIMLDateiListe),
                (LayoutSystemBase) new ControlLayoutSystem(new SizeF(225f, 145f), new DockControl[1]
                {
                    (DockControl)this.dockWindowTopicListe
                }, (DockControl)this.dockWindowTopicListe)
            });
            this.dockContainer6.Manager = this.sandDockManager;
            this.dockContainer6.Name    = "dockContainer6";
            componentResourceManager.ApplyResources((object)this.ucArbeitsbereichToolbar, "ucArbeitsbereichToolbar");
            this.ucArbeitsbereichToolbar.Name = "ucArbeitsbereichToolbar";
            this.dockContainerUntenSuchenTestEtc.ContentSize = 176;
            this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockWindowTestBot);
            this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockWindowSuchen);
            this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockableWindowExport);
            this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockableWindowPublish);
            this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockableWindowWorkflow);
            this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockableWindowMostSRAIS);
            componentResourceManager.ApplyResources((object)this.dockContainerUntenSuchenTestEtc, "dockContainerUntenSuchenTestEtc");
            this.dockContainerUntenSuchenTestEtc.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Vertical, new LayoutSystemBase[2]
            {
                (LayoutSystemBase) new ControlLayoutSystem(new SizeF(309.3716f, 100f), new DockControl[4]
                {
                    (DockControl)this.dockWindowTestBot,
                    (DockControl)this.dockWindowSuchen,
                    (DockControl)this.dockableWindowExport,
                    (DockControl)this.dockableWindowPublish
                }, (DockControl)this.dockWindowTestBot),
                (LayoutSystemBase) new ControlLayoutSystem(new SizeF(366.6284f, 100f), new DockControl[2]
                {
                    (DockControl)this.dockableWindowWorkflow,
                    (DockControl)this.dockableWindowMostSRAIS
                }, (DockControl)this.dockableWindowWorkflow)
            });
            this.dockContainerUntenSuchenTestEtc.Manager = this.sandDockManager;
            this.dockContainerUntenSuchenTestEtc.Name    = "dockContainerUntenSuchenTestEtc";
            componentResourceManager.ApplyResources((object)this, "$this");
            this.AutoScaleMode = AutoScaleMode.Font;
            this.Controls.Add((Control)this.documentContainerCategoryEdit);
            this.Controls.Add((Control)this.dockContainer1);
            this.Controls.Add((Control)this.dockContainer3);
            this.Controls.Add((Control)this.dockContainer6);
            this.Controls.Add((Control)this.ucArbeitsbereichToolbar);
            this.Controls.Add((Control)this.dockContainerUntenSuchenTestEtc);
            this.Cursor = Cursors.WaitCursor;
            this.Name   = nameof(ArbeitsbereichSteuerelement);
            this.dockWindowTestBot.ResumeLayout(false);
            this.dockWindowSuchen.ResumeLayout(false);
            this.dockableWindowExport.ResumeLayout(false);
            this.dockableWindowPublish.ResumeLayout(false);
            this.dockableWindowWorkflow.ResumeLayout(false);
            this.dockableWindowMostSRAIS.ResumeLayout(false);
            this.dockWindowAIMLDateiListe.ResumeLayout(false);
            this.dockWindowTopicListe.ResumeLayout(false);
            this.tabbedDocumentGrafischeAnsicht.ResumeLayout(false);
            this.documentContainerCategoryEdit.ResumeLayout(false);
            this.tabbedDocumentAIMLQuellcode.ResumeLayout(false);
            this.dockWindowCategoryListe.ResumeLayout(false);
            this.dockContainer1.ResumeLayout(false);
            this.dockContainer3.ResumeLayout(false);
            this.dockWindowXMLInsertElement.ResumeLayout(false);
            this.dockWindowEditXMLAttribute.ResumeLayout(false);
            this.dockContainer6.ResumeLayout(false);
            this.dockContainerUntenSuchenTestEtc.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Ejemplo n.º 19
0
 private void DockableWindowsEvents_OnShow(DockableWindow DockableWindow, EventTimingEnum BeforeOrAfter,
     NameValueMap Context, out HandlingCodeEnum HandlingCode)
 {
     Debug.WriteLine("DockableWindowsEvents_OnShow");
     if (DockableWindow == _myVaultBrowser && BeforeOrAfter == EventTimingEnum.kBefore)
     {
         if (_vaultAddin.Activated)
         {
             var doc = _inventorApplication.ActiveDocument;
             if (doc != null && _hwndDic.ContainsKey(doc))
                 UpdateMyVaultBrowser(doc);
         }
         else
         {
             UnSubscribeEvents();
         }
     }
     HandlingCode = HandlingCodeEnum.kEventNotHandled;
 }
Ejemplo n.º 20
0
        private void InitializeComponent()
        {
            this.components = (IContainer) new Container();
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmMain));

            this.sandDockManager          = new SandDockManager();
            this.mainMenu                 = new MainMenu(this.components);
            this.mnuProgramm              = new MenuItem();
            this.mnuProgrammBeenden       = new MenuItem();
            this.mnuAnsicht               = new MenuItem();
            this.mnuDebugger              = new MenuItem();
            this.mnuHilfe                 = new MenuItem();
            this.mnuHandbuch              = new MenuItem();
            this.mnuHomepage              = new MenuItem();
            this.menuItem3                = new MenuItem();
            this.mnuInfo                  = new MenuItem();
            this.tabbedDocumentStartseite = new TabbedDocument();
            this.startseite               = new Startseite();
            this.documentContainer        = new DocumentContainer();
            this.dockableWindowDebug      = new DockableWindow();
            this.txtDebuggerAusgabe       = new TextBox();
            this.dockContainer1           = new DockContainer();
            this.tabbedDocumentStartseite.SuspendLayout();
            this.documentContainer.SuspendLayout();
            this.dockableWindowDebug.SuspendLayout();
            this.dockContainer1.SuspendLayout();
            this.SuspendLayout();
            this.sandDockManager.DockSystemContainer = (Control)this;
            this.sandDockManager.OwnerForm           = (Form)this;
            this.mainMenu.MenuItems.AddRange(new MenuItem[3]
            {
                this.mnuProgramm,
                this.mnuAnsicht,
                this.mnuHilfe
            });
            this.mnuProgramm.Index = 0;
            this.mnuProgramm.MenuItems.AddRange(new MenuItem[1]
            {
                this.mnuProgrammBeenden
            });
            componentResourceManager.ApplyResources((object)this.mnuProgramm, "mnuProgramm");
            this.mnuProgrammBeenden.Index = 0;
            componentResourceManager.ApplyResources((object)this.mnuProgrammBeenden, "mnuProgrammBeenden");
            this.mnuProgrammBeenden.Click += new EventHandler(this.mnuProgrammBeenden_Click);
            this.mnuAnsicht.Index          = 1;
            this.mnuAnsicht.MenuItems.AddRange(new MenuItem[1]
            {
                this.mnuDebugger
            });
            componentResourceManager.ApplyResources((object)this.mnuAnsicht, "mnuAnsicht");
            this.mnuDebugger.Index = 0;
            componentResourceManager.ApplyResources((object)this.mnuDebugger, "mnuDebugger");
            this.mnuDebugger.Click += new EventHandler(this.mnuDebugger_Click_1);
            this.mnuHilfe.Index     = 2;
            this.mnuHilfe.MenuItems.AddRange(new MenuItem[4]
            {
                this.mnuHandbuch,
                this.mnuHomepage,
                this.menuItem3,
                this.mnuInfo
            });
            componentResourceManager.ApplyResources((object)this.mnuHilfe, "mnuHilfe");
            this.mnuHandbuch.Index = 0;
            componentResourceManager.ApplyResources((object)this.mnuHandbuch, "mnuHandbuch");
            this.mnuHandbuch.Click += new EventHandler(this.mnuHandbuch_Click);
            this.mnuHomepage.Index  = 1;
            componentResourceManager.ApplyResources((object)this.mnuHomepage, "mnuHomepage");
            this.mnuHomepage.Click += new EventHandler(this.mnuHomepage_Click);
            this.menuItem3.Index    = 2;
            componentResourceManager.ApplyResources((object)this.menuItem3, "menuItem3");
            this.mnuInfo.Index = 3;
            componentResourceManager.ApplyResources((object)this.mnuInfo, "mnuInfo");
            this.mnuInfo.Click += new EventHandler(this.mnuInfo_Click);
            this.tabbedDocumentStartseite.AllowClose    = false;
            this.tabbedDocumentStartseite.AllowCollapse = false;
            this.tabbedDocumentStartseite.Controls.Add((Control)this.startseite);
            this.tabbedDocumentStartseite.FloatingSize = new System.Drawing.Size(550, 400);
            this.tabbedDocumentStartseite.Guid         = new Guid("9ee7f539-b109-4417-80cb-02aa6c3c738d");
            componentResourceManager.ApplyResources((object)this.tabbedDocumentStartseite, "tabbedDocumentStartseite");
            this.tabbedDocumentStartseite.Name        = "tabbedDocumentStartseite";
            this.tabbedDocumentStartseite.ShowOptions = false;
            this.startseite.BackColor = Color.FromArgb(192, 192, (int)byte.MaxValue);
            componentResourceManager.ApplyResources((object)this.startseite, "startseite");
            this.startseite.Name = "startseite";
            this.documentContainer.ContentSize = 400;
            this.documentContainer.Controls.Add((Control)this.tabbedDocumentStartseite);
            this.documentContainer.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Horizontal, new LayoutSystemBase[1]
            {
                (LayoutSystemBase) new DocumentLayoutSystem(new SizeF(763f, 388f), new DockControl[1]
                {
                    (DockControl)this.tabbedDocumentStartseite
                }, (DockControl)this.tabbedDocumentStartseite)
            });
            componentResourceManager.ApplyResources((object)this.documentContainer, "documentContainer");
            this.documentContainer.Manager = this.sandDockManager;
            this.documentContainer.Name    = "documentContainer";
            this.dockableWindowDebug.Controls.Add((Control)this.txtDebuggerAusgabe);
            this.dockableWindowDebug.Guid = new Guid("8098dec4-2a99-4d25-86aa-a35f31fa49d6");
            componentResourceManager.ApplyResources((object)this.dockableWindowDebug, "dockableWindowDebug");
            this.dockableWindowDebug.Name         = "dockableWindowDebug";
            this.txtDebuggerAusgabe.AcceptsReturn = true;
            this.txtDebuggerAusgabe.AcceptsTab    = true;
            this.txtDebuggerAusgabe.BorderStyle   = BorderStyle.None;
            this.txtDebuggerAusgabe.Cursor        = Cursors.IBeam;
            componentResourceManager.ApplyResources((object)this.txtDebuggerAusgabe, "txtDebuggerAusgabe");
            this.txtDebuggerAusgabe.Name    = "txtDebuggerAusgabe";
            this.dockContainer1.ContentSize = 400;
            this.dockContainer1.Controls.Add((Control)this.dockableWindowDebug);
            componentResourceManager.ApplyResources((object)this.dockContainer1, "dockContainer1");
            this.dockContainer1.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Vertical, new LayoutSystemBase[1]
            {
                (LayoutSystemBase) new ControlLayoutSystem(new SizeF(765f, (float)sbyte.MaxValue), new DockControl[1]
                {
                    (DockControl)this.dockableWindowDebug
                }, (DockControl)this.dockableWindowDebug)
            });
            this.dockContainer1.Manager = this.sandDockManager;
            this.dockContainer1.Name    = "dockContainer1";
            componentResourceManager.ApplyResources((object)this, "$this");
            this.BackColor = Color.DodgerBlue;
            this.Controls.Add((Control)this.documentContainer);
            this.Controls.Add((Control)this.dockContainer1);
            this.Menu        = this.mainMenu;
            this.Name        = nameof(frmMain);
            this.WindowState = FormWindowState.Maximized;
            this.Load       += new EventHandler(this.frmMain_Load);
            this.tabbedDocumentStartseite.ResumeLayout(false);
            this.documentContainer.ResumeLayout(false);
            this.dockableWindowDebug.ResumeLayout(false);
            this.dockableWindowDebug.PerformLayout();
            this.dockContainer1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Ejemplo n.º 21
0
            void DockableWindowsEvents_OnHide(DockableWindow DockableWindow,
                EventTimingEnum BeforeOrAfter,
                NameValueMap Context,
                out HandlingCodeEnum HandlingCode)
            {
                HandlingCode = HandlingCodeEnum.kEventNotHandled;

                if (BeforeOrAfter == EventTimingEnum.kBefore && DockableWindow == dockableWindow)
                {
                   
                }
            }
Ejemplo n.º 22
0
        public void Activate(ApplicationAddInSite addInSiteObject, bool firstTime)
        {
            // This method is called by Inventor when it loads the addin.
            // The AddInSiteObject provides access to the Inventor Application object.
            // The FirstTime flag indicates if the addin is loaded for the first time.

            // Initialize AddIn members.
            _inventorApplication = addInSiteObject.Application;

            try
            {
                _vaultAddin = _inventorApplication.ApplicationAddIns.ItemById["{48b682bc-42e6-4953-84c5-3d253b52e77b}"];
            }
            catch
            {
                MessageBox.Show(Resources.VaultAddinNotFound, @"MyVaultBrowser", MessageBoxButtons.OK,
                    MessageBoxIcon.Error);
                throw;
            }

            _applicationEvents = _inventorApplication.ApplicationEvents;
            _dockableWindowsEvents = _inventorApplication.UserInterfaceManager.DockableWindows.Events;
            _userInterfaceEvents = _inventorApplication.UserInterfaceManager.UserInterfaceEvents;

            _activeProjectType = _inventorApplication.DesignProjectManager.ActiveDesignProject.ProjectType;

            _hwndDic = new Dictionary<Document, IntPtr>();
            Hook.Initialize(this);

            _myVaultBrowser =
                _inventorApplication.UserInterfaceManager.DockableWindows.Add("{ffbbb57a-07f3-4d5c-97b0-e8e302247c7a}",
                    "myvaultbrowser", "MyVaultBrowser");
            _myVaultBrowser.Title = "Vault";
            _myVaultBrowser.ShowTitleBar = true;
            _myVaultBrowser.DisabledDockingStates = DockingStateEnum.kDockBottom | DockingStateEnum.kDockTop;
            _myVaultBrowser.SetMinimumSize(200, 150);

            SetShortCut();

            if (!_myVaultBrowser.IsCustomized)
            {
                _myVaultBrowser.DockingState = DockingStateEnum.kDockRight;
                _myVaultBrowser.Visible = true;
            }

            _applicationEvents.OnActiveProjectChanged += ApplicationEvents_OnActiveProjectChanged;
            _userInterfaceEvents.OnResetShortcuts += UserInterfaceEvents_OnResetShortcuts;

            if (_inventorApplication.Ready)
            {
                if (_activeProjectType == MultiUserModeEnum.kVaultMode)
                    TryLoadVaultAddin();
            }
            else
                _applicationEvents.OnReady += ApplicationEvents_OnReady;

        }
Ejemplo n.º 23
0
        public void Deactivate()
        {
            // Release objects.
            if (_activeProjectType == MultiUserModeEnum.kVaultMode)
                UnSubscribeEvents();
            _applicationEvents.OnActiveProjectChanged -= ApplicationEvents_OnActiveProjectChanged;
            _userInterfaceEvents.OnResetShortcuts -= UserInterfaceEvents_OnResetShortcuts;

            _userInterfaceEvents = null;
            _dockableWindowsEvents = null;
            _applicationEvents = null;

            _vaultAddin = null;

            _myVaultBrowser = null;

            _hwndDic = null;
            Hook.Clear();

            Marshal.ReleaseComObject(_inventorApplication);
            _inventorApplication = null;

            GC.Collect();
            GC.WaitForPendingFinalizers();
        }
Ejemplo n.º 24
0
        public void Activate(ApplicationAddInSite addInSiteObject, bool firstTime)
        {
            // This method is called by Inventor when it loads the addin.
            // The AddInSiteObject provides access to the Inventor Application object.
            // The FirstTime flag indicates if the addin is loaded for the first time.

            // Initialize AddIn members.
            _inventorApplication = addInSiteObject.Application;

            try
            {
                _vaultAddin = _inventorApplication.ApplicationAddIns.ItemById["{48b682bc-42e6-4953-84c5-3d253b52e77b}"];
            }
            catch
            {
                MessageBox.Show(Resources.VaultAddinNotFound, @"MyVaultBrowser", MessageBoxButtons.OK,
                                MessageBoxIcon.Error);
                throw;
            }

            _applicationEvents     = _inventorApplication.ApplicationEvents;
            _dockableWindowsEvents = _inventorApplication.UserInterfaceManager.DockableWindows.Events;
            _userInputEvents       = _inventorApplication.CommandManager.UserInputEvents;

            _activeProjectType = _inventorApplication.DesignProjectManager.ActiveDesignProject.ProjectType;

            _hwndDic = new Dictionary <Document, IntPtr>();
            Hook.Initialize(this);

            _myVaultBrowser =
                _inventorApplication.UserInterfaceManager.DockableWindows.Add("{ffbbb57a-07f3-4d5c-97b0-e8e302247c7a}",
                                                                              "myvaultbrowser", "MyVaultBrowser");
            _myVaultBrowser.Title                 = "Vault";
            _myVaultBrowser.ShowTitleBar          = true;
            _myVaultBrowser.DisabledDockingStates = DockingStateEnum.kDockBottom | DockingStateEnum.kDockTop;
            _myVaultBrowser.SetMinimumSize(200, 150);

            _myVaultBrowserButton = _inventorApplication.CommandManager.ControlDefinitions.AddButtonDefinition(
                "MyVaultBrowser", "myvaultbrowserbutton", CommandTypesEnum.kQueryOnlyCmdType, "{ffbbb57a-07f3-4d5c-97b0-e8e302247c7a}",
                "Toggle MyVaultBrowser", "", "", "", ButtonDisplayEnum.kNoTextWithIcon);
            _myVaultBrowserButton.OnExecute += _myVaultBrowserButton_OnExecute;

            if (!_myVaultBrowser.IsCustomized)
            {
                _myVaultBrowser.DockingState = DockingStateEnum.kDockRight;
                _myVaultBrowser.Visible      = true;
            }

            _applicationEvents.OnActiveProjectChanged += ApplicationEvents_OnActiveProjectChanged;

            if (_inventorApplication.Ready)
            {
                if (_activeProjectType == MultiUserModeEnum.kVaultMode)
                {
                    TryLoadVaultAddin();
                }
            }
            else
            {
                _applicationEvents.OnReady += ApplicationEvents_OnReady;
            }
        }
Ejemplo n.º 25
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components               = new System.ComponentModel.Container();
     this.menuBarItem1             = new TD.SandBar.MenuBarItem();
     this.menuBarItem2             = new TD.SandBar.MenuBarItem();
     this.menuBarItem3             = new TD.SandBar.MenuBarItem();
     this.menuBarItem4             = new TD.SandBar.MenuBarItem();
     this.menuBarItem5             = new TD.SandBar.MenuBarItem();
     this.sandDockManager          = new TD.SandDock.SandDockManager();
     this.leftSandDock             = new TD.SandDock.DockContainer();
     this.rightSandDock            = new TD.SandDock.DockContainer();
     this.dockElementInsert        = new TD.SandDock.DockableWindow();
     this.elementInsertPanel       = new XEditNet.Widgets.ElementInsertPanel();
     this.dockElementChange        = new TD.SandDock.DockableWindow();
     this.elementChangePanel       = new XEditNet.Widgets.ElementChangePanel();
     this.dockAttributes           = new TD.SandDock.DockableWindow();
     this.attributeChangePanel     = new XEditNet.Widgets.AttributeChangePanel();
     this.bottomSandDock           = new TD.SandDock.DockContainer();
     this.topSandDock              = new TD.SandDock.DockContainer();
     this.menuBar1                 = new TD.SandBar.MenuBar();
     this.menuBarItem6             = new TD.SandBar.MenuBarItem();
     this.menuFileSave             = new TD.SandBar.MenuButtonItem();
     this.menuButtonItem1          = new TD.SandBar.MenuButtonItem();
     this.menuBarItem7             = new TD.SandBar.MenuBarItem();
     this.menuButtonItem2          = new TD.SandBar.MenuButtonItem();
     this.menuBarItem8             = new TD.SandBar.MenuBarItem();
     this.menuButtonItem3          = new TD.SandBar.MenuButtonItem();
     this.toolBar1                 = new TD.SandBar.ToolBar();
     this.toolBar2                 = new TD.SandBar.ToolBar();
     this.buttonItem1              = new TD.SandBar.ButtonItem();
     this.quickFixBar              = new TD.SandBar.ContainerBar();
     this.containerBarClientPanel1 = new TD.SandBar.ContainerBarClientPanel();
     this.quickFixPanel            = new XEditNet.Widgets.QuickFixPanel();
     this.quickFixImageList        = new System.Windows.Forms.ImageList(this.components);
     this.quickFixPreceeding       = new TD.SandBar.ButtonItem();
     this.quickFixFollowing        = new TD.SandBar.ButtonItem();
     this.commandImageList         = new System.Windows.Forms.ImageList(this.components);
     this.rightSandDock.SuspendLayout();
     this.dockElementInsert.SuspendLayout();
     this.dockElementChange.SuspendLayout();
     this.dockAttributes.SuspendLayout();
     this.quickFixBar.SuspendLayout();
     this.containerBarClientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // menuBarItem1
     //
     this.menuBarItem1.Text = "&File";
     //
     // menuBarItem2
     //
     this.menuBarItem2.Text = "&Edit";
     //
     // menuBarItem3
     //
     this.menuBarItem3.Text = "&View";
     //
     // menuBarItem4
     //
     this.menuBarItem4.MdiWindowList = true;
     this.menuBarItem4.Text          = "&Window";
     //
     // menuBarItem5
     //
     this.menuBarItem5.Text = "&Help";
     //
     // sandDockManager
     //
     this.sandDockManager.OwnerForm = this;
     this.sandDockManager.Renderer  = new TD.SandDock.Rendering.Office2003Renderer();
     //
     // leftSandDock
     //
     this.leftSandDock.Dock         = System.Windows.Forms.DockStyle.Left;
     this.leftSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.leftSandDock.Location     = new System.Drawing.Point(0, 22);
     this.leftSandDock.Manager      = this.sandDockManager;
     this.leftSandDock.Name         = "leftSandDock";
     this.leftSandDock.Size         = new System.Drawing.Size(0, 480);
     this.leftSandDock.TabIndex     = 0;
     //
     // rightSandDock
     //
     this.rightSandDock.Controls.Add(this.dockElementInsert);
     this.rightSandDock.Controls.Add(this.dockElementChange);
     this.rightSandDock.Controls.Add(this.dockAttributes);
     this.rightSandDock.Dock         = System.Windows.Forms.DockStyle.Right;
     this.rightSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] {
         new TD.SandDock.ControlLayoutSystem(212, 238, new TD.SandDock.DockableWindow[] {
             this.dockElementInsert,
             this.dockElementChange
         }, this.dockElementInsert),
         new TD.SandDock.ControlLayoutSystem(212, 238, new TD.SandDock.DockableWindow[] {
             this.dockAttributes
         }, this.dockAttributes)
     });
     this.rightSandDock.Location = new System.Drawing.Point(600, 22);
     this.rightSandDock.Manager  = this.sandDockManager;
     this.rightSandDock.Name     = "rightSandDock";
     this.rightSandDock.Size     = new System.Drawing.Size(216, 480);
     this.rightSandDock.TabIndex = 1;
     //
     // dockElementInsert
     //
     this.dockElementInsert.Controls.Add(this.elementInsertPanel);
     this.dockElementInsert.Guid     = new System.Guid("63fe64f8-5444-45cb-b17d-17f8baf0c91d");
     this.dockElementInsert.Location = new System.Drawing.Point(4, 25);
     this.dockElementInsert.Name     = "dockElementInsert";
     this.dockElementInsert.Size     = new System.Drawing.Size(212, 190);
     this.dockElementInsert.TabIndex = 1;
     this.dockElementInsert.Text     = "Insert";
     //
     // elementInsertPanel
     //
     this.elementInsertPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.elementInsertPanel.Location = new System.Drawing.Point(0, 0);
     this.elementInsertPanel.Name     = "elementInsertPanel";
     this.elementInsertPanel.Size     = new System.Drawing.Size(212, 190);
     this.elementInsertPanel.TabIndex = 0;
     //
     // dockElementChange
     //
     this.dockElementChange.Controls.Add(this.elementChangePanel);
     this.dockElementChange.Guid     = new System.Guid("cb2f6fbf-41de-4588-a08b-f4f00d505fa7");
     this.dockElementChange.Location = new System.Drawing.Point(4, 25);
     this.dockElementChange.Name     = "dockElementChange";
     this.dockElementChange.Size     = new System.Drawing.Size(212, 190);
     this.dockElementChange.TabIndex = 1;
     this.dockElementChange.Text     = "Change";
     //
     // elementChangePanel
     //
     this.elementChangePanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.elementChangePanel.Location = new System.Drawing.Point(0, 0);
     this.elementChangePanel.Name     = "elementChangePanel";
     this.elementChangePanel.Size     = new System.Drawing.Size(212, 190);
     this.elementChangePanel.TabIndex = 0;
     //
     // dockAttributes
     //
     this.dockAttributes.Controls.Add(this.attributeChangePanel);
     this.dockAttributes.Guid     = new System.Guid("7a4f064f-d569-4ab2-8133-ca0b6b8c4151");
     this.dockAttributes.Location = new System.Drawing.Point(4, 267);
     this.dockAttributes.Name     = "dockAttributes";
     this.dockAttributes.Size     = new System.Drawing.Size(212, 190);
     this.dockAttributes.TabIndex = 2;
     this.dockAttributes.Text     = "Attributes";
     //
     // attributeChangePanel
     //
     this.attributeChangePanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.attributeChangePanel.Location = new System.Drawing.Point(0, 0);
     this.attributeChangePanel.Name     = "attributeChangePanel";
     this.attributeChangePanel.Size     = new System.Drawing.Size(212, 190);
     this.attributeChangePanel.TabIndex = 0;
     //
     // bottomSandDock
     //
     this.bottomSandDock.Dock         = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.bottomSandDock.Location     = new System.Drawing.Point(0, 502);
     this.bottomSandDock.Manager      = this.sandDockManager;
     this.bottomSandDock.Name         = "bottomSandDock";
     this.bottomSandDock.Size         = new System.Drawing.Size(816, 0);
     this.bottomSandDock.TabIndex     = 2;
     //
     // topSandDock
     //
     this.topSandDock.Dock         = System.Windows.Forms.DockStyle.Top;
     this.topSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.topSandDock.Location     = new System.Drawing.Point(0, 22);
     this.topSandDock.Manager      = this.sandDockManager;
     this.topSandDock.Name         = "topSandDock";
     this.topSandDock.Size         = new System.Drawing.Size(816, 0);
     this.topSandDock.TabIndex     = 3;
     //
     // menuBar1
     //
     this.menuBar1.AllowMerge = true;
     this.menuBar1.Guid       = new System.Guid("dc0a091b-fb9a-4a33-8bf0-a9a24af4064c");
     this.menuBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuBarItem6,
         this.menuBarItem7,
         this.menuBarItem8
     });
     this.menuBar1.Location  = new System.Drawing.Point(232, 22);
     this.menuBar1.Name      = "menuBar1";
     this.menuBar1.OwnerForm = this;
     this.menuBar1.Size      = new System.Drawing.Size(368, 22);
     this.menuBar1.TabIndex  = 0;
     this.menuBar1.Text      = "menuBar1";
     this.menuBar1.Visible   = false;
     //
     // menuBarItem6
     //
     this.menuBarItem6.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuFileSave,
         this.menuButtonItem1
     });
     this.menuBarItem6.Text = "&File";
     //
     // menuFileSave
     //
     this.menuFileSave.BeginGroup  = true;
     this.menuFileSave.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.menuFileSave.MergeIndex  = 2;
     this.menuFileSave.Text        = "Save";
     this.menuFileSave.Activate   += new System.EventHandler(this.SaveFile);
     //
     // menuButtonItem1
     //
     this.menuButtonItem1.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.menuButtonItem1.MergeIndex  = 3;
     this.menuButtonItem1.Text        = "&Close";
     this.menuButtonItem1.Activate   += new System.EventHandler(this.CloseFile);
     //
     // menuBarItem7
     //
     this.menuBarItem7.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuButtonItem2
     });
     this.menuBarItem7.Text = "&Edit";
     //
     // menuButtonItem2
     //
     this.menuButtonItem2.MergeAction = TD.SandBar.ItemMergeAction.Add;
     this.menuButtonItem2.MergeIndex  = 0;
     this.menuButtonItem2.Text        = "&Test";
     //
     // menuBarItem8
     //
     this.menuBarItem8.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuButtonItem3
     });
     this.menuBarItem8.Text = "&View";
     //
     // menuButtonItem3
     //
     this.menuButtonItem3.MergeAction = TD.SandBar.ItemMergeAction.Add;
     this.menuButtonItem3.MergeIndex  = 0;
     this.menuButtonItem3.Text        = "&ViewTest";
     //
     // toolBar1
     //
     this.toolBar1.DockLine = 1;
     this.toolBar1.Guid     = new System.Guid("88196026-7bd7-4954-85b7-34999dcd37cd");
     this.toolBar1.Location = new System.Drawing.Point(2, 24);
     this.toolBar1.Name     = "toolBar1";
     this.toolBar1.Size     = new System.Drawing.Size(24, 18);
     this.toolBar1.TabIndex = 1;
     this.toolBar1.Text     = "toolBar1";
     //
     // toolBar2
     //
     this.toolBar2.Guid = new System.Guid("458f1dcc-720e-4fb6-b794-41d5a9f186e2");
     this.toolBar2.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.buttonItem1
     });
     this.toolBar2.Location = new System.Drawing.Point(0, 0);
     this.toolBar2.Name     = "toolBar2";
     this.toolBar2.Size     = new System.Drawing.Size(816, 22);
     this.toolBar2.TabIndex = 4;
     this.toolBar2.Text     = "";
     this.toolBar2.Visible  = false;
     //
     // buttonItem1
     //
     this.buttonItem1.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.buttonItem1.MergeIndex  = 2;
     this.buttonItem1.Text        = "xxxx";
     //
     // quickFixBar
     //
     this.quickFixBar.AddRemoveButtonsVisible = false;
     this.quickFixBar.AllowHorizontalDock     = false;
     this.quickFixBar.Controls.Add(this.containerBarClientPanel1);
     this.quickFixBar.Dock      = System.Windows.Forms.DockStyle.Left;
     this.quickFixBar.Flow      = TD.SandBar.ToolBarLayout.Horizontal;
     this.quickFixBar.Guid      = new System.Guid("0e1e9ede-d2fe-4307-a683-d2e3ea4f4e5f");
     this.quickFixBar.ImageList = this.quickFixImageList;
     this.quickFixBar.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.quickFixPreceeding,
         this.quickFixFollowing
     });
     this.quickFixBar.Location = new System.Drawing.Point(0, 22);
     this.quickFixBar.Name     = "quickFixBar";
     this.quickFixBar.Size     = new System.Drawing.Size(232, 480);
     this.quickFixBar.TabIndex = 5;
     this.quickFixBar.Text     = "Quick Fix";
     //
     // containerBarClientPanel1
     //
     this.containerBarClientPanel1.Controls.Add(this.quickFixPanel);
     this.containerBarClientPanel1.Location = new System.Drawing.Point(2, 45);
     this.containerBarClientPanel1.Name     = "containerBarClientPanel1";
     this.containerBarClientPanel1.Size     = new System.Drawing.Size(228, 433);
     this.containerBarClientPanel1.TabIndex = 0;
     //
     // quickFixPanel
     //
     this.quickFixPanel.BackColor     = System.Drawing.Color.Transparent;
     this.quickFixPanel.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.quickFixPanel.Location      = new System.Drawing.Point(0, 0);
     this.quickFixPanel.Name          = "quickFixPanel";
     this.quickFixPanel.Size          = new System.Drawing.Size(228, 433);
     this.quickFixPanel.TabIndex      = 0;
     this.quickFixPanel.FinishUpdate += new System.EventHandler(this.QuickFixUpdated);
     //
     // quickFixImageList
     //
     this.quickFixImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.quickFixImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.quickFixImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // quickFixPreceeding
     //
     this.quickFixPreceeding.ImageIndex = 0;
     this.quickFixPreceeding.Activate  += new System.EventHandler(this.GotoPrecedingError);
     //
     // quickFixFollowing
     //
     this.quickFixFollowing.ImageIndex = 1;
     this.quickFixFollowing.Activate  += new System.EventHandler(this.GotoFollowingError);
     //
     // commandImageList
     //
     this.commandImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.commandImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // XEditNetChildForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(816, 502);
     this.Controls.Add(this.menuBar1);
     this.Controls.Add(this.quickFixBar);
     this.Controls.Add(this.leftSandDock);
     this.Controls.Add(this.rightSandDock);
     this.Controls.Add(this.bottomSandDock);
     this.Controls.Add(this.topSandDock);
     this.Controls.Add(this.toolBar2);
     this.Name = "XEditNetChildForm";
     this.Text = "XEditNetChildForm";
     this.rightSandDock.ResumeLayout(false);
     this.dockElementInsert.ResumeLayout(false);
     this.dockElementChange.ResumeLayout(false);
     this.dockAttributes.ResumeLayout(false);
     this.quickFixBar.ResumeLayout(false);
     this.containerBarClientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 26
0
 public virtual void EndDockableWindowInner(DockableWindow dockableWindow)
 {
 }