Beispiel #1
0
 private void buttonSnap_Click(object sender, EventArgs e)
 {
     if (m_Grabber != IntPtr.Zero)
     {
         MvApi.CameraGrabber_SaveImageAsync(m_Grabber);
     }
 }
Beispiel #2
0
        private void buttonSnapAll_Click(object sender, EventArgs e)
        {
            m_saveFilenames = "";
            m_countFiles    = 0;

            for (int i = 0; i < CAMERA_NUM; i++)
            {
                if (m_Grabber[i] != IntPtr.Zero)
                {
                    MvApi.CameraGrabber_SaveImageAsync(m_Grabber[i]);
                }
            }
        }