If you create a button a name it as buttonOK on the outlet. If you then
select actions, in the same "combo" where outlet appeat, so you can create
then a buttonOK_Click, or whatever.

Then if you save it on interface builder, and return to MonoDevelop (if it's
Xcode 3) so MonoDevelop will create code on YourFile.cs.designer to
handle/register both buttonOK and buttonOK_Click.

Then on YourFile.cs you can type partial void buttonOK_Click and
MonoDevelope will show you a list of methods that could be used and will
type the sentence for you if you like.

So inside of it, as on .NET windows programing you'll put the action for
your button.

Karl

From:  shaked949 <shaked...@walla.co.il>
Reply-To:  "monodroid@lists.ximian.com" <monodroid@lists.ximian.com>
Date:  Fri, 26 Aug 2011 16:10:21 -0700 (PDT)
To:  "monodroid@lists.ximian.com" <monodroid@lists.ximian.com>
Subject:  Re: [mono-android] Adding an Audio file

Thank you so much jon !! :)

I have another problem...if you can reply me I will be thank :)

I know how to create button ..
but I don't know How to set an actions after the button is selected...
if you have some links with methods.. (like when I press the button , new
"page" is opened..or when i press the button ...the user can fill in details
about him.. )

(I'm sorry if my english is'nt pretty good :\ )

thank you :)

--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Adding-an-Audio-file-tp4723797
p4739929.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid



_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to