Exemplo n.º 1
0
 public UCPreviewer(SharpWebcamAcquirer parent)
 {
     this.InitializeComponent();
     this.startButton.Focus();
     base.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
     this.listView1.LargeImageList = this._iconlist;
     this.listView1.MultiSelect    = false;
     this.listView1.DoubleClick   += new EventHandler(this.ListView1_DoubleClick);
     base.HandleDestroyed         += new EventHandler(this.UCPreviewer_HandleDestroyed);
     this._parent              = parent;
     this._iconlist.ImageSize  = new Size(this._parent.GetSetting().ThumbWidth, this._parent.GetSetting().ThumbHeight);
     this._iconlist.ColorDepth = ColorDepth.Depth24Bit;
     this.InitWebcams();
 }
 public NestSetting(SharpWebcamAcquirer acq)
 {
     this._acq = acq;
 }