CSharp examples for System.Windows.Forms:Dialog
Shows a warning dialog to the user.
using System.Windows.Forms; using System.Collections.Generic; using System.Text; using System.IO;/* w ww. j a v a 2s .c o m*/ using System; public class Main{ /// <summary> /// Shows a warning dialog to the user. /// </summary> public static void ShowWarning(String message) { MessageBox.Show(message, " Warning", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }