示例#1
0
 /// <summary>
 /// сохранение изображения
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void button_SaveImage_Click(object sender, RoutedEventArgs e)
 {
     Camera_HelperClass.SaveImageCapture((BitmapSource)imgCaptured.Source);
 }
示例#2
0
 /// <summary>
 /// Захват изображения
 /// </summary>
 /// <param name="source"></param>
 /// <param name="e"></param>
 void webcam_ImageCaptured(object source, WebcamEventArgs e)
 {
     Frame_Img.Source = Camera_HelperClass.LoadBitmap((System.Drawing.Bitmap)e.WebCamImage);
 }