monodev
[mcloud.git] / GtkUtil / MessageBox.cs
diff --git a/GtkUtil/MessageBox.cs b/GtkUtil/MessageBox.cs
new file mode 100644 (file)
index 0000000..dfb292f
--- /dev/null
@@ -0,0 +1,16 @@
+using System;
+using Gtk;
+
+namespace GtkUtil
+{
+       public class MessageBox
+       {
+               public static void Show(string Msg)
+               {
+                       MessageDialog md = new MessageDialog (null, DialogFlags.Modal, MessageType.Info, ButtonsType.Ok, Msg);
+                       md.Run ();
+                       md.Destroy();
+               }
+       }
+}
+