The other issue is that I have no idea how to have the timer start the race. I don't see any way to START the timer_Tick method with the Race button click. So I put the Run() method under the button click.
private void button1_Click(object sender, EventArgs e)
{
timer1.Start();
int i = 0;
int Winner;
bool noWinner = true;
while (noWinner)
{
while (!Dogs[i].Run())
{
for (i = 0; i < 4; i++)
{
if (i < 4)
{
Dogs[i].Run();
}
else
{
i = 0;
}
}
noWinner = false;
Winner = i;
}
timer1.Stop();
MessageBox.Show("We have a winner!");
}
}











