Exemplo n.º 1
0
 private void timPool_Tick(object sender, EventArgs e)
 {
     if (((this._imgpool.Count == 0) || this.IsCapture) || (this.optionForm || !this.IsStart))
     {
         this.timPool.Stop();
     }
     else
     {
         using (ScrapSource source = this._imgpool.Dequeue())
         {
             this.CreateScrapFromsource(source);
         }
     }
 }
Exemplo n.º 2
0
 private void CreateScrapFromsource(ScrapSource src)
 {
     this.CreateScrapFromImage(src.GetImage(), src.GetPosition());
 }
Exemplo n.º 3
0
 public void AddImageList(ScrapSource src)
 {
     this._imgpool.Enqueue(src);
     this.timPool.Start();
 }