public void buttonClicked(object sender, EventArgs e)
{
Button buttonclicked = (Button) sender:
if(buttonclicked.Name == "Button1")
{
counterA.start();
counterB.start();
counterC.start();
counterD.start();
targetSetting.Enabled = false;
button1.Enabled = false;
aStartBtn.Enabled = false;
bStartBtn.Enabled = false;
cStartBtn.Enabled = false;
saveButton.Enabled = false;
resetButton.Enabled = false;
}
if(buttonclicked.Name == "bc288StartBtn")
{
counterA.start();
targetSetting.Enabled = false;
aStartBtn.Enabled = false;
bStartBtn.Enabled = false;
cStartBtn.Enabled = false;
//saveButton.Enabled = false;
resetButton.Enabled = false;
button1.Enabled = false;
}
}