Click here to Skip to main content
15,909,945 members
Home / Discussions / C#
   

C#

 
AnswerRe: code not being executed Pin
Guffa29-Jun-07 4:43
Guffa29-Jun-07 4:43 
GeneralRe: code not being executed Pin
Saamir29-Jun-07 5:03
Saamir29-Jun-07 5:03 
AnswerRe: code not being executed Pin
Guffa29-Jun-07 6:49
Guffa29-Jun-07 6:49 
GeneralRe: code not being executed Pin
Saamir29-Jun-07 9:16
Saamir29-Jun-07 9:16 
GeneralRe: code not being executed Pin
Luc Pattyn29-Jun-07 10:25
sitebuilderLuc Pattyn29-Jun-07 10:25 
AnswerRe: code not being executed Pin
Guffa29-Jun-07 12:10
Guffa29-Jun-07 12:10 
AnswerRe: code not being executed Pin
leppie29-Jun-07 4:48
leppie29-Jun-07 4:48 
AnswerRe: code not being executed Pin
Guffa29-Jun-07 6:38
Guffa29-Jun-07 6:38 
leppie wrote:
Disregard the other answers!


Perhaps you should try to understand the other answers before making such a statement.

leppie wrote:
Your 'break' needs to be after the disabling of the timer


Although that is true, it is not the cause of the problem.

Moving the break will not make the timer work. As the tick event is never triggered, the code that sets the flag is never executed, so the code you are talking about is never even reached. Changing code that is never reached will not change how the program works.


---
single minded; short sighted; long gone;

AnswerRe: code not being executed Pin
Martin#29-Jun-07 8:52
Martin#29-Jun-07 8:52 
GeneralRe: code not being executed Pin
Saamir29-Jun-07 9:12
Saamir29-Jun-07 9:12 
GeneralRe: code not being executed Pin
Martin#29-Jun-07 9:44
Martin#29-Jun-07 9:44 
GeneralRe: code not being executed Pin
Luc Pattyn29-Jun-07 9:14
sitebuilderLuc Pattyn29-Jun-07 9:14 
GeneralRe: code not being executed [modified] Pin
Martin#29-Jun-07 9:40
Martin#29-Jun-07 9:40 
GeneralRe: code not being executed Pin
Luc Pattyn29-Jun-07 10:16
sitebuilderLuc Pattyn29-Jun-07 10:16 
QuestionSense Open Excel Workbooks Pin
jeffbeagle29-Jun-07 4:01
jeffbeagle29-Jun-07 4:01 
QuestionActiveX Persistence in C# Pin
zam66429-Jun-07 3:58
zam66429-Jun-07 3:58 
QuestionCount Array Items with C# Pin
BenjaminMartin29-Jun-07 3:55
BenjaminMartin29-Jun-07 3:55 
AnswerRe: Count Array Items with C# Pin
Luc Pattyn29-Jun-07 4:28
sitebuilderLuc Pattyn29-Jun-07 4:28 
GeneralRe: Count Array Items with C# Pin
BenjaminMartin29-Jun-07 4:53
BenjaminMartin29-Jun-07 4:53 
GeneralRe: Count Array Items with C# Pin
leppie29-Jun-07 4:54
leppie29-Jun-07 4:54 
AnswerRe: Count Array Items with C# Pin
Guffa29-Jun-07 4:47
Guffa29-Jun-07 4:47 
AnswerRe: Count Array Items with C# Pin
leppie29-Jun-07 4:52
leppie29-Jun-07 4:52 
GeneralRe: Count Array Items with C# Pin
BenjaminMartin29-Jun-07 5:10
BenjaminMartin29-Jun-07 5:10 
AnswerRe: Count Array Items with C# Pin
Kevin McFarlane29-Jun-07 6:10
Kevin McFarlane29-Jun-07 6:10 
Questionndoc MSDN style document Pin
Software_Specialist29-Jun-07 3:36
Software_Specialist29-Jun-07 3:36 

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.