void ReleaseDesignerOutlets() { if (CreateUserButton != null) { CreateUserButton.Dispose(); CreateUserButton = null; } if (EmailAddress != null) { EmailAddress.Dispose(); EmailAddress = null; } if (EmailTextbox != null) { EmailTextbox.Dispose(); EmailTextbox = null; } if (LastnameLabel != null) { LastnameLabel.Dispose(); LastnameLabel = null; } if (LastnameTextbox != null) { LastnameTextbox.Dispose(); LastnameTextbox = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (NameTextbox != null) { NameTextbox.Dispose(); NameTextbox = null; } if (PasswordLabel != null) { PasswordLabel.Dispose(); PasswordLabel = null; } if (PasswordTextbox != null) { PasswordTextbox.Dispose(); PasswordTextbox = null; } if (PhoneNumberLabel != null) { PhoneNumberLabel.Dispose(); PhoneNumberLabel = null; } if (PhoneTextbox != null) { PhoneTextbox.Dispose(); PhoneTextbox = null; } if (UserNameLabel != null) { UserNameLabel.Dispose(); UserNameLabel = null; } if (UserNameTextbox != null) { UserNameTextbox.Dispose(); UserNameTextbox = null; } }