当前位置: 首页 > news >正文

上海建设工程招投标网站icp备案和icp许可证区别

上海建设工程招投标网站,icp备案和icp许可证区别,多说插件 wordpress,wordpress设为中文本节主要讲述在苹果环境中使用monodevelop开发ipad的一个实例#xff0c;具体操作如下 1、新建项目 选择monotouch--ipad--Empty project 命名为iPad01 2、添加新文件#xff0c;选择monotouch--ipad view#xff0c;命名为showView#xff0c;这样会在项目中多出来三个文件…     本节主要讲述在苹果环境中使用monodevelop开发ipad的一个实例具体操作如下     1、新建项目 选择monotouch--ipad--Empty project 命名为iPad01     2、添加新文件选择monotouch--ipad view命名为showView这样会在项目中多出来三个文件。     3、在AppDelegate.cs中添加如下代码以在运行后初始化运行界面为ShowView      1 UIWindow window;2 showViews shows;3 4 public override bool FinishedLaunching(UIApplication app, NSDictionary options) {5 // create a new window instance based on the screen size6 window new UIWindow(UIScreen.MainScreen.Bounds);7 shows new showViews();8 window.RootViewController shows;9 // If you have defined a view, add it here: 10 // window.AddSubview (navigationController.View); 11 12 // make the window visible 13 window.MakeKeyAndVisible(); 14 15 return true; 16 }        4、添加新类MyViewController.cs此类继承UIViewController重写ipad的自动旋转行为代码如下        using MonoTouch.UIKit;namespace ipad01 {public class MyViewController:UIViewController {public MyViewController() {}public override bool ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation) {return true;}} }          5、在showViews.cs中添加如下代码 1 public override void ViewDidLoad() {2 base.ViewDidLoad();3 4 var text new UITextView();5 text.Text gwtGolden Gate Bridge,\nSan Francisco;6 text.Font UIFont.FromName(Helvetica, 36f);7 text.Frame new System.Drawing.RectangleF(200, 40, 400, 100);8 text.AutoresizingMask UIViewAutoresizing.FlexibleLeftMargin | UIViewAutoresizing.FlexibleTopMargin |9 UIViewAutoresizing.FlexibleRightMargin | UIViewAutoresizing.FlexibleBottomMargin; 10 text.ScrollEnabled false; 11 text.Editable false; 12 UIImage image UIImage.FromFile(GoldenGate.jpg); 13 UIImageView imageView new UIImageView(image); 14 var customScrollView new UIScrollView(this.View.Bounds); 15 customScrollView.AutoresizingMask UIViewAutoresizing.FlexibleHeight 16 | UIViewAutoresizing.FlexibleWidth; 17 customScrollView.AddSubview(imageView); 18 19 20 customScrollView.PagingEnabled false; // freeform scrolling 21 customScrollView.ContentSize imageView.Frame.Size; 22 customScrollView.MaximumZoomScale 4f; 23 customScrollView.MinimumZoomScale 0.25f; 24 customScrollView.Bounces false; 25 customScrollView.BouncesZoom false; 26 customScrollView.IndicatorStyle UIScrollViewIndicatorStyle.White; 27 customScrollView.ViewForZoomingInScrollView delegate (UIScrollView sender) { 28 return imageView; 29 }; 30 customScrollView.ContentOffset new System.Drawing.PointF(250, 20); 31 customScrollView.ZoomScale 1.3f; // 32 var customViewController new MyViewController(); 33 customViewController.Add(customScrollView); 34 customViewController.Add(text); 35 this.View.Add(customViewController.View);}         7ok将要使用的图像文件添入到项目并保证其右键Build Action属性为Content。程序运行效果图如下 转载于:https://www.cnblogs.com/flowwind/archive/2012/10/19/2731327.html
http://www.ihoyoo.com/news/142127.html

相关文章:

  • 网站建设与制作dw8教程学网站建设需要下载什么
  • 做网站在什么地方发帖子呢青岛ui设计公司
  • 温州专业营销网站费用wordpress熊掌号出图
  • icp备案的网站名称建湖做网站哪家最好
  • 网站图片像素多少云阳网站建设公司
  • 做wd网站实训报告总结局域网站开发
  • 合肥网站建设q.479185700惠网站类推广软文怎么写
  • 编程网站scratch网址网站域名验证功能上线
  • wordpress设置网站地图电商网站基本功能
  • dede更新网站批量查询权重
  • c2c网站建设方案旅游开发 网站建设
  • 查做外贸客户的网站登封网站关键词优化软件
  • 网站搭建流程图wordpress显示新闻
  • 辛集建设局官方网站中国手机网
  • 怎么给公司注册网站大丰专业做网站
  • 网站项目方案如何提高网站的搜索
  • 郑州网站建设饣汉狮网络是计算机网页制作工具
  • 整形网站 源码电商网站开发app意义
  • 做球球棒棒糖网站源码淘宝网站的建设目标是
  • 长沙企业网站建设服务分类信息网站程序
  • 如何用域名访问网站做一个小程序要花多少钱
  • 网站的内链建设免费的那种app
  • 自己怎么做卖东西的网站做网站行业现状
  • 凡科做的网站要收费吗电影网站建设的意义
  • 网站内容建设如何把自己做的网站挂网上
  • 南京市公共建设管理中心网站百度问一问免费咨询
  • 天台县建设规划局网站淘客网站做百度推广
  • 网站建设所需硬件在线家装设计平台免费
  • 提供网站建设运营公司资质展示型网站制作服务
  • 2017网站开发工程师做网站开发数据库怎么写