示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ConvertUiUserControl = ((EasyBugManagerTool.ConvertUiControl)(target));
                return;

            case 2:
                this.BackgroundBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.TipTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.IsCollaborationModeCheckControl = ((EasyBugManagerTool.ImageCheckControl)(target));
                return;

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

            #line 21 "..\..\MainWindow.xaml"
                ((EasyBugManagerTool.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MainUiControl = ((EasyBugManagerTool.MainUiControl)(target));
                return;

            case 3:
                this.SettingsUiControl = ((EasyBugManagerTool.SettingsUiControl)(target));
                return;

            case 4:
                this.ConvertUiControl = ((EasyBugManagerTool.ConvertUiControl)(target));
                return;

            case 5:
                this.RepairUiControl = ((EasyBugManagerTool.BrowseUiControl)(target));
                return;

            case 6:
                this.BrowseUiControl = ((EasyBugManagerTool.BrowseUiControl)(target));
                return;

            case 7:
                this.TipUiControl = ((EasyBugManagerTool.TipUiControl)(target));
                return;
            }
            this._contentLoaded = true;
        }