Click here to Skip to main content
15,914,231 members
Home / Discussions / C#
   

C#

 
GeneralRe: Two basic questions about reflection Pin
George_George3-Jun-08 18:52
George_George3-Jun-08 18:52 
GeneralRe: Two basic questions about reflection Pin
PIEBALDconsult3-Jun-08 19:06
mvePIEBALDconsult3-Jun-08 19:06 
GeneralRe: Two basic questions about reflection Pin
George_George3-Jun-08 21:35
George_George3-Jun-08 21:35 
Questionhow to use event to re-write this code segment? Pin
George_George1-Jun-08 15:11
George_George1-Jun-08 15:11 
AnswerRe: how to use event to re-write this code segment? Pin
Christian Graus1-Jun-08 15:52
protectorChristian Graus1-Jun-08 15:52 
GeneralRe: how to use event to re-write this code segment? Pin
George_George1-Jun-08 16:24
George_George1-Jun-08 16:24 
GeneralRe: how to use event to re-write this code segment? Pin
Christian Graus1-Jun-08 16:39
protectorChristian Graus1-Jun-08 16:39 
GeneralRe: how to use event to re-write this code segment? Pin
George_George1-Jun-08 17:06
George_George1-Jun-08 17:06 
Thanks Christian,


1.

Do you mean using Timer to check stop status or to do the regular work?

2.

If you mean using Timer to do the regular work, I think the Timer class is used to perform a task in a regular interval no matter whether or not the previous task is completed or not. So, it is possible to execute two tasks at the same time if the 1st task is not completed in 1 second for some reason. Right?

How to avoid such situation?


regards,
George
GeneralRe: how to use event to re-write this code segment? Pin
Christian Graus1-Jun-08 17:33
protectorChristian Graus1-Jun-08 17:33 
GeneralRe: how to use event to re-write this code segment? Pin
George_George1-Jun-08 17:44
George_George1-Jun-08 17:44 
GeneralRe: how to use event to re-write this code segment? Pin
Christian Graus1-Jun-08 17:57
protectorChristian Graus1-Jun-08 17:57 
GeneralRe: how to use event to re-write this code segment? Pin
George_George1-Jun-08 18:32
George_George1-Jun-08 18:32 
GeneralRe: how to use event to re-write this code segment? Pin
PIEBALDconsult2-Jun-08 6:22
mvePIEBALDconsult2-Jun-08 6:22 
GeneralRe: how to use event to re-write this code segment? Pin
N a v a n e e t h1-Jun-08 20:03
N a v a n e e t h1-Jun-08 20:03 
GeneralRe: how to use event to re-write this code segment? Pin
George_George2-Jun-08 1:08
George_George2-Jun-08 1:08 
GeneralRe: how to use event to re-write this code segment? Pin
N a v a n e e t h2-Jun-08 1:23
N a v a n e e t h2-Jun-08 1:23 
GeneralRe: how to use event to re-write this code segment? Pin
George_George2-Jun-08 1:48
George_George2-Jun-08 1:48 
GeneralRe: how to use event to re-write this code segment? Pin
N a v a n e e t h2-Jun-08 3:03
N a v a n e e t h2-Jun-08 3:03 
GeneralRe: how to use event to re-write this code segment? Pin
George_George3-Jun-08 1:56
George_George3-Jun-08 1:56 
GeneralRe: how to use event to re-write this code segment? Pin
N a v a n e e t h3-Jun-08 7:10
N a v a n e e t h3-Jun-08 7:10 
GeneralRe: how to use event to re-write this code segment? Pin
George_George3-Jun-08 15:30
George_George3-Jun-08 15:30 
GeneralRe: how to use event to re-write this code segment? Pin
N a v a n e e t h3-Jun-08 15:42
N a v a n e e t h3-Jun-08 15:42 
GeneralRe: how to use event to re-write this code segment? Pin
George_George3-Jun-08 18:25
George_George3-Jun-08 18:25 
GeneralRe: how to use event to re-write this code segment? Pin
N a v a n e e t h4-Jun-08 3:51
N a v a n e e t h4-Jun-08 3:51 
GeneralRe: how to use event to re-write this code segment? Pin
George_George4-Jun-08 20:26
George_George4-Jun-08 20:26 

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.