0

I need to create a static text pop up warning message to the user. I'm coming from the Java Swing world, and I know I can do that in one or two lines of code. Is there an equivalent easy method to call to pop up a warning dialog?? I'd rather not get into creating xaml code etc, just for a simple dialog. Thank you very much!!!

3
  • I answered a similar question yesterday. Commented Jan 19, 2011 at 15:22
  • @Slaks: He tagged his question "wpf", that's the wpf's way. Commented Jan 19, 2011 at 15:25
  • WPF also has MessageBox.Show. msdn.microsoft.com/en-us/library/… Commented Jan 19, 2011 at 15:27

1 Answer 1

4

Call MessageBox.Show.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.