void ReleaseDesignerOutlets() { if (ErrorText != null) { ErrorText.Dispose(); ErrorText = null; } if (LoginText != null) { LoginText.Dispose(); LoginText = null; } if (PasswordText != null) { PasswordText.Dispose(); PasswordText = null; } if (SigninButton != null) { SigninButton.Dispose(); SigninButton = null; } }
void ReleaseDesignerOutlets() { if (bg != null) { bg.Dispose(); bg = null; } if (LoginText != null) { LoginText.Dispose(); LoginText = null; } if (PasswordText != null) { PasswordText.Dispose(); PasswordText = null; } }