For me, sticking to a dialog that returns standard answers to the dialog, and then accessing the results through properties is the way to go.
Two good reasons I'm sitting:
- Consistency - you always do the same with the dialogue, and the very nature of the question suggests that the templates are good (-: Although the question is the same, is this a good template?
- It allows you to return several values from the dialogue - well, there is also a new discussion here, but the pragmatism used means that it is in this case that it is required that in some cases it is not always advisable or desirable to pack the values only so that you can pass them back all in one go.
The logic flow is good too:
if (Dialog == Ok) {
Good question - we should ask such things, but for me the current template is worthy.
Murph
Murph
source share