void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TabControl = ((Bornander.UI.TabCarousel.Carousel)(target)); return; case 2: this.button_previous = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\..\Pages\PageCarousel.xaml" this.button_previous.Click += new System.Windows.RoutedEventHandler(this.button_previous_Click); #line default #line hidden return; case 3: this.button_next = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\Pages\PageCarousel.xaml" this.button_next.Click += new System.Windows.RoutedEventHandler(this.button_next_Click); #line default #line hidden return; case 4: #line 47 "..\..\..\Pages\PageCarousel.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.clickOpenFromFileClick); #line default #line hidden return; case 5: #line 51 "..\..\..\Pages\PageCarousel.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.searchClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TabControl = ((Bornander.UI.TabCarousel.Carousel)(target)); return; case 2: #line 15 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandlePrevious); #line default #line hidden return; case 3: #line 16 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleNext); #line default #line hidden return; case 4: #line 22 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GotoIndex); #line default #line hidden return; case 5: this.TargetIndex = ((System.Windows.Controls.Slider)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.backgroundImage = ((System.Windows.Media.ImageBrush)(target)); return; case 2: this.TabControl = ((Bornander.UI.TabCarousel.Carousel)(target)); #line 41 "..\..\..\Pages\Page2.xaml" this.TabControl.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.TabControl_TouchDown); #line default #line hidden return; case 3: #line 45 "..\..\..\Pages\Page2.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuRuClick); #line default #line hidden #line 45 "..\..\..\Pages\Page2.xaml" ((System.Windows.Controls.MenuItem)(target)).TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.MenuRuClick); #line default #line hidden return; case 4: #line 48 "..\..\..\Pages\Page2.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuEngclick); #line default #line hidden #line 48 "..\..\..\Pages\Page2.xaml" ((System.Windows.Controls.MenuItem)(target)).TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.MenuEngclick); #line default #line hidden return; case 5: this.button_previous = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\..\Pages\Page2.xaml" this.button_previous.Click += new System.Windows.RoutedEventHandler(this.HandleNext); #line default #line hidden #line 52 "..\..\..\Pages\Page2.xaml" this.button_previous.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.HandleNext); #line default #line hidden return; case 6: this.button_next = ((System.Windows.Controls.Button)(target)); #line 76 "..\..\..\Pages\Page2.xaml" this.button_next.Click += new System.Windows.RoutedEventHandler(this.HandlePrevious); #line default #line hidden #line 76 "..\..\..\Pages\Page2.xaml" this.button_next.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.HandlePrevious); #line default #line hidden return; } this._contentLoaded = true; }