Click here to Skip to main content
15,881,204 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I have *.Pdf files in C# Project ? Pin
Lutosław11-Aug-08 23:49
Lutosław11-Aug-08 23:49 
AnswerRe: How can I have *.Pdf files in C# Project ? Pin
nelsonpaixao3-Aug-08 14:46
nelsonpaixao3-Aug-08 14:46 
GeneralRe: How can I have *.Pdf files in C# Project ? [modified] Pin
Laji593-Aug-08 18:33
Laji593-Aug-08 18:33 
GeneralRe: How can I have *.Pdf files in C# Project ? Pin
Paul Conrad4-Aug-08 4:56
professionalPaul Conrad4-Aug-08 4:56 
QuestionHow do I create a label thats display the time like a digital clock ? Pin
Lim Yuxuan2-Aug-08 17:49
Lim Yuxuan2-Aug-08 17:49 
AnswerRe: How do I create a label thats display the time like a digital clock ? Pin
PIEBALDconsult2-Aug-08 18:15
mvePIEBALDconsult2-Aug-08 18:15 
AnswerRe: How do I create a label thats display the time like a digital clock ? Pin
Paul Conrad2-Aug-08 18:54
professionalPaul Conrad2-Aug-08 18:54 
AnswerRe: How do I create a label thats display the time like a digital clock ? Pin
MarkB7772-Aug-08 19:33
MarkB7772-Aug-08 19:33 
Hi Lim,

If you create a timer that ticks every 1 second, and use the code below in the tick event method:

<br />
winFormTimerLabel.Text = System.DateTime.UtcNow.TimeOfDay.Hours.ToString() + " : " + System.DateTime.UtcNow.TimeOfDay.Minutes.ToString()<br />
+ " : " + System.DateTime.UtcNow.TimeOfDay.Seconds.ToString());<br />


I'd imagine it will do what you want.


Cheers,


GeneralRe: How do I create a label thats display the time like a digital clock ? Pin
PIEBALDconsult2-Aug-08 20:46
mvePIEBALDconsult2-Aug-08 20:46 
JokeRe: How do I create a label thats display the time like a digital clock ? Pin
MarkB7772-Aug-08 22:06
MarkB7772-Aug-08 22:06 
GeneralRe: How do I create a label thats display the time like a digital clock ? Pin
PIEBALDconsult3-Aug-08 3:55
mvePIEBALDconsult3-Aug-08 3:55 
AnswerRe: How do I create a label thats display the time like a digital clock ? Pin
Lim Yuxuan2-Aug-08 21:35
Lim Yuxuan2-Aug-08 21:35 
GeneralRe: How do I create a label thats display the time like a digital clock ? Pin
PIEBALDconsult3-Aug-08 5:39
mvePIEBALDconsult3-Aug-08 5:39 
AnswerRe: How do I create a label thats display the time like a digital clock ? Pin
nelsonpaixao3-Aug-08 14:51
nelsonpaixao3-Aug-08 14:51 
QuestionDataset Posistion change Pin
kindman_nb2-Aug-08 9:01
kindman_nb2-Aug-08 9:01 
AnswerRe: Dataset Posistion change Pin
Paul Conrad2-Aug-08 10:28
professionalPaul Conrad2-Aug-08 10:28 
QuestionVS 2005 Server Explorer [modified] Pin
benjamin yap2-Aug-08 7:00
benjamin yap2-Aug-08 7:00 
AnswerRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 8:15
professionalPaul Conrad2-Aug-08 8:15 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap2-Aug-08 8:19
benjamin yap2-Aug-08 8:19 
GeneralRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 8:23
professionalPaul Conrad2-Aug-08 8:23 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap2-Aug-08 8:25
benjamin yap2-Aug-08 8:25 
GeneralRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 9:38
professionalPaul Conrad2-Aug-08 9:38 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap2-Aug-08 19:44
benjamin yap2-Aug-08 19:44 
GeneralRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 19:48
professionalPaul Conrad2-Aug-08 19:48 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap2-Aug-08 20:06
benjamin yap2-Aug-08 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.