【发布时间】:2013-12-13 15:58:38
【问题描述】:
iOS in Xamarin
Post来自 Zecht1 » 2013 年 12 月 13 日星期五 1:26 pm 嗨
我刚刚开始学习Xamarin,我正在关注他们网站上的教程http://docs.xamarin.com/guides/android/getting_started/hello,_world/
我有一个问题,我需要一些帮助!
教程里说我应该这样写代码:
partial void actnButtonClick (MonoTouch.Foundation.NSObject sender)
{
this.lblOutput.Text = "Action button " + ((UIButton)sender).CurrentTitle + " clicked.";
}
但这对我不起作用。我只是得到一个错误。
我的看起来像这样:
partial void actnButtonClick (MonoTouch.Foundation.NSObject sender);
我是不是做错了什么???
错误信息:
http://s23.postimg.org/mp1niokij/Screen_Shot_2013_12_13_at_5_09_07_PM.png
http://s2.postimg.org/fy5n9im95/Screen_Shot_2013_12_13_at_5_09_29_PM.png
【问题讨论】:
-
你得到什么错误?
标签: c# android iphone xamarin.ios xamarin