Example #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            TextLabel.Frame            = new CGRect(0, 100, this.View.Bounds.Size.Width, 44);
            TextLabel.TextAlignment    = UITextAlignment.Center;
            TextLabel.AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleBottomMargin;
            TextLabel.Text             = "Please, answer the question";
            TextLabel.Font             = UIFont.SystemFontOfSize(12);
            this.View.AddSubview(TextLabel);

            UIButton_Circle.Button(this.View, "Answer Me", this, Show);
        }
Example #2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            UIButton_Circle.Button(this.View, "Show Alert", this, Show);
        }