void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.spinWheelUserControl = ((CarnivalCorp.Gangway.UI.UserControls.SpinWheelUserControl)(target));
     
     #line 4 "..\..\..\UserControls\SpinWheelUserControl.xaml"
     this.spinWheelUserControl.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.SpinWheelUserControl_IsVisibleChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.spinWheel = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cameraWindow = ((CarnivalCorp.Gangway.UI.Views.Camera)(target));
     
     #line 14 "..\..\..\Views\Camera.xaml"
     this.cameraWindow.Loaded += new System.Windows.RoutedEventHandler(this.CameraWindow_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 29 "..\..\..\Views\Camera.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.videoCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.tabHelpTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.imageScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 6:
     this.photoRegionsCanvas = ((System.Windows.Controls.Canvas)(target));
     
     #line 42 "..\..\..\Views\Camera.xaml"
     this.photoRegionsCanvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.PhotoRegionsCanvas_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 42 "..\..\..\Views\Camera.xaml"
     this.photoRegionsCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PhotoRegionsCanvas_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 43 "..\..\..\Views\Camera.xaml"
     this.photoRegionsCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.PhotoRegionsCanvas_MouseMove);
     
     #line default
     #line hidden
     return;
     case 7:
     this.capturedImage = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.resizePhotoRegionsSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 55 "..\..\..\Views\Camera.xaml"
     this.resizePhotoRegionsSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.ResizePhotoRegionsSlider_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.takePictureButton = ((System.Windows.Controls.Button)(target));
     
     #line 63 "..\..\..\Views\Camera.xaml"
     this.takePictureButton.Click += new System.Windows.RoutedEventHandler(this.TakePictureButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.cameraSettingsHyperlink = ((System.Windows.Controls.Border)(target));
     
     #line 68 "..\..\..\Views\Camera.xaml"
     this.cameraSettingsHyperlink.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.CameraSettingsHyperlink_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 11:
     this.switchToVideoButton = ((System.Windows.Controls.Button)(target));
     
     #line 74 "..\..\..\Views\Camera.xaml"
     this.switchToVideoButton.Click += new System.Windows.RoutedEventHandler(this.SwitchToVideoButton_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.saveButton = ((System.Windows.Controls.Button)(target));
     
     #line 89 "..\..\..\Views\Camera.xaml"
     this.saveButton.Click += new System.Windows.RoutedEventHandler(this.SavePhotoButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.loadingMessageTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.maskSpinWheel = ((CarnivalCorp.Gangway.UI.UserControls.SpinWheelUserControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.shell = ((CarnivalCorp.Gangway.UI.Views.Shell)(target));
     
     #line 11 "..\..\..\Views\Shell.xaml"
     this.shell.Loaded += new System.Windows.RoutedEventHandler(this.Shell_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.maskSpinWheel = ((CarnivalCorp.Gangway.UI.UserControls.SpinWheelUserControl)(target));
     return;
     case 3:
     this.maskingGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.backImage = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.SearchTextbox = ((System.Windows.Controls.TextBox)(target));
     
     #line 229 "..\..\..\Views\Shell.xaml"
     this.SearchTextbox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.SearchTextbox_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 6:
     this.searchButton = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.workAreaContentControl = ((System.Windows.Controls.ContentControl)(target));
     return;
     case 8:
     this.disabledAlertContentControl = ((System.Windows.Controls.ContentControl)(target));
     return;
     case 9:
     this.batteryStatus = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }