X-Git-Url: http://wagnertech.de/git?p=mcloud.git;a=blobdiff_plain;f=GtkUtil%2FMessageBox.cs;fp=GtkUtil%2FMessageBox.cs;h=dfb292f5fd786b4d680874dacda2114f906bb5bf;hp=0000000000000000000000000000000000000000;hb=a82796d64877d73d6fd2ee86140ee788b16d402e;hpb=fd98c53230d650456bb9f0114a93d17280460809 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(); + } + } +} +