bish wakim
asked on
Is there a simple Control that gives time and date in wpf c#
I am using an application I have developed with WPF C# for teaching in class. I need a to build a simple control which I can put on the screen and have the date and time updated automatically.
Please help!
Please help!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
use dispatchertimer for updating your datetime on a schedule
like below:
http://stackoverflow.com/questions/479376/wpf-net-best-way-to-trigger-an-event-every-minute
like below:
http://stackoverflow.com/questions/479376/wpf-net-best-way-to-trigger-an-event-every-minute
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
ASKER
May you tell me how can use code for this.
I need to retrieve day,month,year each time I enter my program. and have the time updated during the lesson. I rise my offer to 500 points.
Thanks