private void OnStartProgramCompileExit(StepDialog dialog) { if (dialog.ExecutedOk) { var start = new ExecuteProgramDialog (this.programInformation, true, useEscToStop); start.Start (Parent); } }
private void OnStartProgramCompileExit(StepDialog dialog) { if (dialog.ExecutedOk) { var start = new ExecuteProgramDialog(this.programInformation, true, useEscToStop); start.Start(Parent); } }
private void OnSelectDialogExit(SelectDialog <string> dialog) { if (!dialog.EscPressed) { switch (dialog.GetSelectionIndex()) { case 0: var startDialog = new ExecuteProgramDialog(this.programInformation, false, useEscToStop); startDialog.Start(Parent); break; case 1: if (!programInformation.IsAOTCompiled) { compileBeforeExecution.SetFocus(Parent, OnCompileInfoDialogExit); } else { var start = new ExecuteProgramDialog(this.programInformation, true, useEscToStop); start.Start(Parent); } break; case 2: if (programInformation.IsAOTCompiled) { aotQuestionDialog.SetFocus(Parent, OnCompileDialogExit); } else { compileDialog.SetFocus(Parent); } break; case 3: deleteQuestionDialog.SetFocus(Parent, OnDeleteDialogExit); break; } } }
private void OnSelectDialogExit(SelectDialog<string> dialog) { if (!dialog.EscPressed) { switch (dialog.GetSelectionIndex ()) { case 0: var startDialog = new ExecuteProgramDialog (this.programInformation, false, useEscToStop); startDialog.Start (Parent); break; case 1: if (!programInformation.IsAOTCompiled) { compileBeforeExecution.SetFocus (Parent, OnCompileInfoDialogExit); } else { var start = new ExecuteProgramDialog (this.programInformation, true, useEscToStop); start.Start (Parent); } break; case 2: if (programInformation.IsAOTCompiled) { aotQuestionDialog.SetFocus (Parent,OnCompileDialogExit); } else { compileDialog.SetFocus (Parent); } break; case 3: deleteQuestionDialog.SetFocus (Parent,OnDeleteDialogExit); break; } } }