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!!!

user565660
  • 1,171
  • 3
  • 20
  • 37
  • I answered a [similar question](http://stackoverflow.com/questions/4726771/show-pop-up-window-when-is-mouser-over-listbox-item/4726871#4726871) yesterday. – BlackBear Jan 19 '11 at 15:22
  • @Slaks: He tagged his question "wpf", that's the wpf's way. – BlackBear Jan 19 '11 at 15:25
  • WPF also has `MessageBox.Show`. http://msdn.microsoft.com/en-us/library/system.windows.messagebox.show.aspx – SLaks Jan 19 '11 at 15:27

1 Answers1

4

Call MessageBox.Show.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964