void ReleaseDesignerOutlets() { if (EmailTextField != null) { EmailTextField.Dispose(); EmailTextField = null; } if (FullNameTextField != null) { FullNameTextField.Dispose(); FullNameTextField = null; } if (LoginTextField != null) { LoginTextField.Dispose(); LoginTextField = null; } if (PasswordTextField != null) { PasswordTextField.Dispose(); PasswordTextField = null; } if (SignUpButton != null) { SignUpButton.Dispose(); SignUpButton = null; } }
void ReleaseDesignerOutlets() { if (ErrorImageView != null) { ErrorImageView.Dispose(); ErrorImageView = null; } if (ErrorLabel != null) { ErrorLabel.Dispose(); ErrorLabel = null; } if (IVendLabel != null) { IVendLabel.Dispose(); IVendLabel = null; } if (LoginButton != null) { LoginButton.Dispose(); LoginButton = null; } if (LoginTextField != null) { LoginTextField.Dispose(); LoginTextField = null; } if (MenuButton != null) { MenuButton.Dispose(); MenuButton = null; } if (PasswordTextField != null) { PasswordTextField.Dispose(); PasswordTextField = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (VersionLabel != null) { VersionLabel.Dispose(); VersionLabel = null; } }