Exemplo n.º 1
0
		public SdHeader (string[] speedTestNames, string[] speedTestSorted)
		{
			this.View.Frame = new RectangleF (0, 2, this.View.Bounds.Width, 400);
			this.View.AutoresizingMask = UIViewAutoresizing.FlexibleHeight |  UIViewAutoresizing.FlexibleWidth;
			sdHeaderView = new SdHeaderView(speedTestNames, speedTestSorted);
			sdHeaderView.Frame = new RectangleF(0, 20, this.View.Bounds.Width, UIScreen.MainScreen.Bounds.Height);
			sdHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight |  UIViewAutoresizing.FlexibleWidth;
			this.View.AddSubviews(sdHeaderView);
		}
Exemplo n.º 2
0
 public SdHeader(string[] speedTestNames, string[] speedTestSorted)
 {
     this.View.Frame            = new RectangleF(0, 2, this.View.Bounds.Width, 400);
     this.View.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     sdHeaderView                  = new SdHeaderView(speedTestNames, speedTestSorted);
     sdHeaderView.Frame            = new RectangleF(0, 20, this.View.Bounds.Width, UIScreen.MainScreen.Bounds.Height);
     sdHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     this.View.AddSubviews(sdHeaderView);
 }