Call One control Index to another control index using C#.Net

Posted by Naraayanan under C# on 6/19/2012 | Points: 10 | Views : 797 | Status : [Member] | Replies : 1
How to call One Control index to another Control index using for Windows Application?

The following controls are used in my Project:
Picture Box and Timer.
In these controls are created dynamically.
My Question is:
How to call a Picture Box index value in Timer tick event.?Please give an Idea ...

Timer one will tick when user clicks picture Box one
Timer two will tick when user clicks picture Box two
it will go up to loop end..
One condition:
Second timer will tick when First Timer finished. So how to do this ?Please Help Me...
Lakshmi Narayanan.S

Lakshmi Naraayanan.S


Posted by: Santhiram on: 6/19/2012 [Member] Starter | Points: 25

private void pictureBox1_Click(object sender, EventArgs e)
timer1.Enabled = true;
private void pictureBox2_Click(object sender, EventArgs e)
timer2.Enabled = true;

//To show time inTimer Tick this..

int n;
private void timer1_Tick(object sender, EventArgs e)
label1.Text = n.ToString();

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response