X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mcloud.git/blobdiff_plain/fd98c53230d650456bb9f0114a93d17280460809..a82796d64877d73d6fd2ee86140ee788b16d402e:/GtkUtil/MessageBox.cs diff --git a/GtkUtil/MessageBox.cs b/GtkUtil/MessageBox.cs new file mode 100644 index 0000000..dfb292f --- /dev/null +++ b/GtkUtil/MessageBox.cs @@ -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(); + } + } +} +