Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.toolsPanelNew = ((iS3.Client.ToolsPaneForZHGL)(target));
                return;

            case 2:
                this.DocMan = ((Telerik.Windows.Controls.RadDocking)(target));
                return;

            case 3:
                this.ViewHolder = ((Telerik.Windows.Controls.RadPaneGroup)(target));

            #line 43 "..\..\..\MainFrame\MainFrameForZHGL.xaml"
                this.ViewHolder.SelectionChanged += new Telerik.Windows.Controls.RadSelectionChangedEventHandler(this.ViewHolder_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.ObjsViewHolder = ((Telerik.Windows.Controls.RadPaneGroup)(target));
                return;

            case 5:
                this.ComonObjsViewHolder = ((iS3.Client.CommonObjsView)(target));
                return;

            case 6:
                this.ToolsHolder1 = ((Telerik.Windows.Controls.RadPaneGroup)(target));
                return;

            case 7:
                this.ipcHost = ((iS3.Python.IronPythonControl)(target));
                return;

            case 8:
                this.OldWindow = ((Telerik.Windows.Controls.RadSplitContainer)(target));
                return;

            case 9:
                this.DomainTreeHolder = ((Telerik.Windows.Controls.RadPaneGroup)(target));
                return;

            case 10:
                this.FloatWindow = ((Telerik.Windows.Controls.RadSplitContainer)(target));
                return;

            case 11:
                this.temp = ((System.Windows.Forms.Integration.ElementHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RootVisual = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.TopMenuGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.ProjectTitle = ((iS3.Client.Controls.RaisedText)(target));
                return;

            case 4:

            #line 79 "..\..\..\MainFrame\MainFrameNormal.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Home_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 87 "..\..\..\MainFrame\MainFrameNormal.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Python_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.DocMan = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 7:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 8:
                this.addPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 9:
                this.ProjectPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 10:
                this.ViewPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 11:
                this.DataPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 12:
                this.ipcHost = ((iS3.Python.IronPythonControl)(target));
                return;

            case 13:
                this.ComonObjsViewHolder = ((iS3.Client.CommonObjsView)(target));
                return;

            case 14:
                this.DomainTreeHolder = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 15:
                this.ToolsPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 16:
                this.objViewHolder = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 17:
                this.objectView = ((iS3.Client.Controls.ObjectView)(target));
                return;

            case 18:
                this.ToolsHolder = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;
            }
            this._contentLoaded = true;
        }