private void SetupUsePhoneNumberBoxSubviews() { UsePhoneNumberBox.AddGestureRecognizer(new NSClickGestureRecognizer(this, Selector.UsePhoneNumber_)); UsePhoneNumberImageView.Image = Image.UsePhoneNumber; UsePhoneNumberImageView.RefusesFirstResponder = true; SetupHeaderTextField(UsePhoneNumberHeaderTextField, String.UsePhoneNumber.Header); SetupDescriptionTextField(UsePhoneNumberDescriptionTextField, String.UsePhoneNumber.Description); }
void ReleaseDesignerOutlets() { if (ResendCodeBox != null) { ResendCodeBox.Dispose(); ResendCodeBox = null; } if (ResendCodeImageView != null) { ResendCodeImageView.Dispose(); ResendCodeImageView = null; } if (ResendCodeHeaderTextField != null) { ResendCodeHeaderTextField.Dispose(); ResendCodeHeaderTextField = null; } if (ResendCodeDescriptionTextField != null) { ResendCodeDescriptionTextField.Dispose(); ResendCodeDescriptionTextField = null; } if (UsePhoneNumberBox != null) { UsePhoneNumberBox.Dispose(); UsePhoneNumberBox = null; } if (UsePhoneNumberImageView != null) { UsePhoneNumberImageView.Dispose(); UsePhoneNumberImageView = null; } if (UsePhoneNumberHeaderTextField != null) { UsePhoneNumberHeaderTextField.Dispose(); UsePhoneNumberHeaderTextField = null; } if (UsePhoneNumberDescriptionTextField != null) { UsePhoneNumberDescriptionTextField.Dispose(); UsePhoneNumberDescriptionTextField = null; } if (MoreOptionsBox != null) { MoreOptionsBox.Dispose(); MoreOptionsBox = null; } if (MoreOptionsImageView != null) { MoreOptionsImageView.Dispose(); MoreOptionsImageView = null; } if (MoreOptionsHeaderTextField != null) { MoreOptionsHeaderTextField.Dispose(); MoreOptionsHeaderTextField = null; } if (MoreOptionsDescriptionTextField != null) { MoreOptionsDescriptionTextField.Dispose(); MoreOptionsDescriptionTextField = null; } }