private void SecureSettingsShow() { ChangePassLabel.Show(); OldPasswordTextBox.Show(); NewPasswordTextBox.Show(); ConfirmPasswordTextBox.Show(); ChangeButton.Show(); materialDivider1.Show(); CreateKeyLabel.Show(); SecureKeyDescLabel.Show(); CreateKeyButton.Show(); WarningLabel.Show(); }
void ReleaseDesignerOutlets() { if (CreateKeyButton != null) { CreateKeyButton.Dispose(); CreateKeyButton = null; } if (KeyLengthOptions != null) { KeyLengthOptions.Dispose(); KeyLengthOptions = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } }