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

            case 2:
                this.MainUiGrid = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 4:

            #line 43 "..\..\..\..\..\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 5:
                this.BearBorder = ((System.Windows.Controls.Border)(target));
                return;

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

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

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

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

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

            case 11:
                this.ForegroundCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.BearForegroundBorder = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MinimizeButtonUserControl = ((EasyBugManager.MinimizeButtonControl)(target));
                return;

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

            #line 19 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\MinimizeButtonControl.xaml"
                this.BaseButton.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_OnPreviewMouseDown);

            #line default
            #line hidden

            #line 20 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\MinimizeButtonControl.xaml"
                this.BaseButton.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_OnPreviewMouseUp);

            #line default
            #line hidden

            #line 21 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\MinimizeButtonControl.xaml"
                this.BaseButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BaseButton_OnMouseEnter);

            #line default
            #line hidden

            #line 22 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\MinimizeButtonControl.xaml"
                this.BaseButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BaseButton_OnMouseLeave);

            #line default
            #line hidden

            #line 23 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\MinimizeButtonControl.xaml"
                this.BaseButton.Click += new System.Windows.RoutedEventHandler(this.Button_OnClick);

            #line default
            #line hidden
                return;

            case 3:
                this.ButtonImageBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.BaseButtonScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ListUiUserControl = ((EasyBugManager.ListUiControl)(target));

            #line 13 "..\..\..\..\..\Xaml\Control\Ui\ListUiControl.xaml"
                this.ListUiUserControl.Loaded += new System.Windows.RoutedEventHandler(this.ListUiControl_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.TopButtonGroupStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.MinimizeButtonControl = ((EasyBugManager.MinimizeButtonControl)(target));
                return;

            case 4:
                this.CloseButtonControl = ((EasyBugManager.NoButtonControl)(target));
                return;

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

            case 6:
                this.ProjectNameTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.UndoneBugNumberTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.PriorityHighBugNumberTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.PriorityMidBugNumberTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.PriorityLowBugNumberTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 187 "..\..\..\..\..\Xaml\Control\Ui\ListUiControl.xaml"
                this.SearchTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchTextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.ClearSearchButtonControl = ((EasyBugManager.ImageButtonControl)(target));
                return;

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

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

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

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

            case 17:
                this.BugListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 18:
                this.BugListItemControl1 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 19:
                this.BugListItemControl2 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 20:
                this.BugListItemControl3 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 21:
                this.BugListItemControl4 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 22:
                this.BugListItemControl5 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 23:
                this.BugListItemControl6 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 24:
                this.BugListItemControl7 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 25:
                this.BugListItemControl8 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 26:
                this.BugListItemControl9 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 27:
                this.BugListItemControl10 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 28:
                this.BugListItemControl11 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 29:
                this.BugListItemControl12 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 30:
                this.BugListItemControl13 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 31:
                this.BugListItemControl14 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 32:
                this.BugListItemControl15 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 33:
                this.BugListItemControl16 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 34:
                this.BugListItemControl17 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 35:
                this.BugListItemControl18 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 36:
                this.BugListItemControl19 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 37:
                this.BugListItemControl20 = ((EasyBugManager.BugListItemControl)(target));
                return;

            case 38:
                this.ShowBugNumberCheckGroupControl = ((EasyBugManager.ImageCheckGroupControl)(target));
                return;

            case 39:
                this.PreviousPageButtonControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

            case 40:
                this.CurrentPageNumberTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 911 "..\..\..\..\..\Xaml\Control\Ui\ListUiControl.xaml"
                this.CurrentPageNumberTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.CurrentPageNumberTextBox_TextChanged);

            #line default
            #line hidden

            #line 915 "..\..\..\..\..\Xaml\Control\Ui\ListUiControl.xaml"
                this.CurrentPageNumberTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CurrentPageNumberTextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 916 "..\..\..\..\..\Xaml\Control\Ui\ListUiControl.xaml"
                this.CurrentPageNumberTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.CurrentPageNumberTextBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 41:
                this.TotalPageNumberTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.NextPageButtonControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

            case 43:
                this.ListTipControl = ((EasyBugManager.ListTipControl)(target));
                return;

            case 44:
                this.ForegroundCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 45:
                this.TopButtonForegroundGroupStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }