Beispiel #1
0
 // 退出时保存录像
 private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (isRecord)
     {
         Booth.fnStopRecord();
         this.Dispose(true);
         Application.Exit();
     }
     CSAVFrameWork.uninitialize();
 }