Example #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     mainMetronome = new Metronome(1000, this);
     mainBeeper = new Beeper(mainMetronome, "blip1.wav");
     mainCounter = new Counter(mainMetronome, numericUpDown1);
     mainTimeDisplay = new TimeDisplay(mainMetronome, listBox1);
 }
Example #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     mainMetronome   = new Metronome(1000, this);
     mainBeeper      = new Beeper(mainMetronome, "blip1.wav");
     mainCounter     = new Counter(mainMetronome, numericUpDown1);
     mainTimeDisplay = new TimeDisplay(mainMetronome, listBox1);
 }
Example #3
0
 private void Form1_Load(object sender, EventArgs e)
 {
     mainMetronome   = new Metronome(1000, this);
     mainBeeper      = new Beeper(mainMetronome, "blip1.wav");
     mainCounter     = new Counter(mainMetronome, numericUpDown1);
     mainTimeDisplay = new TimeDisplay(mainMetronome, listBox1);
     //mainThread = new Thread(mainMetronome.start); //Can't go in FormLoad once stopped can't be started again.
 }
Example #4
0
 private void Form1_Load(object sender, EventArgs e)
 {
     mainMetronome = new Metronome(1000, this);
     mainBeeper = new Beeper(mainMetronome, "blip1.wav");
     mainCounter = new Counter(mainMetronome, numericUpDown1);
     mainTimeDisplay = new TimeDisplay(mainMetronome, listBox1);
     //mainThread = new Thread(mainMetronome.start); //Can't go in FormLoad once stopped can't be started again.
 }