コード例 #1
0
ファイル: SdHeader.cs プロジェクト: RecursosOnline/c-sharp
 public SdHeader (string[] speedTestNames, string[] speedTestSorted)
 {
     this.View.Frame = new CGRect (0, 2, this.View.Bounds.Width, 400);
     this.View.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     sdHeaderView = new SdHeaderView (speedTestNames, speedTestSorted);
     sdHeaderView.Frame = new CGRect (0, 20, this.View.Bounds.Width, UIScreen.MainScreen.Bounds.Height);
     sdHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     this.View.AddSubviews (sdHeaderView);
 }
コード例 #2
0
 public SdHeader(string[] speedTestNames, string[] speedTestSorted)
 {
     this.View.Frame            = new CGRect(0, 2, this.View.Bounds.Width, 400);
     this.View.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     sdHeaderView                  = new SdHeaderView(speedTestNames, speedTestSorted);
     sdHeaderView.Frame            = new CGRect(0, 20, this.View.Bounds.Width, UIScreen.MainScreen.Bounds.Height);
     sdHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     this.View.AddSubviews(sdHeaderView);
 }