Inheritance: Image, IDisposable
Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WebCamWindow = ((GenericVA.Views.WebCamView)(target));
     return;
     case 2:
     this.webcamComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 3:
     this.PlaneratorPointer = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.webcamPlayer = ((CatenaLogic.Windows.Presentation.WebcamPlayer.CapPlayer)(target));
     return;
     case 5:
     this.captureImageNowButton = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.addCapturedImagesToCollection = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.rotationSlider = ((System.Windows.Controls.Slider)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WindowCamera = ((GenericVA.WCamera)(target));
     
     #line 7 "..\..\WCamera.xaml"
     this.WindowCamera.Loaded += new System.Windows.RoutedEventHandler(this.WindowCamera_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.webcam1ComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 3:
     this.webcamPlayer1 = ((CatenaLogic.Windows.Presentation.WebcamPlayer.CapPlayer)(target));
     return;
     case 4:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     
     #line 57 "..\..\WCamera.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCapture_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 58 "..\..\WCamera.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }