Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ImageUiUserControl = ((EasyBugManager.ImageUiControl)(target));
                return;

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

            case 3:
                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 23 "..\..\MainWindow.xaml"
                ((EasyBugManager.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);

            #line default
            #line hidden
                return;

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

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

            case 4:

            #line 78 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowTitleBorder_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 5:
                this.LatelyProjectUiControl = ((EasyBugManager.LatelyProjectUiControl)(target));
                return;

            case 6:
                this.MainUiControl = ((EasyBugManager.MainUiControl)(target));
                return;

            case 7:
                this.ListUiControl = ((EasyBugManager.ListUiControl)(target));
                return;

            case 8:
                this.BugUiControl = ((EasyBugManager.BugUiControl)(target));
                return;

            case 9:
                this.SyncUiControl = ((EasyBugManager.SyncUiControl)(target));
                return;

            case 10:
                this.ImageUiControl = ((EasyBugManager.ImageUiControl)(target));
                return;

            case 11:
                this.DragForegroundGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:

            #line 259 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowTitleBorder_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 13:
                this.SettingsUiControl = ((EasyBugManager.SettingsUiControl)(target));
                return;

            case 14:
                this.CreateProjectUiControl = ((EasyBugManager.CreateProjectUiControl)(target));
                return;

            case 15:
                this.ExportUiControl = ((EasyBugManager.ExportUiControl)(target));
                return;

            case 16:
                this.CreateBugUiControl = ((EasyBugManager.CreateBugUiControl)(target));
                return;

            case 17:
                this.ChangeBugUiControl = ((EasyBugManager.ChangeBugUiControl)(target));
                return;

            case 18:
                this.DeleteBugTipUiControl = ((EasyBugManager.DeleteTipUiControl)(target));
                return;

            case 19:
                this.DeleteRecordTipUiControl = ((EasyBugManager.DeleteTipUiControl)(target));
                return;

            case 20:
                this.BaseTipUiControl = ((EasyBugManager.TipUiControl)(target));
                return;

            case 21:
                this.LatelyProjectTipUiControl = ((EasyBugManager.TipUiControl)(target));
                return;

            case 22:
                this.ErrorUiControl = ((EasyBugManager.ErrorUiControl)(target));
                return;
            }
            this._contentLoaded = true;
        }