void ReleaseDesignerOutlets() { if (ErrorLabel != null) { ErrorLabel.Dispose(); ErrorLabel = null; } if (LoginButton != null) { LoginButton.Dispose(); LoginButton = null; } if (LoginInput != null) { LoginInput.Dispose(); LoginInput = null; } if (PasswordInput != null) { PasswordInput.Dispose(); PasswordInput = null; } if (QrCodeLoginButton != null) { QrCodeLoginButton.Dispose(); QrCodeLoginButton = null; } if (QrTestResultLabel != null) { QrTestResultLabel.Dispose(); QrTestResultLabel = null; } }