예제 #1
0
        public CriticalErrorEventArgs(string controlName, VidGrab.TOnLogEventArgs log)
        {
            this.Log         = log;
            this.ControlName = controlName;


            if (log.logType == VidGrab.TLogType.e_failed_to_start_preview || log.logType == VidGrab.TLogType.e_failed_to_start_recording)
            {
                log.infoMsg = "No se pudo iniciar la grabación. Por favor verifique la configuración";
            }
        }
예제 #2
0
 private void vgPreview_OnLog(object sender, VidGrab.TOnLogEventArgs e)
 {
     txtLogPreview.Text += string.Format("{0} - {1}{2}", e.severity, e.infoMsg, System.Environment.NewLine);
 }
예제 #3
0
 private void videoGrabber_OnLog(object sender, VidGrab.TOnLogEventArgs e)
 {
     txtLog.Text += string.Format("{0}\n", e.infoMsg);
 }