public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. ItemSelectedLabel.SizeToFit(); PressMeButton.TouchUpInside += PressMeButton_TouchUpInside; }
void ReleaseDesignerOutlets() { if (PressMeButton != null) { PressMeButton.Dispose(); PressMeButton = null; } if (ItemSelectedLabel != null) { ItemSelectedLabel.Dispose(); ItemSelectedLabel = null; } }