I have a simple message box in a WPF application that is launched as below:
private void Button_Click(object sender, RoutedEventArgs e) { MessageBox.Show('Howdy', 'Howdy'); }
I can get white to click my button and launch the message box.
UISpy shows it as a child of my window I couldn’t work out the method to access it.
How do I get access to my MessageBox to verify its contents?
Found it! The window class has a MessageBox method that does the trick: