partial void ButttonClick(UIButton sender) { if (string.IsNullOrEmpty(SearchCriteriaTextField.Text)) { return; } SearchCriteriaTextField.ResignFirstResponder(); var listViewController = (SecondViewController)this.Storyboard.InstantiateViewController(nameof(SecondViewController)); listViewController.Parameter = SearchCriteriaTextField.Text; this.PresentViewController(listViewController, true, null); }
void ReleaseDesignerOutlets() { if (Button != null) { Button.Dispose(); Button = null; } if (SearchCriteriaTextField != null) { SearchCriteriaTextField.Dispose(); SearchCriteriaTextField = null; } if (Title != null) { Title.Dispose(); Title = null; } }