Ejemplo n.º 1
0
        public WinMain()
        {
            InitializeComponent();

            m_rdn = new RegisterDeviceNotifications(this.Handle, KSCATEGORY_CAPTURE);

            // Create the object that manages video preview.
            m_pPreview = new CPreview(picbCapture.Handle, this.Handle);
        }
Ejemplo n.º 2
0
        public WinMain()
        {
            InitializeComponent();

            m_rdn = new RegisterDeviceNotifications(this.Handle, KSCATEGORY_CAPTURE);

            // Create the object that manages video preview.
            m_pPreview = new CPreview(picbCapture.Handle, this.Handle);
        }
Ejemplo n.º 3
0
 private void WinMain_FormClosed(object sender, FormClosedEventArgs e)
 {
     m_pPreview.Dispose();
     m_pPreview = null;
 }
Ejemplo n.º 4
0
 private void WinMain_FormClosed(object sender, FormClosedEventArgs e)
 {
     m_pPreview.Dispose();
     m_pPreview = null;
 }