Beispiel #1
0
        //public bool StartRecordVideo()
        //{

        //}


        public void CloseCamera()
        {
            try
            {
                CMyVideo.Close();
            }
            catch
            {
            }
        }
Beispiel #2
0
 public void Camera_Resize(object sender, EventArgs e)
 {
     try
     {
         CMyVideo.SetVideoDlgRect(0, 0, this.Width, this.Height);
         CMyVideo.MoveVideoDlg();
     }
     catch
     {
     }
 }
Beispiel #3
0
 public bool CaptureImage(string path)
 {
     try
     {
         CMyVideo.WCaptureImage(channel, path);
         return(true);
     }
     catch
     {
         return(false);
     }
 }
Beispiel #4
0
 private void Camera_Load(object sender, EventArgs e)
 {
     try
     {
         int a = CMyVideo.CreateVideoDlg(this.Handle, 0, 0, 800, 600);//this.Width, this.Height);
         CMyVideo.SetVideoDlgRect(0, 0, this.Width, this.Height);
         CMyVideo.MoveVideoDlg();
         CMyVideo.SelectChannel(channel);
     }
     catch
     {
     }
 }