Hi...
I have a mdi parent form in c# winform application and I have placed a label to show current time of system.. now I want to update the time of label on each second....
any body help....
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
FroglegPosted May 3, 2011, 2:45 AM
private void Form1_Load(object sender, EventArgs e)
{
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = DateTime.Now.ToString("h:mm:ss");
}