private void NewActionResultDialog() { Window_ResultType window_resultType = new Window_ResultType ( null, null, (win) => { Window_ResultType wWin = win as Window_ResultType; if (wWin != null) { Window_ActionResult window_actionResult = new Window_ActionResult ( null, null, ActionId, NounId, ParagraphStateId, wWin.ResultTypeId.Value, (wwWin) => { Window_ActionResult wwwWin = wwWin as Window_ActionResult; if (wwwWin != null) GinTubBuilderManager.CreateActionResult ( wwwWin.ActionResultResult.Value, wwwWin.ActionResultAction.Value ); } ); window_actionResult.Show(); } } ); window_resultType.Show(); }
private void NewMessageChoiceResultDialog() { Window_ResultType window_resultType = new Window_ResultType ( null, null, (win) => { Window_ResultType wWin = win as Window_ResultType; if (wWin != null) { Window_MessageChoiceResult window_messageChoiceResult = new Window_MessageChoiceResult ( null, null, MessageChoiceId, MessageId, wWin.ResultTypeId.Value, (wwWin) => { Window_MessageChoiceResult wwwWin = wwWin as Window_MessageChoiceResult; if (wwwWin != null) GinTubBuilderManager.CreateMessageChoiceResult ( wwwWin.MessageChoiceResultResult.Value, wwwWin.MessageChoiceResultMessageChoice.Value ); } ); window_messageChoiceResult.Show(); } } ); window_resultType.Show(); }
private void NewResultDialog() { Window_ResultType window_resultType = new Window_ResultType ( null, null, (win) => { Window_ResultType wWin = win as Window_ResultType; if (wWin != null) { Window_Result window_result = new Window_Result ( null, null, null, wWin.ResultTypeId.Value, (wwWin) => { Window_Result wwwWin = wwWin as Window_Result; if (wwwWin != null) GinTubBuilderManager.CreateResult(wwwWin.Name, wwwWin.ResultJSONData, wwwWin.ResultTypeId); } ); window_result.Show(); } } ); window_resultType.Show(); }