/// <summary>
        /// 依赖项属性发生改变时,触发的事件:
        /// 当IsAddBugCompleteTipProperty依赖项属性,的属性值发生改变的时候,调用这个方法
        /// </summary>
        /// <param name="sender">依赖项对象</param>
        /// <param name="e">依赖项属性改变事件 的参数(里面有这个属性的新的值,和旧的值)</param>
        private static void OnIsAddBugCompleteTipChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            //获取控件
            ListTipControl _listTipControl = sender as ListTipControl;

            //进行判断
            switch ((bool)e.NewValue)
            {
            //如果是显示[添加Bug成功]的提示
            case true:
                //打开[添加Bug的文字],关闭[删除Bug的文字],打开[关闭按钮],打开[查看按钮]
                _listTipControl.CreateBugBorder.Visibility = Visibility.Visible;
                _listTipControl.DeleteBugBorder.Visibility = Visibility.Collapsed;
                _listTipControl.LookButton.Visibility      = Visibility.Visible;
                _listTipControl.CloseButton.Visibility     = Visibility.Visible;
                break;

            //如果是显示[删除Bug成功]的提示
            case false:
                //关闭[添加Bug的文字],打开[删除Bug的文字],打开[关闭按钮],关闭[查看按钮]
                _listTipControl.CreateBugBorder.Visibility = Visibility.Collapsed;
                _listTipControl.DeleteBugBorder.Visibility = Visibility.Visible;
                _listTipControl.LookButton.Visibility      = Visibility.Collapsed;
                _listTipControl.CloseButton.Visibility     = Visibility.Visible;
                break;
            }
        }
        /// <summary>
        /// 依赖项属性发生改变时,触发的事件:
        /// 当IsOpenProperty依赖项属性,的属性值发生改变的时候,调用这个方法
        /// </summary>
        /// <param name="sender">依赖项对象</param>
        /// <param name="e">依赖项属性改变事件 的参数(里面有这个属性的新的值,和旧的值)</param>
        private static void OnIsOpenChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            //获取控件
            ListTipControl _listTipControl = sender as ListTipControl;

            //进行判断
            switch ((bool)e.NewValue)
            {
            //如果是打开Tip
            case true:
                //打开控件
                _listTipControl.Visibility = Visibility.Visible;

                /* 显示这个控件(把Opacity属性设置为1)*/
                //播放[第1个]动画:把Opacity属性设置为1
                AnimationTool.PlayGridOpacityAnimation(_listTipControl.BaseGrid, null, 1, 0.25f,
                                                       (object _sender1, EventArgs _e1) =>
                {
                    //当[第1个]动画播放完成后,播放[第2个动画]:啥也不干,等待3秒,然后关闭控件
                    AnimationTool.PlayGridOpacityAnimation(_listTipControl.BaseGrid, 1, 1, 3f,
                                                           (object _sender2, EventArgs _e2) =>
                    {
                        //当[第2个]动画播放完成后,关闭控件
                        _listTipControl.IsOpen = false;
                    });
                });
                break;

            //如果是关闭Tip
            case false:
                //隐藏这个控件(把Opacity属性设置为0)
                AnimationTool.PlayGridOpacityAnimation(_listTipControl.BaseGrid, null, 0, 0.25f,
                                                       (object _sender1, EventArgs _e1) =>
                {
                    //当动画播放完成后,关闭控件
                    _listTipControl.Visibility = Visibility.Collapsed;
                });
                break;
            }
        }
        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;
        }