/// <summary> /// 关闭窗口 /// </summary> /// <param name="e"></param> protected override void OnClosing(CancelEventArgs e) { VideoCapture.Close(); base.OnClosing(e); }
/// <summary> /// /// </summary> public void Stop() { VideoCapture.Close(); }