Click here to Skip to main content
15,915,087 members
Home / Discussions / C#
   

C#

 
QuestionTFS - Profile dotnet dll Pin
devvvy5-Dec-10 23:04
devvvy5-Dec-10 23:04 
Questionhow to detect display type : CRT or LCD ? [modified] Pin
scoket5-Dec-10 21:59
scoket5-Dec-10 21:59 
AnswerRe: how to detect display type : CRT or LCD ? Pin
OriginalGriff5-Dec-10 22:19
mveOriginalGriff5-Dec-10 22:19 
GeneralRe: how to detect display type : CRT or LCD ? Pin
scoket5-Dec-10 22:39
scoket5-Dec-10 22:39 
GeneralRe: how to detect display type : CRT or LCD ? Pin
fjdiewornncalwe6-Dec-10 1:44
professionalfjdiewornncalwe6-Dec-10 1:44 
AnswerRe: how to detect display type : CRT or LCD ? Pin
Eddy Vluggen5-Dec-10 22:30
professionalEddy Vluggen5-Dec-10 22:30 
GeneralRe: how to detect display type : CRT or LCD ? Pin
scoket5-Dec-10 22:41
scoket5-Dec-10 22:41 
QuestionSend SMS Pin
anishkannan5-Dec-10 20:30
anishkannan5-Dec-10 20:30 
AnswerRe: Send SMS Pin
Luc Pattyn5-Dec-10 21:26
sitebuilderLuc Pattyn5-Dec-10 21:26 
AnswerRe: Send SMS Pin
db7uk6-Dec-10 23:25
db7uk6-Dec-10 23:25 
QuestionEvents in Interfaces Pin
Richard Andrew x645-Dec-10 15:38
professionalRichard Andrew x645-Dec-10 15:38 
AnswerRe: Events in Interfaces Pin
Not Active5-Dec-10 16:30
mentorNot Active5-Dec-10 16:30 
GeneralRe: Events in Interfaces Pin
Richard Andrew x645-Dec-10 16:34
professionalRichard Andrew x645-Dec-10 16:34 
Questionevents between two threads Pin
igalep1325-Dec-10 8:03
igalep1325-Dec-10 8:03 
AnswerRe: events between two threads Pin
Luc Pattyn5-Dec-10 8:45
sitebuilderLuc Pattyn5-Dec-10 8:45 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 8:55
igalep1325-Dec-10 8:55 
GeneralRe: events between two threads Pin
Luc Pattyn5-Dec-10 9:42
sitebuilderLuc Pattyn5-Dec-10 9:42 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 9:48
igalep1325-Dec-10 9:48 
GeneralRe: events between two threads Pin
Luc Pattyn5-Dec-10 9:57
sitebuilderLuc Pattyn5-Dec-10 9:57 
AnswerRe: events between two threads Pin
Not Active5-Dec-10 9:28
mentorNot Active5-Dec-10 9:28 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 9:38
igalep1325-Dec-10 9:38 
GeneralRe: events between two threads Pin
Not Active5-Dec-10 9:56
mentorNot Active5-Dec-10 9:56 
GeneralRe: events between two threads [modified] Pin
igalep1325-Dec-10 10:47
igalep1325-Dec-10 10:47 
i cant stop the execution...

I implement application which is based on decision tree.
you may have progress in breadth and in depth.

The main idea is to ask some question, if the answer is wrong, then the progress is in breadth (another question with the same difficulty level), here comes the recursion.
if the answer the user provide is correct, the progress is to the deeper level (higher difficulty level), this part works by loop.

i cant stop the recursion part in the middle of the progress.
when i started to implement it using console, it was easy, i just waited to user's input by Console.ReadLine() .
But now, i execute the algorithm from the ui, and after some question was generated, the ui updated, but the algorithm continue to run...

How do you think I can solve it ?

Thanks

modified on Sunday, December 5, 2010 5:26 PM

AnswerRe: yield Pin
Luc Pattyn5-Dec-10 11:25
sitebuilderLuc Pattyn5-Dec-10 11:25 
GeneralRe: yield Pin
Not Active5-Dec-10 11:32
mentorNot Active5-Dec-10 11:32 

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.