Click here to Skip to main content
15,916,091 members
Home / Discussions / C#
   

C#

 
GeneralC/S mode To B/S mode Pin
fu028-Jun-04 22:04
fu028-Jun-04 22:04 
GeneralRe: C/S mode To B/S mode Pin
Colin Angus Mackay29-Jun-04 1:42
Colin Angus Mackay29-Jun-04 1:42 
Generalproblem with drawstring and font "Microsoft Sans Serif" Pin
yonitgil28-Jun-04 21:50
yonitgil28-Jun-04 21:50 
GeneralRe: problem with drawstring and font "Microsoft Sans Serif" Pin
Heath Stewart29-Jun-04 5:29
protectorHeath Stewart29-Jun-04 5:29 
GeneralWeifenLuos DockManager Question Pin
matthias s.28-Jun-04 21:39
matthias s.28-Jun-04 21:39 
GeneralRe: WeifenLuos DockManager Question Pin
Dave Kreskowiak29-Jun-04 4:31
mveDave Kreskowiak29-Jun-04 4:31 
Generalrestarting second counter Pin
Jason Ranin28-Jun-04 18:43
Jason Ranin28-Jun-04 18:43 
GeneralRe: restarting second counter Pin
Colin Angus Mackay29-Jun-04 1:46
Colin Angus Mackay29-Jun-04 1:46 
Why do you need two counters?

Why not just have one counter counting the seconds?

Assuming your counter variable is called counter, each time the timer fires you increment it. To get the seconds and minutes try:

int seconds = counter % 60;
int minutes = counter / 60;



"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

The Second EuroCPian Event will be in Brussels on the 4th of September

Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

My Blog


Generalcode with a foxpro database Pin
cmarmr28-Jun-04 18:07
cmarmr28-Jun-04 18:07 
GeneralRe: code with a foxpro database Pin
Heath Stewart29-Jun-04 5:04
protectorHeath Stewart29-Jun-04 5:04 
GeneralRe: code with a foxpro database Pin
cmarmr29-Jun-04 15:19
cmarmr29-Jun-04 15:19 
GeneralRe: code with a foxpro database Pin
cmarmr2-Jul-04 3:29
cmarmr2-Jul-04 3:29 
GeneralRe: code with a foxpro database Pin
Heath Stewart2-Jul-04 3:35
protectorHeath Stewart2-Jul-04 3:35 
GeneralRe: code with a foxpro database Pin
cmarmr2-Jul-04 14:32
cmarmr2-Jul-04 14:32 
GeneralRe: code with a foxpro database Pin
Heath Stewart2-Jul-04 18:31
protectorHeath Stewart2-Jul-04 18:31 
GeneralCapture Pin
quocbao28-Jun-04 17:48
quocbao28-Jun-04 17:48 
GeneralPulling records within two sets of dates Pin
myNameIsRon28-Jun-04 17:38
myNameIsRon28-Jun-04 17:38 
GeneralRe: Pulling records within two sets of dates Pin
myNameIsRon28-Jun-04 20:08
myNameIsRon28-Jun-04 20:08 
GeneralRe: Capture live video. Pin
Dave Kreskowiak28-Jun-04 16:38
mveDave Kreskowiak28-Jun-04 16:38 
GeneralGetting table names from .mdb Pin
benglish7228-Jun-04 15:40
benglish7228-Jun-04 15:40 
GeneralRe: Getting table names from .mdb Pin
Heath Stewart29-Jun-04 3:34
protectorHeath Stewart29-Jun-04 3:34 
GeneralRe: Getting table names from .mdb Pin
benglish7229-Jun-04 14:30
benglish7229-Jun-04 14:30 
GeneralRe: Getting table names from .mdb Pin
Heath Stewart29-Jun-04 17:17
protectorHeath Stewart29-Jun-04 17:17 
QuestionHow to config **.exe.config by programming Pin
chansion28-Jun-04 15:04
chansion28-Jun-04 15:04 
AnswerRe: How to config **.exe.config by programming Pin
Dave Kreskowiak28-Jun-04 16:35
mveDave Kreskowiak28-Jun-04 16:35 

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.