Click here to Skip to main content
12,897,720 members (55,178 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# Windows C#4.0
I am having form which should show current time and date at status bar on page load...using windows forms app...c#.net
Posted 1-Dec-10 20:28pm
Comments
OriginalGriff 2-Dec-10 3:41am
   
So? What have you tried?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Dear Narendra,

1.Add status strip on form from tool box.
2.Press f4 on it and in items collection property add tool strip label .
3.on form load set the current date time value.

this.toolStripStatusLabel1.Text = System.DateTime.Now.ToString ();
  Permalink  
v2
Comments
Member 13049972 13-Apr-17 13:38pm
   
but the time and date is after started its the same second and minutes are not chaning,like freezed

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

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.170424.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100