예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.collEdt = ((WPG.TypeEditors.CollectionEditorWindow)(target));
                return;

            case 2:
                this.cmdAdd = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\TypeEditors\CollectionEditorWindow.xaml"
                this.cmdAdd.Click += new System.Windows.RoutedEventHandler(this.cmdAdd_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.cmdRemove = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\TypeEditors\CollectionEditorWindow.xaml"
                this.cmdRemove.Click += new System.Windows.RoutedEventHandler(this.cmdRemove_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.myLst = ((System.Windows.Controls.ListBox)(target));

            #line 29 "..\..\..\TypeEditors\CollectionEditorWindow.xaml"
                this.myLst.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.myLst_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.myGrid = ((WPG.PropertyGrid)(target));
                return;

            case 6:
                this.cmdOk = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\..\TypeEditors\CollectionEditorWindow.xaml"
                this.cmdOk.Click += new System.Windows.RoutedEventHandler(this.cmdOk_Click);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
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;
        }