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

.mom域名可以做网站吗wordpress内置分页方法

.mom域名可以做网站吗,wordpress内置分页方法,iis怎么加载网站,网站的建设与预算本节主要讲述在苹果环境中使用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.zqtcl.cn/news/470859/

相关文章:

  • 企业如何实现高端网站建设西安百度推广开户
  • 广西城乡住房建设厅网站首页本地 安装 WordPress主题
  • 网站开发 技术方案设计一个软件需要多少钱
  • 网站如何做死链接提交建设银行网站官网网址
  • 网站难做吗承德平台
  • 手机备案网站营销网络建设怎么写
  • 建个网站要花多少钱WordPress密码重设怎么改
  • 招商网站建设免费网站改版 升级的目的
  • 安徽圣力建设集团网站如何自己开发微信小程序
  • 学院网站板块盘多多搜索引擎入口
  • 网站seo内部优化wordpress建站网站报错
  • 网站建设科技国外网站入口
  • 怎样用网站做淘宝推广免费的项目管理软件
  • 共青城网站建设微网站开发报价
  • 网站建设选超速云建站网站建设公司比较
  • 芜湖网络科技有限公司沈阳网站推广优化公司哪家好
  • 自己制作图片文字图片网站建设和优化内容最重要性
  • 邢台做网站优化建筑行业新闻资讯
  • 站长统计app最新版本2023网站标题是关键词吗
  • 中山精品网站建设市场wordpress登陆phpadmin
  • 泸县手机网站建设佛山城市建设工程有限公司
  • 长沙网站推广排名优化wordpress主题字体更改
  • 深圳网站建设软件定制公司房地产开发公司注册资金要求
  • 个人如何在企业网站做实名认证房地产平面设计主要做什么
  • 网站做字工具WordPress搜索功能增强
  • 慢慢来做网站多少钱wordpress优化搜索引擎
  • 网页 网站 区别现在装宽带要多少钱
  • 黄金网站下载免费建设个人网站需要什么条件
  • 网站开发人员岗位职责网站维护报价单
  • 免费正能量不良网站推荐自建网站视频教程