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.

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

commented: Nice algorithm. +14
commented: good solution :) +3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.