Click here to Skip to main content
15,888,401 members
Home / Discussions / C#
   

C#

 
QuestionGridView Bound column Pin
ss.mmm11-Oct-07 11:16
ss.mmm11-Oct-07 11:16 
QuestionSome kind of timer.. Pin
Joplinazz11-Oct-07 10:59
Joplinazz11-Oct-07 10:59 
AnswerRe: Some kind of timer.. Pin
Pete O'Hanlon11-Oct-07 11:08
mvePete O'Hanlon11-Oct-07 11:08 
AnswerRe: Some kind of timer.. Pin
Justin Perez11-Oct-07 11:11
Justin Perez11-Oct-07 11:11 
GeneralRe: Some kind of timer.. Pin
Joplinazz11-Oct-07 11:16
Joplinazz11-Oct-07 11:16 
GeneralRe: Some kind of timer.. Pin
Justin Perez11-Oct-07 11:19
Justin Perez11-Oct-07 11:19 
GeneralRe: Some kind of timer.. Pin
Pete O'Hanlon11-Oct-07 11:28
mvePete O'Hanlon11-Oct-07 11:28 
GeneralRe: Some kind of timer.. Pin
Justin Perez11-Oct-07 11:36
Justin Perez11-Oct-07 11:36 
Pete O`Hanlon wrote:
Why do you actually need to do this? It seems a lot more complicated than getting the difference between two datetime objects. It's certainly a lot more code - which while not always a bad thing, certainly doesn't adhere to the KISS principal.


I understand what you are saying about the K.I.S.S. principal. From his short explanation he mentioned a while loop. I assumed that he was wanting to preform an operation multiple times within the timer, until a certain condition had been met. The most simple way to do that to me seemed to be a timer preforming the operations, and when the condition was met, do a timer.Stop().

Maybe I am missing something though, is it as efficent to do the above with a TimeSpan object?



I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")

GeneralRe: Some kind of timer.. Pin
Pete O'Hanlon11-Oct-07 11:46
mvePete O'Hanlon11-Oct-07 11:46 
GeneralRe: Some kind of timer.. Pin
Justin Perez11-Oct-07 11:51
Justin Perez11-Oct-07 11:51 
GeneralRe: Some kind of timer.. Pin
Pete O'Hanlon11-Oct-07 11:56
mvePete O'Hanlon11-Oct-07 11:56 
GeneralRe: Some kind of timer.. Pin
Justin Perez11-Oct-07 12:03
Justin Perez11-Oct-07 12:03 
GeneralRe: Some kind of timer.. Pin
Pete O'Hanlon11-Oct-07 12:08
mvePete O'Hanlon11-Oct-07 12:08 
GeneralRe: Some kind of timer.. Pin
Luc Pattyn11-Oct-07 13:34
sitebuilderLuc Pattyn11-Oct-07 13:34 
AnswerRe: Some kind of timer.. Pin
Ravi Bhavnani11-Oct-07 19:57
professionalRavi Bhavnani11-Oct-07 19:57 
QuestionWhere to draw? Pin
MasterSharp11-Oct-07 10:43
MasterSharp11-Oct-07 10:43 
AnswerRe: Where to draw? Pin
Christian Graus11-Oct-07 10:49
protectorChristian Graus11-Oct-07 10:49 
GeneralRe: Where to draw? Pin
MasterSharp11-Oct-07 10:53
MasterSharp11-Oct-07 10:53 
GeneralRe: Where to draw? Pin
Christian Graus11-Oct-07 10:55
protectorChristian Graus11-Oct-07 10:55 
AnswerRe: Where to draw? Pin
Giorgi Dalakishvili11-Oct-07 10:51
mentorGiorgi Dalakishvili11-Oct-07 10:51 
AnswerRe: Where to draw? Pin
Pete O'Hanlon11-Oct-07 11:04
mvePete O'Hanlon11-Oct-07 11:04 
QuestionCollision Pin
MasterSharp11-Oct-07 10:10
MasterSharp11-Oct-07 10:10 
AnswerRe: Collision Pin
Christian Graus11-Oct-07 10:34
protectorChristian Graus11-Oct-07 10:34 
GeneralRe: Collision Pin
MasterSharp11-Oct-07 10:54
MasterSharp11-Oct-07 10:54 
GeneralRe: Collision Pin
Christian Graus11-Oct-07 10:58
protectorChristian Graus11-Oct-07 10:58 

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.