Monotouch 有感

monotouch

可以使用匿名delegate

aButton.TouchUpInside += (o,s) => {
    Console.WriteLine("button touched");
};

 

aButton.TouchUpInside += delegate {
    Console.WriteLine ("button touched");
};

  

posted @ 2013-03-08 17:23  AlexHHC  阅读(135)  评论(0编辑  收藏  举报