Example #1
0
        protected override void OnSequenceEnded(SequenceEventArgs e)
        {
            base.OnSequenceEnded(e);

            // May be the result of a natural end we caused or the user forcing a stop.
            _StopScript();
        }
Example #2
0
 private void _ProgramExecutorSequenceEnded(object sender, SequenceEventArgs e)
 {
     OnSequenceEnded(e);
 }
Example #3
0
 protected virtual void OnSequenceEnded(SequenceEventArgs e)
 {
     if (SequenceEnded != null) {
         SequenceEnded(this, e);
     }
 }
Example #4
0
        protected void context_SequenceEnded(object sender, SequenceEventArgs e)
        {
            //This is for the delayed play options
            if (delayOffToolStripMenuItem.Checked == false)
            {
                //MessageBox.Show("SHOWING STATUS BAR");
                toolStripStatusLabel3.Visible = toolStripStatusLabel_delayPlay.Visible = true;
                toolStripStatusLabel_delayPlay.Text = string.Format("{0} Seconds", timerPostponePlay.Interval / 1000);
            }

            timerPlaying.Stop();
            _TimingSource = null;
        }
Example #5
0
 private void _context_SequenceEnded(object sender, SequenceEventArgs e)
 {
     _context.Error -= _context_Error;
     _context.Message -= _context_Message;
     _context.SequenceEnded -= _context_SequenceEnded;
     VixenSystem.Contexts.ReleaseContext(_context);
     _context = null;
 }
 protected void context_SequenceEnded(object sender, SequenceEventArgs e)
 {
 }
Example #7
0
 private void _SequenceExecutorSequenceEnded(object sender, SequenceEventArgs e)
 {
     DataSource.Stop();
     _NextSequence(() =>
                   	{
                   		_state = RunState.Stopped;
                   		_ProgramEnded();
                   	});
     OnSequenceEnded(e);
 }
Example #8
0
 private void _SequenceExecutorSequenceEnded(object sender, SequenceEventArgs e)
 {
     CurrentEffects.Reset();
     OnSequenceEnded(e);
     OnContextEnded(EventArgs.Empty);
 }
 protected void context_SequenceEnded(object sender, SequenceEventArgs e)
 {
     timerPlaying.Stop();
     _TimingSource = null;
 }
Example #10
0
 private void _SequenceExecutorSequenceEnded(object sender, SequenceEventArgs e)
 {
     OnSequenceEnded(e);
     OnContextEnded(EventArgs.Empty);
 }
Example #11
0
 void _programExecutor_SequenceEnded(object sender, SequenceEventArgs e)
 {
     if(SequenceEnded != null) {
         SequenceEnded(this, e);
     }
 }
Example #12
0
 protected override void OnSequenceEnded(SequenceEventArgs e)
 {
     base.OnSequenceEnded(e);
     _dataSource.Stop();
 }