Пример #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            // Perform any additional setup after loading the view, typically from a nib.

            ItemSelectedLabel.SizeToFit();
            PressMeButton.TouchUpInside += PressMeButton_TouchUpInside;
        }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (PressMeButton != null)
            {
                PressMeButton.Dispose();
                PressMeButton = null;
            }

            if (ItemSelectedLabel != null)
            {
                ItemSelectedLabel.Dispose();
                ItemSelectedLabel = null;
            }
        }