Example #1
0
 private void SendBitmap(Bitmap bitmap)
 {
     foreach (var bus in BitmapBuses.Reverse <IDataBus <Bitmap> >())
     {
         if (bus.SendData(bitmap))
         {
             continue;
         }
     }
 }
Example #2
0
        public void EndCapture(Bitmap bitmap)
        {
            CaptureMode = CaptureMode.Unknown;

            if (bitmap == null)
            {
                return;
            }

            foreach (var bus in BitmapBuses.Reverse <IDataBus <Bitmap> >())
            {
                if (bus.SendData(bitmap))
                {
                    return;
                }
            }
        }