Context: Creating a custom MessageBox with text input
How can I pass a variable back to my original window from my custom MessageBox window? I know how to do this when opening a new window, but not with one already open.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Can you not just grab data from your message box when it closes
To return a DialogResult from you Window you can just set the DialogResult boollean depending on the user interaction
EG: