void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Root = ((DGP_Snap.Views.WallpaperView)(target)); #line 9 "..\..\..\Views\WallpaperView.xaml" this.Root.Loaded += new System.Windows.RoutedEventHandler(this.Root_Loaded); #line default #line hidden return; case 2: this.WallPaperImage = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Root = ((DGP_Snap.Views.WallpaperView)(target)); #line 10 "..\..\..\Views\WallpaperView.xaml" this.Root.Loaded += new System.Windows.RoutedEventHandler(this.Root_Loaded); #line default #line hidden return; case 2: this.OpacityMaskRect = ((System.Windows.Shapes.Rectangle)(target)); return; case 3: this.WallPaperImage = ((System.Windows.Controls.Image)(target)); return; case 4: this.BottomBar = ((System.Windows.Controls.Grid)(target)); return; case 5: this.SwitchBaidu = ((MahApps.Metro.Controls.ToggleSwitch)(target)); #line 46 "..\..\..\Views\WallpaperView.xaml" this.SwitchBaidu.IsCheckedChanged += new System.EventHandler(this.ToggleSwitch_IsCheckedChanged); #line default #line hidden return; case 6: this.Switch360 = ((MahApps.Metro.Controls.ToggleSwitch)(target)); #line 47 "..\..\..\Views\WallpaperView.xaml" this.Switch360.IsCheckedChanged += new System.EventHandler(this.ToggleSwitch_IsCheckedChanged); #line default #line hidden return; case 7: this.SwitchBing = ((MahApps.Metro.Controls.ToggleSwitch)(target)); #line 48 "..\..\..\Views\WallpaperView.xaml" this.SwitchBing.IsCheckedChanged += new System.EventHandler(this.ToggleSwitch_IsCheckedChanged); #line default #line hidden return; case 8: this.WallPaperImageOpacitySlider = ((System.Windows.Controls.Slider)(target)); return; case 9: this.DownloadWallPaperButton = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\..\Views\WallpaperView.xaml" this.DownloadWallPaperButton.Click += new System.Windows.RoutedEventHandler(this.DownloadWallPaperButton_Click); #line default #line hidden return; case 10: this.SwitchWallPaperButton = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\..\Views\WallpaperView.xaml" this.SwitchWallPaperButton.Click += new System.Windows.RoutedEventHandler(this.SwitchWallPaperButton_Click); #line default #line hidden return; } this._contentLoaded = true; }