Monday 23 June 2014

How to show label in blinking style in WinForms



If you want to show label in blinking style in WinForms Please use the given below Query.

private void Test_Load(object sender, EventArgs e) //PageLoad
{
    timer1.Interval = 250;
    timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
    this.label1.Visible = !this.label1.Visible;
}



Thank You.

No comments:

Post a Comment