mono touch中UIAlertView对话框多选项处理
来源:互联网 发布:ubuntu snmp 编辑:程序博客网 时间:2024/06/05 01:06
//"取消"=>0, "标清"=>1, "高清"=>2UIAlertView alert = new UIAlertView ("提示", "请选择视频版本", null, "取消", new string[] { "标清", "高清" });alert.Clicked += (s, b) => {if (b.ButtonIndex != 0) {string _url = b.ButtonIndex == 1 ? TableItems [indexPath.Row].DOWNLOAD_URL_LOW : TableItems [indexPath.Row].DOWNLOAD_URL;string _cp = FileHelper.GetMyDocumentPath (KeyCenter.Key_CoursePath);//课程路径string _sub = TableItems [indexPath.Row].Course_Number;string _name = StringHelper.GetUrlFileName (_url);int tag = 1; //检查是否下载过了if (FileHelper.FileUploaded (_cp + _sub, _name)) {tag = 2;}base.RowTouch2View = new CourseCenter (TableItems [indexPath.Row], tag, 2);base.RowSelected (tableView, indexPath);}tableView.DeselectRow (indexPath, true);};alert.Show ();
0 0
- mono touch中UIAlertView对话框多选项处理
- mono touch中处理json字符串
- mono touch并行多任务处理
- mono touch后端事件处理
- mono touch中自定义事件
- mono touch中touch触发对象判断
- mono touch 中使用多个视图和控制器
- mono touch中处理视图过长,输入框被键盘遮挡的问题
- mono touch创建TabBar全视图切换选项卡
- mono touch 中图片的StretchableImage属性
- mono touch中UIProgressView的使用
- mono touch中UISwitch控件的使用
- mono touch中UISegmentedControl控件的使用
- mono touch中,UISlider控件的使用
- mono touch中重置UITableView选中行
- UIAlertView的基本使用和对话框中按钮的事件处理方法
- 对话框UIAlertView
- mono touch中去掉NavigationBar的底部阴影
- linux 下端口close_wait 过多
- 字符串过滤
- SendMessage、PostMessage原理
- 成为Android高手必须掌握的28大项内容和10个建议
- 关于阻抗
- mono touch中UIAlertView对话框多选项处理
- 最强最简单易用的免费开源html5图表
- 欢迎来到我的博客,
- 对视图创建索引
- 黑马程序员——银行业务调度系统
- MyEclipses:
- 年轻工程师怎样修炼成为高手
- Android应用开发新路线
- 解决zend studio 下 assignment in condition警告