private void Form1_Unload(object sender, EventArgs e) { m_wMonitor.Stop(); m_wCapture.EndCaptureSession(); }
private void WCXExample_Unloaded(object sender, RoutedEventArgs e) { m_wMonitor.Stop(); m_wCapture.EndCaptureSession(); }