示例#1
0
        //当点击[图片]按钮时
        private void ImageButtonControl_Click(object sender, RoutedPropertyChangedEventArgs <bool> e)
        {
            //拿到控件
            ColorButtonControl _colorButtonControl = sender as ColorButtonControl;

            //触发事件
            this.OnClickImageButton((string)_colorButtonControl.Tag);
        }
        //当点击[浏览]按钮时
        private void RelatedBugButtonControl_Click(object sender, RoutedPropertyChangedEventArgs <bool> e)
        {
            //获取到控件
            ColorButtonControl _buttonControl = sender as ColorButtonControl;

            //触发事件
            this.OnClickRelatedBugNameButton(_buttonControl.Tag as HighlightText);
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ColorButtonUserControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 23 "..\..\..\..\..\Xaml\Control\Base\ColorButtonControl.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;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ListHeadButtonUserControl = ((EasyBugManager.ListHeadButtonControl)(target));
                return;

            case 2:
                this.ListHeadColorButtonControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

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

            case 4:
                this.ListHandArrowBorder = ((System.Windows.Controls.Border)(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;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BugUiUserControl = ((EasyBugManager.BugUiControl)(target));

            #line 13 "..\..\..\..\..\Xaml\Control\Ui\BugUiControl.xaml"
                this.BugUiUserControl.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.BugUiControl_OnIsVisibleChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.StartTimeTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 4:
                this.EndTimeTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.UpdateNumberFrontTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.UpdateNumberTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 9:
                this.BugNameTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.BackGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.BackButtonControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

            case 12:
                this.RightCanvas = ((System.Windows.Controls.Canvas)(target));

            #line 233 "..\..\..\..\..\Xaml\Control\Ui\BugUiControl.xaml"
                this.RightCanvas.MouseEnter += new System.Windows.Input.MouseEventHandler(this.RightCanvas_OnMouseEnter);

            #line default
            #line hidden

            #line 234 "..\..\..\..\..\Xaml\Control\Ui\BugUiControl.xaml"
                this.RightCanvas.MouseLeave += new System.Windows.Input.MouseEventHandler(this.RightCanvas_OnMouseLeave);

            #line default
            #line hidden
                return;

            case 13:
                this.LineBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.RecordListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 15:
                this.IsShowBugReplyGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 17:
                this.AnimationGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                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:
                this.BugListItemUserControl = ((EasyBugManager.BugListItemControl)(target));

            #line 13 "..\..\..\..\..\..\Xaml\Control\Perfab\ListUi\BugListItemControl.xaml"
                this.BugListItemUserControl.DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.BugListItemControl_OnDataContextChanged);

            #line default
            #line hidden

            #line 14 "..\..\..\..\..\..\Xaml\Control\Perfab\ListUi\BugListItemControl.xaml"
                this.BugListItemUserControl.LostFocus += new System.Windows.RoutedEventHandler(this.BugListItemControl_OnLostFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.BaseCheckControl = ((EasyBugManager.ColorCheckControl)(target));
                return;

            case 3:
                this.TipStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.RefreshButtonControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

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

            case 6:
                this.GoToPageNumberTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.UndoneProgressBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.SolvedProgressBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.DeprecatProgressBorder = ((System.Windows.Controls.Border)(target));
                return;

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

            case 11:
                this.GreyProgressButton = ((EasyBugManager.ColorButtonControl)(target));
                return;

            case 12:
                this.PriorityGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.LowPriorityBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.MidPriorityBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 15:
                this.HighPriorityBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 16:
                this.TitleTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.CreateTimeTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.UpdateTimeTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.MoreButtonControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

            case 20:
                this.DeletedGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.DeletedButtonControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

            case 22:
                this.DeletedBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 23:
                this.ClickRefreshBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 24:
                this.ContextMenuPopup = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 290 "..\..\..\..\..\..\Xaml\Control\Perfab\ListUi\BugListItemControl.xaml"
                this.ContextMenuPopup.Opened += new System.EventHandler(this.ContextMenuPopup_Opened);

            #line default
            #line hidden

            #line 290 "..\..\..\..\..\..\Xaml\Control\Perfab\ListUi\BugListItemControl.xaml"
                this.ContextMenuPopup.Closed += new System.EventHandler(this.ContextMenuPopup_Closed);

            #line default
            #line hidden
                return;

            case 25:
                this.ContextMenuControl = ((EasyBugManager.BugListItemContextMenuControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SyncUiUserControl = ((EasyBugManager.SyncUiControl)(target));
                return;

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

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

            case 4:
                this.CnSyncButtonControl = ((EasyBugManager.ColorButtonControl)(target));
                return;

            case 5:
                this.CnNoSyncBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.CnSyncingBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 7:
                this.CnSyncedBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.EnSyncButtonGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 10:
                this.EnNoSyncBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 11:
                this.EnSyncingBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.EnSyncedBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 13:
                this.SyncIconBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.SyncIconBorderRotateTransform = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 15:
                this.TimeTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.TopButtonBackgroundGroupStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 18:
                this.SyncLogTitleTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.NumberOfSyncTitleTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.NumberOfSyncContentTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.LastSyncTimeTitleTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.LastSyncTimeContentTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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