Your click callback signature isn't correct for that click event, try changing it to:
private void bouton_Click(object sender, System.EventArgs e) { // do stuff } On Wed, Jun 22, 2011 at 11:37 AM, david.chhang <david.chh...@gmail.com>wrote: > Thanks a lot, but it doesn't resolve the problem, there is an error here : > bouton.Click += new EventHandler(bouton_Click); > > The error is : (in french...sorry) Aucune surcharge pour 'bouton_Click' ne > correspond au délégué 'System.EventHandler' > > I try to translate : Any overload for 'bouton_Click' match to delegate > 'System.EventHandler' > > I hope it s clear. Thanks > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/A-new-activity-with-parameters-of-old-activity-tp4514263p4514450.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