예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainUiUserControl = ((EasyBugManagerTool.MainUiControl)(target));
                return;

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

            case 3:

            #line 48 "..\..\..\..\..\Xaml\Control\Ui\MainUiControl.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowTitleBorder_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 5:
                this.CloseButtonControl = ((EasyBugManagerTool.NoButtonControl)(target));
                return;

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

            case 7:
                this.ConvertButtonControl = ((EasyBugManagerTool.ConvertButtonControl)(target));
                return;

            case 8:
                this.ForegroundCanvas = ((System.Windows.Controls.Canvas)(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;
        }