I want to know how can I achieve this goal?
private void btnProcess_Click(object sender, EventArgs e)
{
timer1.Start();
//100 plus line of code here
timer1.Stop();
}
int i = 0;
private void timer1_Tick(object sender, EventArgs e)
{
i++;
label1.text = i.toString();
}
I want to happen is that when I press the button the timer will run and display the time in label1.text and it will stop until it will reach the timer stop function
???