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

C#

 
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 
GeneralRe: how to use event to re-write this code segment? Pin
Christian Graus1-Jun-08 17:33
protectorChristian Graus1-Jun-08 17:33 
1 - if you want to execute code regularly, use a timer

2 - Your timer is not going to fire again if that thread is busy. So, it's not going to run your code twice at the same time, it's single threaded. If your code takes 30 seconds to run and you have a 20 second timer, the timer will just fire late.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

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 
GeneralRe: how to use event to re-write this code segment? Pin
N a v a n e e t h5-Jun-08 6:47
N a v a n e e t h5-Jun-08 6:47 

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.