[Mono-osx] NSAlert Sheet

Chris Waldron chris.waldron at booktrack.co
Mon Feb 20 21:19:06 UTC 2012


var id = alert.RunModal()

On Sat, Feb 18, 2012 at 4:29 AM, Lex3r <zm_2m at mail.ru> wrote:

> Hi all,
>
> I use such code
>
> NSAlert alert = new NSAlert();
> alert.MessageText = msg;
> alert.AddButton("Yes");
> alert.AddButton("No");
> alert.BeginSheet(window);
>
> How i can determine which  button was clicked?
>
> Thanks.
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/NSAlert-Sheet-tp4397574p4397574.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20120221/581a9531/attachment.html>


More information about the Mono-osx mailing list