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); }
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); }