Example #1
0
        public override void onMetronomeEvent(object sender, metronomeEventArgs e)
        {
            this.demoThread = new Thread(new ThreadStart(this.setControl));
            this.demoThread.Start();

            //spinBox.Value++;
        }
Example #2
0
        public override void onMetronomeEvent(object sender, metronomeEventArgs e)
        {
            this.TimeThread = new Thread(new ThreadStart(this.setControl));
            this.TimeThread.Start();

            currDateTime = e.currentTime;

            // listBox.Items.Add(currDateTime.ToString());
        }
Example #3
0
        public void onMetronomeEvent()
        {
            DateTime           now = DateTime.Now;
            metronomeEventArgs e   = new metronomeEventArgs(now);

            if (metronomeEvent != null)
            {
                metronomeEvent(this, e);
            }
        }
Example #4
0
 public override void onMetronomeEvent(object sender, metronomeEventArgs e)
 {
     soundPlayer.Play();
 }
Example #5
0
 public virtual void onMetronomeEvent(object sender, metronomeEventArgs e)
 {
     MessageBox.Show("Tick tock");
 }