Beispiel #1
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);
 }
Beispiel #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);
 }