void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 6 "..\..\MainWindow.xaml" ((UserWallPaper.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed_1); #line default #line hidden return; case 2: this.maingrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.menugrid = ((System.Windows.Controls.Grid)(target)); #line 32 "..\..\MainWindow.xaml" this.menugrid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Menu_MouseEnter_1); #line default #line hidden #line 32 "..\..\MainWindow.xaml" this.menugrid.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Menu_MouseLeave_1); #line default #line hidden return; case 4: this.menu = ((System.Windows.Controls.ListBox)(target)); return; case 5: #line 59 "..\..\MainWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_Click_1); #line default #line hidden return; case 6: #line 60 "..\..\MainWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TimeList_Click); #line default #line hidden return; case 7: this.previous = ((System.Windows.Controls.Image)(target)); #line 61 "..\..\MainWindow.xaml" this.previous.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.previous_Click); #line default #line hidden return; case 8: this.next = ((System.Windows.Controls.Image)(target)); #line 62 "..\..\MainWindow.xaml" this.next.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.next_Click); #line default #line hidden return; case 9: this.first = ((System.Windows.Controls.TextBox)(target)); #line 63 "..\..\MainWindow.xaml" this.first.KeyDown += new System.Windows.Input.KeyEventHandler(this.first_KeyDown); #line default #line hidden return; case 10: this.last = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.minus = ((System.Windows.Controls.Image)(target)); #line 66 "..\..\MainWindow.xaml" this.minus.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_Click_2); #line default #line hidden return; case 12: this.plus = ((System.Windows.Controls.Image)(target)); #line 67 "..\..\MainWindow.xaml" this.plus.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_Click_2); #line default #line hidden return; case 13: #line 68 "..\..\MainWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DefaultCursor); #line default #line hidden return; case 14: this.picker = ((UserWallPaper.PickerControl)(target)); return; case 15: this.menuthick = ((UserWallPaper.ThickControl)(target)); return; case 16: this.brushpicker = ((UserWallPaper.BrushControl)(target)); return; case 17: #line 74 "..\..\MainWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Text_click); #line default #line hidden return; case 18: #line 75 "..\..\MainWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Erase_Click); #line default #line hidden return; case 19: this.bookmark = ((UserWallPaper.BookmarkControl)(target)); return; case 20: this.menu_mode = ((System.Windows.Controls.Image)(target)); #line 78 "..\..\MainWindow.xaml" this.menu_mode.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Mode_Click); #line default #line hidden return; case 21: #line 79 "..\..\MainWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MenuPin_Click); #line default #line hidden return; case 22: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 23: this.pdfscroll = ((System.Windows.Controls.ScrollViewer)(target)); #line 85 "..\..\MainWindow.xaml" this.pdfscroll.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewer_MouseWheel_1); #line default #line hidden #line 85 "..\..\MainWindow.xaml" this.pdfscroll.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.ScrollViewer_ScrollChanged_1); #line default #line hidden return; case 24: this.pdf = ((UserWallPaper.CustomControl.MyInkCanvas)(target)); return; case 25: this.st = ((System.Windows.Media.ScaleTransform)(target)); return; case 26: this.Note = ((System.Windows.Controls.Grid)(target)); return; case 27: #line 96 "..\..\MainWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.NotePin_Click); #line default #line hidden return; case 28: this.notepad = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.user = ((UserWallPaper.ThickControl)(target)); return; case 2: this.image = ((System.Windows.Controls.Image)(target)); return; case 3: this.myToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 51 "..\..\..\UserControl\ThickControl.xaml" this.myToggle.Checked += new System.Windows.RoutedEventHandler(this.myToggle_Checked); #line default #line hidden #line 51 "..\..\..\UserControl\ThickControl.xaml" this.myToggle.Unchecked += new System.Windows.RoutedEventHandler(this.myToggle_Checked); #line default #line hidden return; case 4: this.Popup = ((System.Windows.Controls.Primitives.Popup)(target)); #line 59 "..\..\..\UserControl\ThickControl.xaml" this.Popup.Closed += new System.EventHandler(this.Popup_Closed); #line default #line hidden return; case 5: #line 89 "..\..\..\UserControl\ThickControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 6: #line 90 "..\..\..\UserControl\ThickControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 7: #line 91 "..\..\..\UserControl\ThickControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 8: #line 92 "..\..\..\UserControl\ThickControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; } this._contentLoaded = true; }