void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.BaseGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.BackgroundBorder = ((System.Windows.Controls.Border)(target)); return; case 3: this.CreateBugBorder = ((System.Windows.Controls.Border)(target)); return; case 4: this.DeleteBugBorder = ((System.Windows.Controls.Border)(target)); return; case 5: this.LookButton = ((EasyBugManager.ImageButtonControl)(target)); return; case 6: this.CloseButton = ((EasyBugManager.ImageButtonControl)(target)); return; } this._contentLoaded = true; }
//当点击[删除图片]按钮的时候 private void DeleteImageButtonControl_Click(object sender, RoutedPropertyChangedEventArgs <bool> e) { //获取控件 ImageButtonControl _imageButtonControl = sender as ImageButtonControl; //触发事件 this.OnClickDeleteImageButton((string)_imageButtonControl.Tag); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RecordListItemUserControl = ((EasyBugManager.RecordListItemControl)(target)); return; case 2: this.BearGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.TimeTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.BearBubbleBorder = ((System.Windows.Controls.Border)(target)); #line 70 "..\..\..\..\..\..\Xaml\Control\Perfab\BugUi\RecordListItemControl.xaml" this.BearBubbleBorder.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BearBubbleBorder_MouseLeave); #line default #line hidden #line 71 "..\..\..\..\..\..\Xaml\Control\Perfab\BugUi\RecordListItemControl.xaml" this.BearBubbleBorder.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BearBubbleBorder_MouseEnter); #line default #line hidden return; case 5: this.BearTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.DeleteButtonControl = ((EasyBugManager.ImageButtonControl)(target)); return; case 7: this.BugGrid = ((System.Windows.Controls.Grid)(target)); return; case 8: this.BugBubbleBorder = ((System.Windows.Controls.Border)(target)); return; case 9: this.BugTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.CreateProjectUiUserControl = ((EasyBugManager.CreateProjectUiControl)(target)); return; case 2: this.BackgroundBorder = ((System.Windows.Controls.Border)(target)); return; case 3: this.TipTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.ProjectNameTextBox = ((System.Windows.Controls.TextBox)(target)); #line 75 "..\..\..\..\..\Xaml\Control\Ui\CreateProjectUiControl.xaml" this.ProjectNameTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ProjectNameTextBox_TextChanged); #line default #line hidden return; case 5: this.AdvancedOptionsButtonGrid = ((System.Windows.Controls.Grid)(target)); return; case 6: this.EnAdvancedOptionsButton = ((EasyBugManager.ImageButtonControl)(target)); return; case 7: this.CnAdvancedOptionsButton = ((EasyBugManager.ImageButtonControl)(target)); return; case 8: this.AdvancedOptionsCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 9: this.IsCollaborationModeBorder = ((System.Windows.Controls.Border)(target)); return; case 10: this.IsCollaborationModeCheckControl = ((EasyBugManager.ImageCheckControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ImageButtonUserControl = ((EasyBugManager.ImageButtonControl)(target)); return; case 2: this.BaseButton = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\..\..\..\Xaml\Control\Base\ImageButtonControl.xaml" this.BaseButton.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_OnPreviewMouseDown); #line default #line hidden #line 20 "..\..\..\..\..\Xaml\Control\Base\ImageButtonControl.xaml" this.BaseButton.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_OnPreviewMouseUp); #line default #line hidden #line 21 "..\..\..\..\..\Xaml\Control\Base\ImageButtonControl.xaml" this.BaseButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BaseButton_OnMouseEnter); #line default #line hidden #line 22 "..\..\..\..\..\Xaml\Control\Base\ImageButtonControl.xaml" this.BaseButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BaseButton_OnMouseLeave); #line default #line hidden #line 23 "..\..\..\..\..\Xaml\Control\Base\ImageButtonControl.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; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.BugListItemContextMenuUserControl = ((EasyBugManager.BugListItemContextMenuControl)(target)); return; case 2: this.ContextMenuPanel = ((System.Windows.Controls.Grid)(target)); return; case 3: this.BaseBorder = ((System.Windows.Controls.Border)(target)); return; case 4: this.ProgressButtonControl = ((EasyBugManager.ImageButtonControl)(target)); return; case 5: this.DeleteButtonControl = ((EasyBugManager.ImageButtonControl)(target)); return; case 6: this.MoreButtonControl = ((EasyBugManager.ImageButtonControl)(target)); return; case 7: this.Line1Border = ((System.Windows.Controls.Border)(target)); return; case 8: this.Line2Border = ((System.Windows.Controls.Border)(target)); return; case 9: this.Line3Border = ((System.Windows.Controls.Border)(target)); return; case 10: this.ProgressPanel = ((System.Windows.Controls.Primitives.Popup)(target)); #line 102 "..\..\..\..\..\..\Xaml\Control\Perfab\ListUi\BugListItemContextMenuControl.xaml" this.ProgressPanel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ProgressPanel_MouseLeave); #line default #line hidden #line 103 "..\..\..\..\..\..\Xaml\Control\Perfab\ListUi\BugListItemContextMenuControl.xaml" this.ProgressPanel.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ProgressPanel_MouseEnter); #line default #line hidden return; case 11: this.ProgressBorder = ((System.Windows.Controls.Border)(target)); return; case 12: this.ProgressCheckGroup = ((EasyBugManager.ImageCheckGroupControl)(target)); return; case 13: this.PriorityPanel = ((System.Windows.Controls.Primitives.Popup)(target)); #line 147 "..\..\..\..\..\..\Xaml\Control\Perfab\ListUi\BugListItemContextMenuControl.xaml" this.PriorityPanel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.PriorityPanel_MouseLeave); #line default #line hidden #line 148 "..\..\..\..\..\..\Xaml\Control\Perfab\ListUi\BugListItemContextMenuControl.xaml" this.PriorityPanel.MouseEnter += new System.Windows.Input.MouseEventHandler(this.PriorityPanel_MouseEnter); #line default #line hidden return; case 14: this.PriorityBorder = ((System.Windows.Controls.Border)(target)); return; case 15: this.PriorityCheckGroup = ((EasyBugManager.ImageCheckGroupControl)(target)); return; } this._contentLoaded = true; }