How to fire Button_Click() event inside Timer_tick() event?

Posted by Kamalakanta.Nayak09 under C# on 6/15/2012 | Points: 10 | Views : 1032 | Status : [Member] | Replies : 2
How to fire Button_Click() event in side the Timer_Tick() event in .net windows form application project?
So that what code is written in Button_Click() will be executed continuously according time interval set.

Thanks,
K.K



Responses

Posted by: Sekar.C on: 6/15/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
Refer this url
http://msdn.microsoft.com/en-us/library/system.windows.forms.timer.tick.aspx

Regards
Sekar.c

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

Posted by: Ashyour on: 6/21/2012 [Member] Starter | Points: 25

Up
0
Down
public void Timer_Tick(object sender , EventArgs e)

{
Button_CLick(sender,e);
}


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

Login to post response