Example #1
0
        protected override void InternalDock()
        {
            LayoutRoot         root   = base.Root as LayoutRoot;
            LayoutDocumentPane parent = null;

            if (root.LastFocusedDocument != null && root.LastFocusedDocument != this)
            {
                parent = root.LastFocusedDocument.Parent as LayoutDocumentPane;
            }
            if (parent == null)
            {
                parent = root.Descendents().OfType <LayoutDocumentPane>().FirstOrDefault <LayoutDocumentPane>();
            }
            bool flag = false;

            if (root.Manager.LayoutUpdateStrategy != null)
            {
                flag = root.Manager.LayoutUpdateStrategy.BeforeInsertDocument(root, this, parent);
            }
            if (!flag)
            {
                if (parent == null)
                {
                    throw new InvalidOperationException("Layout must contains at least one LayoutDocumentPane in order to host documents");
                }
                parent.Children.Add(this);
                flag = true;
            }
            if (root.Manager.LayoutUpdateStrategy != null)
            {
                root.Manager.LayoutUpdateStrategy.AfterInsertDocument(root, this);
            }
            base.InternalDock();
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 2:
                this.item_AddNew = ((System.Windows.Controls.MenuItem)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.item_AddNew.Click += new System.Windows.RoutedEventHandler(this.item_AddNew_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 4:
                this.layOutPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ToolBarTray = ((System.Windows.Controls.ToolBarTray)(target));
                return;

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

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

            case 4:
                this.AMLDocumentTree = ((Aml.Toolkit.View.AMLTreeView)(target));
                return;

            case 5:
                this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 6:
                this.Floating = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorableFloatingWindow)(target));
                return;

            case 7:
                this.FloatingPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 8:
                this.LeftTabSide = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 9:
                this.RightTabSide = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 10:
                this.TopTabSide = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 11:
                this.BottomTabSide = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 12:
                this.statusLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.LayoutTransformSlider = ((System.Windows.Controls.Slider)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\MainWindow.xaml"
                ((Main.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.newMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.dataBrowser = ((System.Windows.Controls.MenuItem)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.dataBrowser.Click += new System.Windows.RoutedEventHandler(this.dataBrowser_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.queryBrowser = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.queryBrowser.Click += new System.Windows.RoutedEventHandler(this.queryBrowser_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.themes = ((System.Windows.Controls.MenuItem)(target));
                return;

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

            case 7:
                this.docPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.maingrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.modeBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.beginBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 4:
                this.dockmanager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 5:
                this.manager = ((ElectricAnalysis.View.ResourceManager)(target));
                return;

            case 6:
                this.middlePanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
                return;

            case 7:
                this.ShowPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 8:
                this.msglist = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 9:
                this.msgbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.branchView = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 11:
                this.branchPanel = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #6
0
        protected override void InternalDock()
        {
            var root = Root as LayoutRoot;
            LayoutDocumentPane documentPane = null;

            if (root.LastFocusedDocument != null &&
                root.LastFocusedDocument != this)
            {
                documentPane = root.LastFocusedDocument.Parent as LayoutDocumentPane;
            }

            if (documentPane == null)
            {
                documentPane = root.Descendents().OfType <LayoutDocumentPane>().FirstOrDefault();
            }


            bool added = false;

            if (root.Manager.LayoutUpdateStrategy != null)
            {
                added = root.Manager.LayoutUpdateStrategy.BeforeInsertDocument(root, this, documentPane);
            }

            if (!added)
            {
                if (documentPane == null)
                {
                    throw new InvalidOperationException("Layout must contains at least one LayoutDocumentPane in order to host documents");
                }

                documentPane.Children.Add(this);
                added = true;
            }

            if (root.Manager.LayoutUpdateStrategy != null)
            {
                root.Manager.LayoutUpdateStrategy.AfterInsertDocument(root, this);
            }


            base.InternalDock();
        }
Example #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 2:

            #line 37 "..\..\DockUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddDocument);

            #line default
            #line hidden
                return;

            case 3:

            #line 38 "..\..\DockUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearCurrentCanvas);

            #line default
            #line hidden
                return;

            case 4:
                this.widthScrollControl = ((WPFToolkit.WidthScrollControl)(target));
                return;

            case 5:
                this.paletteControl = ((WPFToolkit.PaletteControl)(target));
                return;

            case 6:
                this.documentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.panelLeftU = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 2:
                this.SceneViewDock = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 3:
                this.panelLeftD = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 4:
                this.DetailsDock = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 5:
                this.panelTop = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 6:
                this.viewportHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 7:
                this.panelBottom = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 8:
                this.ContentDock = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 9:
                this.TitleBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.TitleText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.ExitButton = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.MaxButton = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.MinButton = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.File = ((System.Windows.Controls.Menu)(target));
                return;

            case 15:

            #line 94 "..\..\..\UserControls\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.Edit = ((System.Windows.Controls.Menu)(target));
                return;

            case 17:
                this.cursor = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.move = ((System.Windows.Controls.Button)(target));
                return;

            case 19:
                this.rotate = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.scale = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public LayoutDocumentPaneGroup(LayoutDocumentPane documentPane)
 {
     Children.Add(documentPane);
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\MainWindow.xaml"
                ((JxSystem.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 61 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_About);

            #line default
            #line hidden
                return;

            case 3:

            #line 62 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_ModifyPassword);

            #line default
            #line hidden
                return;

            case 4:
                this.SampleBrowserTranslateTransform = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 5:
                this.RenderScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 6:
                this.TvManager = ((Gss.ManagementMenu.ManagementMenu)(target));

            #line 161 "..\..\..\MainWindow.xaml"
                this.TvManager.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TvManager_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 8:
                this.MainContainer = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 9:
                this.AccountInfoContainer = ((System.Windows.Controls.Border)(target));
                return;

            case 10:
                this.ArrowR1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 11:
                this.ArrowR2 = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.PBtn = ((Gss.ManagementMenu.CustomControl.PopupButton)(target));

            #line 207 "..\..\..\MainWindow.xaml"
                this.PBtn.Click += new System.Windows.RoutedEventHandler(this.PBtn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.UC_Accountcement = ((System.Windows.Controls.UserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainAppWindow = ((DEA3.MainWindow)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.MainAppWindow.Loaded += new System.Windows.RoutedEventHandler(this.MainAppWindow_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.MainAppWindow.Unloaded += new System.Windows.RoutedEventHandler(this.MainAppWindow_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Dp_Main = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.Menu_file = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.Menu_file_create = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.Menu_file_open = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.Menu_file_save = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.Menu_Sys_exit = ((System.Windows.Controls.MenuItem)(target));

            #line 121 "..\..\..\MainWindow.xaml"
                this.Menu_Sys_exit.Click += new System.Windows.RoutedEventHandler(this.Menu_Sys_exit_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Menu_file_AddNew = ((System.Windows.Controls.MenuItem)(target));

            #line 122 "..\..\..\MainWindow.xaml"
                this.Menu_file_AddNew.Click += new System.Windows.RoutedEventHandler(this.item_AddNew_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.Menu_Test = ((System.Windows.Controls.MenuItem)(target));

            #line 123 "..\..\..\MainWindow.xaml"
                this.Menu_Test.Click += new System.Windows.RoutedEventHandler(this.Menu_Test_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Menu_Sys = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.Menu_Sys_con = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.Menu_exterior = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.miGeneric = ((System.Windows.Controls.MenuItem)(target));

            #line 129 "..\..\..\MainWindow.xaml"
                this.miGeneric.Click += new System.Windows.RoutedEventHandler(this.miGeneric_Click_1);

            #line default
            #line hidden
                return;

            case 14:
                this.miDark = ((System.Windows.Controls.MenuItem)(target));

            #line 130 "..\..\..\MainWindow.xaml"
                this.miDark.Click += new System.Windows.RoutedEventHandler(this.miDark_Click_1);

            #line default
            #line hidden
                return;

            case 15:
                this.miLight = ((System.Windows.Controls.MenuItem)(target));

            #line 131 "..\..\..\MainWindow.xaml"
                this.miLight.Click += new System.Windows.RoutedEventHandler(this.miLight_Click_1);

            #line default
            #line hidden
                return;

            case 16:
                this.miMetro = ((System.Windows.Controls.MenuItem)(target));

            #line 132 "..\..\..\MainWindow.xaml"
                this.miMetro.Click += new System.Windows.RoutedEventHandler(this.miMetro_Click_1);

            #line default
            #line hidden
                return;

            case 17:
                this.miVS = ((System.Windows.Controls.MenuItem)(target));

            #line 133 "..\..\..\MainWindow.xaml"
                this.miVS.Click += new System.Windows.RoutedEventHandler(this.miVS_Click_1);

            #line default
            #line hidden
                return;

            case 18:
                this.Menu_help = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.Tool_But_Project = ((System.Windows.Controls.Button)(target));

            #line 153 "..\..\..\MainWindow.xaml"
                this.Tool_But_Project.Click += new System.Windows.RoutedEventHandler(this.Tool_But_Project_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Tool_But_Exit = ((System.Windows.Controls.Button)(target));

            #line 158 "..\..\..\MainWindow.xaml"
                this.Tool_But_Exit.Click += new System.Windows.RoutedEventHandler(this.Tool_But_Exit_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.statusBar_1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 22:
                this.statusBar_CapsLock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.statusBar_NumLock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.statusBar_InsertLock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 26:
                this.layOutPaneTree = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 27:
                this.TreeView_Project = ((System.Windows.Controls.TreeView)(target));

            #line 194 "..\..\..\MainWindow.xaml"
                this.TreeView_Project.Loaded += new System.Windows.RoutedEventHandler(this.TreeView_Project_Loaded);

            #line default
            #line hidden
                return;

            case 28:
                this.layOutPaneContent = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 4:
                this.PlatformTitle = ((iS3.Client.Controls.RaisedText)(target));
                return;

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

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

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

            case 8:
                this.projectBox = ((System.Windows.Controls.ListBox)(target));

            #line 81 "..\..\..\ProjectListPage\ProjectListNormal.xaml"
                this.projectBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.projectBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.MapPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 10:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 11:
                this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 12:
                this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target));
                return;

            case 13:
                this.mapTip = ((System.Windows.Controls.Border)(target));
                return;

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

            case 15:
                this.MapCoordsTB = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #13
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.Desktop.UserControls.RaisedText)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

            #line 87 "..\..\MainFrame.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.ProjectPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

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

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

            case 11:
                this.ipcHost = ((IS3.Python.IronPythonControl)(target));
                return;

            case 12:
                this.MyDataGrid = ((IS3.Desktop.IS3DataGrid)(target));
                return;

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

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

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

            case 16:
                this.objectView = ((IS3.Desktop.ObjectView)(target));
                return;

            case 17:
                this.Tools = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 18:
                this.ToolsPanel = ((IS3.Desktop.ToolsPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #14
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.munMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 2:
     this.fileSave = ((System.Windows.Controls.MenuItem)(target));
     
     #line 18 "..\..\MainWindow.xaml"
     this.fileSave.Click += new System.Windows.RoutedEventHandler(this.fileSave_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.fileLoad = ((System.Windows.Controls.MenuItem)(target));
     
     #line 19 "..\..\MainWindow.xaml"
     this.fileLoad.Click += new System.Windows.RoutedEventHandler(this.fileLoad_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.programExit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 21 "..\..\MainWindow.xaml"
     this.programExit.Click += new System.Windows.RoutedEventHandler(this.programExit_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.miLeft = ((System.Windows.Controls.MenuItem)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this.miLeft.Click += new System.Windows.RoutedEventHandler(this.imageLoad_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.miRight = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 7:
     this.miTop = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 8:
     this.miBottom = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 9:
     this.miAnchorPane = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 10:
     this.miAnchorVerticalPane = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 11:
     this.miDocumentPane = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 12:
     this.priorityPane = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 13:
     this.miAddAnchroable = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 14:
     this.miAddDocument = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 15:
     this.miOutPutWnd = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 16:
     this.miAutoHide = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 17:
     this.miGeneric = ((System.Windows.Controls.MenuItem)(target));
     
     #line 46 "..\..\MainWindow.xaml"
     this.miGeneric.Click += new System.Windows.RoutedEventHandler(this.themeGeneric_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.miAero = ((System.Windows.Controls.MenuItem)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.miAero.Click += new System.Windows.RoutedEventHandler(this.themeAero_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.miDark = ((System.Windows.Controls.MenuItem)(target));
     
     #line 48 "..\..\MainWindow.xaml"
     this.miDark.Click += new System.Windows.RoutedEventHandler(this.themeDark_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.miLight = ((System.Windows.Controls.MenuItem)(target));
     
     #line 49 "..\..\MainWindow.xaml"
     this.miLight.Click += new System.Windows.RoutedEventHandler(this.themeLight_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.miMetro = ((System.Windows.Controls.MenuItem)(target));
     
     #line 50 "..\..\MainWindow.xaml"
     this.miMetro.Click += new System.Windows.RoutedEventHandler(this.themeMetro_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.miVS = ((System.Windows.Controls.MenuItem)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.miVS.Click += new System.Windows.RoutedEventHandler(this.themeVS_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.DockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 24:
     this.Root = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
     return;
     case 25:
     this.Panel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
     return;
     case 26:
     this.LeftAnchorableGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePaneGroup)(target));
     return;
     case 27:
     this.LeftPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
     return;
     case 28:
     this.Solution = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
     return;
     case 29:
     this.mToolBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 30:
     this.TemperaPanel = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 31:
     this.MonitorControl = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 32:
     this.MotionSensor = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 33:
     this.WindowMagnet = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 34:
     this.DocumentGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPaneGroup)(target));
     return;
     case 35:
     this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
     return;
     case 36:
     this.mEidtor = ((System.Windows.Controls.Canvas)(target));
     
     #line 83 "..\..\MainWindow.xaml"
     this.mEidtor.DragOver += new System.Windows.DragEventHandler(this.OnDragOver);
     
     #line default
     #line hidden
     
     #line 83 "..\..\MainWindow.xaml"
     this.mEidtor.Drop += new System.Windows.DragEventHandler(this.OnDrop);
     
     #line default
     #line hidden
     return;
     case 37:
     this.backgroundImage = ((System.Windows.Media.ImageBrush)(target));
     return;
     case 38:
     this.RightAnchorableGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePaneGroup)(target));
     return;
     case 39:
     this.RightPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
     return;
     case 40:
     this.mEditSize = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 41:
     this.mPosition = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 42:
     this.LeftGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
     return;
     case 43:
     this.RightGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
     return;
     case 44:
     this.TopGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
     return;
     case 45:
     this.BottomGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Ribbon1 = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
                return;

            case 2:

            #line 20 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_NewProject);

            #line default
            #line hidden
                return;

            case 3:

            #line 21 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_OpenProject);

            #line default
            #line hidden
                return;

            case 4:

            #line 22 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_CloseProject);

            #line default
            #line hidden
                return;

            case 5:

            #line 27 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Close);

            #line default
            #line hidden
                return;

            case 6:

            #line 33 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonSplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_NewSequence);

            #line default
            #line hidden
                return;

            case 7:

            #line 34 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_NewSequence);

            #line default
            #line hidden
                return;

            case 8:

            #line 35 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_NewFlowchart);

            #line default
            #line hidden
                return;

            case 9:

            #line 36 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_NewStateMachine);

            #line default
            #line hidden
                return;

            case 10:

            #line 39 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Open);

            #line default
            #line hidden
                return;

            case 11:

            #line 40 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Run);

            #line default
            #line hidden
                return;

            case 12:

            #line 41 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonSplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Save);

            #line default
            #line hidden
                return;

            case 13:

            #line 42 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonMenuItem_SaveAs);

            #line default
            #line hidden
                return;

            case 14:

            #line 43 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonMenuItem_SaveAll);

            #line default
            #line hidden
                return;

            case 15:

            #line 52 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Run);

            #line default
            #line hidden
                return;

            case 16:

            #line 53 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Stop);

            #line default
            #line hidden
                return;

            case 17:

            #line 54 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Debug);

            #line default
            #line hidden
                return;

            case 18:

            #line 55 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Continue);

            #line default
            #line hidden
                return;

            case 19:

            #line 59 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonSplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonMenuItem_ClickToggle);

            #line default
            #line hidden
                return;

            case 20:

            #line 60 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonMenuItem_ClickToggle);

            #line default
            #line hidden
                return;

            case 21:

            #line 61 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonMenuItem_ClickRemove);

            #line default
            #line hidden
                return;

            case 22:

            #line 67 "..\..\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButtonAddActivity_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.m_grid_toolbox = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.m_documentpane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 25:
                this.m_propertiespane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 26:
                this.m_outlinepane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 27:
                this.m_textbox_projectfolder = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.m_treeview_projectfolder = ((System.Windows.Controls.TreeView)(target));
                return;

            case 29:
                this.m_console_searchbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.m_console_textbox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.openFileDialog = ((Nevala.OpenFileDialog)(target));
                return;

            case 2:
                this.menuStrip = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.newMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.openMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.saveMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.saveAsMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.saveAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.closeMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.closeAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.printMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.exitMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.undoMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.redoMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:
                this.cutMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 15:
                this.copyMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 16:
                this.pasteMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:
                this.SelectLineMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 18:
                this.SelectAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.ClearSelection = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 20:
                this.IncrementalSearchMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 21:
                this.FindMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 22:
                this.ReplaceMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 23:
                this.ReplaceInFilesMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 24:
                this.Go_toMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 25:
                this.ToggleBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 26:
                this.PreviousBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 27:
                this.NextBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 28:
                this.ClearBookmarksMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 29:
                this.MakeUpperCaseMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 30:
                this.MakeLowerCaseMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 31:
                this.zoomIn = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 32:
                this.zoomOut = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 33:
                this.lineNumbersMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 34:
                this.wordWrapMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 35:
                this.fold = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 36:
                this.unfold = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 37:
                this.foldAll = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 38:
                this.unfoldAll = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 39:
                this.Preferences = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 40:
                this.Font = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 41:
                this.Import = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 42:
                this.ShortcutWrapper = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 43:
                this.Run = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 44:
                this.SendviaOutlook = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 45:
                this.PowerHelp = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 46:
                this.About = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 47:
                this.BahubaliHelp = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 48:
                this.toolStrip = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 49:
                this.dockPanel = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 50:
                this.documentsRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 51:
                this.FolderView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 52:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 53:
                this.Python = ((System.Windows.Controls.TabItem)(target));
                return;

            case 54:
                this.phost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 55:
                this.IPython = ((System.Windows.Controls.TabItem)(target));
                return;

            case 56:
                this.ihost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 30 "..\..\Window1.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_ShowToolBar);

            #line default
            #line hidden
                return;

            case 2:

            #line 31 "..\..\Window1.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_HidenToolBar);

            #line default
            #line hidden
                return;

            case 3:
                this.miShowToolBar = ((System.Windows.Controls.MenuItem)(target));

            #line 45 "..\..\Window1.xaml"
                this.miShowToolBar.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.miHidenToolBar = ((System.Windows.Controls.MenuItem)(target));

            #line 46 "..\..\Window1.xaml"
                this.miHidenToolBar.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.miGetTemplateByLocal = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.miGetTemplateByDataBase = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.miManageTemplateType = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.miManageTemplate = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.miDebuging = ((System.Windows.Controls.MenuItem)(target));

            #line 57 "..\..\Window1.xaml"
                this.miDebuging.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.themeCombo = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 12:
                this.expBookmark = ((System.Windows.Controls.Expander)(target));
                return;

            case 13:
                this.layoutDocumenPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 14:

            #line 94 "..\..\Window1.xaml"
                ((Xceed.Wpf.AvalonDock.Layout.LayoutDocument)(target)).IsSelectedChanged += new System.EventHandler(this.NewLayoutDocument_IsSelectChange);

            #line default
            #line hidden
                return;

            case 15:
                this.grdMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.toolBar = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 17:
                this.DesignerScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 18:
                this.MyDesigner = ((DiagramDesigner.DesignerCanvas)(target));
                return;

            case 19:
                this.zoomBox = ((Nsun.DiagramDesigner.Utils.ZoomBox)(target));
                return;

            case 20:

            #line 127 "..\..\Window1.xaml"
                ((Xceed.Wpf.AvalonDock.Layout.LayoutDocument)(target)).IsSelectedChanged += new System.EventHandler(this.NewLayoutDocument_IsSelectChange);

            #line default
            #line hidden
                return;

            case 21:
                this.txtCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.propertyGrid = ((WPG.PropertyGrid)(target));
                return;

            case 23:
                this.txbError = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.txbWaring = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\MainWindow.xaml"
                ((SpectrumScanner.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mainDockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 3:
                this.layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 4:
                this.layoutPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
                return;

            case 5:
                this.layoutAnchorableGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePaneGroup)(target));
                return;

            case 6:
                this.leftPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 7:
                this.taskList = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 8:

            #line 67 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ListBoxItem_Selected_1);

            #line default
            #line hidden
                return;

            case 9:

            #line 68 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ListBoxItem_Selected_2);

            #line default
            #line hidden
                return;

            case 10:

            #line 69 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ListBoxItem_Selected_3);

            #line default
            #line hidden
                return;

            case 11:

            #line 70 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ListBoxItem_Selected_4);

            #line default
            #line hidden
                return;

            case 12:
                this.DocumentGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPaneGroup)(target));
                return;

            case 13:
                this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 14:
                this.layoutDocument = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocument)(target));
                return;

            case 15:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 17:
                this.border2 = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.border3 = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.border4 = ((System.Windows.Controls.Border)(target));
                return;

            case 20:
                this.RightAnchorableGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePaneGroup)(target));
                return;

            case 21:
                this.RightPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 22:
                this.leftGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 23:
                this.rightGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 24:
                this.topGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 25:
                this.bottomGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 12 "..\..\..\MainWindow.xaml"
     ((JxSystem.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 61 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_About);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 62 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_ModifyPassword);
     
     #line default
     #line hidden
     return;
     case 4:
     this.SampleBrowserTranslateTransform = ((System.Windows.Media.TranslateTransform)(target));
     return;
     case 5:
     this.RenderScale = ((System.Windows.Media.ScaleTransform)(target));
     return;
     case 6:
     this.TvManager = ((Gss.ManagementMenu.ManagementMenu)(target));
     
     #line 161 "..\..\..\MainWindow.xaml"
     this.TvManager.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.TvManager_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
     return;
     case 8:
     this.MainContainer = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
     return;
     case 9:
     this.AccountInfoContainer = ((System.Windows.Controls.Border)(target));
     return;
     case 10:
     this.ArrowR1 = ((System.Windows.Shapes.Path)(target));
     return;
     case 11:
     this.ArrowR2 = ((System.Windows.Shapes.Path)(target));
     return;
     case 12:
     this.PBtn = ((Gss.ManagementMenu.CustomControl.PopupButton)(target));
     
     #line 207 "..\..\..\MainWindow.xaml"
     this.PBtn.Click += new System.Windows.RoutedEventHandler(this.PBtn_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.UC_Accountcement = ((System.Windows.Controls.UserControl)(target));
     return;
     }
     this._contentLoaded = true;
 }