Exemplo n.º 1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            this.Id = Guid.NewGuid().ToString();

            this.NavigationItem.LeftBarButtonItem = UIBarButtonItemHelpers.Create("Menu", () => base.SetupPicker());

            this.btnGo.TouchUpInside += async(object sender, EventArgs e) => await this.SendMessage();
        }
Exemplo n.º 2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            this.NavigationItem.LeftBarButtonItem = UIBarButtonItemHelpers.Create("Menu", () => base.SetupPicker());

            this.NavigationItem.RightBarButtonItem = UIBarButtonItemHelpers.Create("X", () => this.DismissViewController(true, null));

            this.imgThrophie.Image       = UIImage.FromBundle("Throphie");
            this.imgThrophie.ContentMode = UIViewContentMode.ScaleToFill;
        }