Beispiel #1
0
 /// <summary>
 /// 启动实时画面预览
 /// </summary>
 /// <param name="picA">角度图像显示的picBox</param>
 /// <param name="picB">位移图像显示的picBox</param>
 public void StartPreview(PictureBox picA, PictureBox picB)
 {
     if (!IsPreviewing)
     {
         CamLeft.StartPreview(picA);
         CamRight.StartPreview(picB);
         IsPreviewing = true;
     }
 }
Beispiel #2
0
 /// <summary>
 /// 启动实时画面预览
 /// </summary>
 /// <param name="picA">角度图像显示的picBox</param>
 /// <param name="picB">位移图像显示的picBox</param>
 public void StartPreview(PictureBox picA, PictureBox picB)
 {
     CamLeft.StartPreview(picA.Handle);
     CamRight.StartPreview(picB.Handle);
     IsPreviewing = true;
 }