Click here to Skip to main content
15,885,720 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to show label in blinking style but i dont know how to do this task...so plz help me...............
Posted
Comments
Kenneth Haugland 8-Aug-12 0:55am    
Use a timer and hange the colors...
Sergey Alexandrovich Kryukov 8-Aug-12 0:57am    
There is no such style... you will have to use timer or thread with Sleep in loop.
--SA

Hi You can use
<blink></blink>


Like

<blink><label>some text</label></blink>


it will show like

<blink>some text
 
Share this answer
 
Comments
_Amy 8-Aug-12 1:32am    
My +5. Nice Example with solution.
Raje_ 8-Aug-12 1:39am    
My +5 too. Short and Simple.
Sharma Richa 8-Aug-12 1:52am    
thanks _Amy and Biswas.
Shambhoo kumar 1-Jan-13 5:39am    
my also +5 mr. Sharma Richa1
Member 11859517 12-Feb-16 7:11am    
I want Blinking label in wpf, i tried it but it not work.
showing error- Blink is not support in wpf.
how to do it in wpf.
 
Share this answer
 
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NewFurniture
{
public partial class Test : Form
{
public Test()
{
InitializeComponent();
}

private void timer1_Tick(object sender, EventArgs e)
{
this.label1.Visible = !this.label1.Visible;
}

private void Test_Load(object sender, EventArgs e)
{
timer1.Interval = 250;
timer1.Start();
}
}
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900