private void SetImageDataSource(IBitmapDataSource dataSource)
 {
     this.Clear();
     this.activeDataSources.Add(dataSource);
     this.videoControl.SetImageSource(dataSource);
     dataSource.Start();
 }
Ejemplo n.º 2
0
 private void SetImageDataSource(IBitmapDataSource dataSource)
 {
     this.Clear();
     this.activeDataSources.Add(dataSource);
     this.videoControl.SetImageSource(dataSource);
     dataSource.Start();
 }
Ejemplo n.º 3
0
 public void SetImageSource(IBitmapDataSource imageSource)
 {
     if (this.imageSource != null)
     {
         imageSource.NewDataAvailable -= new NewDataHandler <Bitmap>(imageSource_NewImageAvailable);
     }
     this.imageSource              = imageSource;
     imageSource.NewDataAvailable += new NewDataHandler <Bitmap>(imageSource_NewImageAvailable);
 }
Ejemplo n.º 4
0
 public void SetImageSource(IBitmapDataSource imageSource)
 {
     if (this.imageSource != null) 
     {
         imageSource.NewDataAvailable -= new NewDataHandler<Bitmap>(imageSource_NewImageAvailable);    
     }
     this.imageSource = imageSource;
     imageSource.NewDataAvailable += new NewDataHandler<Bitmap>(imageSource_NewImageAvailable);
 }
Ejemplo n.º 5
0
 public VideoControl(IBitmapDataSource imageSource)
     : this()
 {
     this.SetImageSource(imageSource);
 }
Ejemplo n.º 6
0
 public VideoControl(IBitmapDataSource imageSource)
     : this()
 {
     this.SetImageSource(imageSource);
 }