void ReleaseDesignerOutlets() { if (FullNameActionButton != null) { FullNameActionButton.Dispose(); FullNameActionButton = null; } if (FullNameCancelButton != null) { FullNameCancelButton.Dispose(); FullNameCancelButton = null; } if (FullNameTextBox != null) { FullNameTextBox.Dispose(); FullNameTextBox = null; } if (InformationLabel != null) { InformationLabel.Dispose(); InformationLabel = null; } if (MacAddressActionButton != null) { MacAddressActionButton.Dispose(); MacAddressActionButton = null; } if (MacAddressCancelButton != null) { MacAddressCancelButton.Dispose(); MacAddressCancelButton = null; } if (MacAddressTextBox != null) { MacAddressTextBox.Dispose(); MacAddressTextBox = null; } if (PasswordActionButton != null) { PasswordActionButton.Dispose(); PasswordActionButton = null; } if (PasswordCancelButton != null) { PasswordCancelButton.Dispose(); PasswordCancelButton = null; } if (PasswordTextBox != null) { PasswordTextBox.Dispose(); PasswordTextBox = null; } if (PiConnectionStringTextBox != null) { PiConnectionStringTextBox.Dispose(); PiConnectionStringTextBox = null; } if (SignOutButton != null) { SignOutButton.Dispose(); SignOutButton = null; } if (UsernameTextBox != null) { UsernameTextBox.Dispose(); UsernameTextBox = null; } }
void ReleaseDesignerOutlets() { if (ActivityIndicatorView != null) { ActivityIndicatorView.Dispose(); ActivityIndicatorView = null; } if (BottomConstraint != null) { BottomConstraint.Dispose(); BottomConstraint = null; } if (EmailLabel != null) { EmailLabel.Dispose(); EmailLabel = null; } if (ErrorLabel != null) { ErrorLabel.Dispose(); ErrorLabel = null; } if (PasswordTextField != null) { PasswordTextField.Dispose(); PasswordTextField = null; } if (ShowPasswordButton != null) { ShowPasswordButton.Dispose(); ShowPasswordButton = null; } if (SignOutButton != null) { SignOutButton.Dispose(); SignOutButton = null; } if (InstructionLabel != null) { InstructionLabel.Dispose(); InstructionLabel = null; } if (ResetSuccessLabel != null) { ResetSuccessLabel.Dispose(); ResetSuccessLabel = null; } if (LoginButton != null) { LoginButton.Dispose(); LoginButton = null; } }