void video_AlarmCallback(object sender, AlarmEventArgs e)
 {
 }
 protected virtual void OnAnalyzeEnd(AlarmEventArgs e)
 {
     if (this.Alarm != null) this.Alarm(this, e);
 }
 protected virtual void OnAnalyzeAlarm(AlarmEventArgs e, Bitmap frame)
 {
     if (this.Alarm != null) this.Alarm(this, e);
 }
 protected virtual void OnAnalyzeBegin(AlarmEventArgs e)
 {
 }
        protected override void OnAnalyzeAlarm(AlarmEventArgs e, Bitmap frame)
        {
            if (this.AnalyzeShow != null && !this.AnalyzeShow.IsDisposed)
            {
                this.AnalyzeShow.CreateGraphics().DrawImage(frame, 0, 0, this.AnalyzeShow.ClientSize.Width, this.AnalyzeShow.ClientSize.Height);
            }

            base.OnAnalyzeAlarm(e, frame);

            if (this.soundPlayerDingDong != null) soundPlayerDingDong.Play();
        }