最前面的话:Smobiler是一个在VS环境中使用.Net语言来开发APP的开发平台,也许比Xamarin更方便 样式一 一.目标样式 我们要实现上图中的效果,需要如下的操作: 1.从工具栏上的"Smobiler Components"拖动一个GridView控件和一个ContextMenu控件到窗体界面上 2.修改GridView控件的属性 a.load事件代码 VB: Private Sub TestContextMenu_Load(sender As Object, e As E…
没想到再这里也要跌跌撞撞. 这个东西我很久之前就懂了的啊! 最开始是这么写的: private function init():void { var contextMenu:ContextMenu = new ContextMenu(); var contextMenuItem:ContextMenuItem = new ContextMenuItem("复制"); contextMenuItem.addEventListener( ContextMenuEvent.MENU_ITEM…