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; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.CreateProjectButtonUserControl = ((EasyBugManager.CreateProjectButtonControl)(target)); return; case 2: this.BaseButton = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\CreateProjectButtonControl.xaml" this.BaseButton.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_OnPreviewMouseDown); #line default #line hidden #line 20 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\CreateProjectButtonControl.xaml" this.BaseButton.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_OnPreviewMouseUp); #line default #line hidden #line 21 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\CreateProjectButtonControl.xaml" this.BaseButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BaseButton_OnMouseEnter); #line default #line hidden #line 22 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\CreateProjectButtonControl.xaml" this.BaseButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BaseButton_OnMouseLeave); #line default #line hidden #line 23 "..\..\..\..\..\..\Xaml\Control\Perfab\MainUi\CreateProjectButtonControl.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; }