Exemple #1
0
        private void cbDevices_SelectedIndexChanged(object sender, EventArgs e)
        {
            mSelectedDevice    = mDevices[cbDevices.SelectedIndex];
            mDeviceResolutions = QuickCam.GetAvailableResolutions(mSelectedDevice);

            cbResolutions.Items.Clear();
            cbResolutions.Items.AddRange(mDeviceResolutions);
        }
Exemple #2
0
        private void cbResolutions_SelectedIndexChanged(object sender, EventArgs e)
        {
            mSelectedResolution = mDeviceResolutions[cbResolutions.SelectedIndex];

            if (mCam != null)
            {
                mCam.Dispose();
            }

            mCam = new QuickCam(mSelectedDevice, mSelectedResolution);
            mCam.ResetPTZ();
        }
Exemple #3
0
        private void CamForm_Load(object sender, EventArgs e)
        {
            mDevices = QuickCam.GetAvailableDevices();

            cbDevices.Items.AddRange(mDevices);
        }