[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int MessageBox(int hWnd, String text, String caption, uint type);
None.
At the time of writing this, I don't what to do with hWnd and type, so I just left them '0'. You should find out for me and post it here.
Please add some!
class Class1
{
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int MessageBox(int hWnd, String text, String caption,
uint type);
[STAThread]
static void Main(string[] args)
{
Class1.MessageBox(0, "Text", "Caption", 0 );
}
}
}
System.Windows.Forms.MessageBox.Show()