0

timer i have two labels in C# windows Application and i want make it visilbe for once.

on form load :

label1.visible = true;
label2.visible.false;

and on timer tick event:

label1.visible.false;
label2.visivle = true;

now after it perform one tick it display another form. how to do it.

in my code it runs properly but where i load the new form.

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by abelLazm
3

call another function in timer_tick and in that function disable timer and load the new form and when you come back to form 1 then again enable the timer

Votes + Comments
good solution :)
Nice algorithm.
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.