コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BrowseUiUserControl = ((EasyBugManagerTool.BrowseUiControl)(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.ForegroundCanvas = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        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;
        }