Show a message box from a class in c#?

Ash picture Ash · Apr 3, 2009 · Viewed 129.8k times · Source

How do you get a class to interact with the form to show a message box?

Answer

John Gietzen picture John Gietzen · Apr 3, 2009
using System.Windows.Forms;
...
MessageBox.Show("Hello World!");