Hello
Situation: I have 2 Windows: winMain & winAskQuestion.
When a users clicks on a Button on winMain, it should open winAskQuestion, the user should fill in some data and clicks Ok (or Cancel). winAskQuestion creates an object based on the data filled in, the object should be returned to winMain. How do I accomplish this?
I gave the Show() method on winAskQuestion a return value, and that works, but an object should only be returned when the user clicks Ok. How would one do this?
Thanks!