[Mono-osx] NSAlert Sheet

Lex3r zm_2m at mail.ru
Fri Feb 17 15:29:12 UTC 2012


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.


More information about the Mono-osx mailing list