Click here to Skip to main content
15,905,566 members
Home / Discussions / C#
   

C#

 
AnswerRe: Highest Number of a folder Pin
BillWoodruff17-Sep-19 17:39
professionalBillWoodruff17-Sep-19 17:39 
QuestionHOW TO Auto Install Devexpress Windows PowerShell Pin
Member 1404636316-Sep-19 2:17
Member 1404636316-Sep-19 2:17 
QuestionRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Richard MacCutchan16-Sep-19 2:44
mveRichard MacCutchan16-Sep-19 2:44 
AnswerRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
OriginalGriff16-Sep-19 3:43
mveOriginalGriff16-Sep-19 3:43 
AnswerRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
BillWoodruff17-Sep-19 17:41
professionalBillWoodruff17-Sep-19 17:41 
QuestionHOW TO Auto Install Devexpress Windows PowerShell Pin
Member 1404636316-Sep-19 2:17
Member 1404636316-Sep-19 2:17 
AnswerRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Dave Kreskowiak16-Sep-19 2:36
mveDave Kreskowiak16-Sep-19 2:36 
GeneralRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Member 1404636316-Sep-19 2:48
Member 1404636316-Sep-19 2:48 
GeneralRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Dave Kreskowiak16-Sep-19 3:26
mveDave Kreskowiak16-Sep-19 3:26 
GeneralRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Member 1404636316-Sep-19 5:46
Member 1404636316-Sep-19 5:46 
QuestionHow can I software-trigger WndProc(ref Message m) to execute? Pin
arnold_w16-Sep-19 0:40
arnold_w16-Sep-19 0:40 
AnswerRe: How can I software-trigger WndProc(ref Message m) to execute? Pin
Richard MacCutchan16-Sep-19 1:26
mveRichard MacCutchan16-Sep-19 1:26 
GeneralRe: How can I software-trigger WndProc(ref Message m) to execute? Pin
arnold_w16-Sep-19 22:00
arnold_w16-Sep-19 22:00 
GeneralRe: How can I software-trigger WndProc(ref Message m) to execute? Pin
Richard MacCutchan16-Sep-19 22:45
mveRichard MacCutchan16-Sep-19 22:45 
GeneralRe: How can I software-trigger WndProc(ref Message m) to execute? Pin
BillWoodruff17-Sep-19 17:49
professionalBillWoodruff17-Sep-19 17:49 
AnswerRe: How can I software-trigger WndProc(ref Message m) to execute? Pin
BillWoodruff17-Sep-19 17:57
professionalBillWoodruff17-Sep-19 17:57 
QuestionUsing buttons on a form. Pin
Brian_TheLion15-Sep-19 17:48
Brian_TheLion15-Sep-19 17:48 
AnswerRe: Using buttons on a form. Pin
OriginalGriff15-Sep-19 20:43
mveOriginalGriff15-Sep-19 20:43 
AnswerRe: Using buttons on a form. Pin
GenJerDan15-Sep-19 20:55
GenJerDan15-Sep-19 20:55 
GeneralRe: Using buttons on a form. Pin
BillWoodruff16-Sep-19 4:32
professionalBillWoodruff16-Sep-19 4:32 
AnswerRe: Using buttons on a form. Pin
BillWoodruff16-Sep-19 4:30
professionalBillWoodruff16-Sep-19 4:30 
AnswerRe: Using buttons on a form. Pin
Brian_TheLion16-Sep-19 16:20
Brian_TheLion16-Sep-19 16:20 
Thanks Bill and RenJerDan for your replies.

To go more into detail.
Once the user has pressed the start button a d the question is displayed to the user then the user has a choice of clicking on the YES or the NO buttons.

For a forms program once the program has displayed the question it is waiting for the user to press a button on the form, but if the user pressed the YES button then control switches to the Yes_Click code which is just YN=1 but then I need to return to the main code to make a decision depending on what button was pressed. It's not like the main code will wait for the user to make a choice before continuing.
I tried to create a loop that continues until YN is equal to anything other than zero but while in the loop it is not checking on the buttons on the form, which Makes me wonder how arcade games work as they are looping to provide animation.
GeneralRe: Using buttons on a form. Pin
BillWoodruff16-Sep-19 16:36
professionalBillWoodruff16-Sep-19 16:36 
GeneralRe: Using buttons on a form. Pin
Brian_TheLion16-Sep-19 20:40
Brian_TheLion16-Sep-19 20:40 
AnswerRe: Using buttons on a form. Pin
BillWoodruff16-Sep-19 22:49
professionalBillWoodruff16-Sep-19 22:49 

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.