Ejemplo n.º 1
0
        private void validateSecretKey()
        {
            // Log messages and update the Form's valid state depending on whether the provided S3 key is valid
            string error = "";
            bool   valid = ValidateProfile.SecretKey(TxtSecretAccessKey.Text, out error);

            ErrorMain.SetError(TxtSecretAccessKey, error);
            cvSave.MarkValidity(TxtSecretAccessKey, valid);
        }
Ejemplo n.º 2
0
        private void validateName()
        {
            // Log messages and update the Form's valid state depending on whether the provided S3 key is valid
            string error = "";
            bool   valid = ValidateProfile.Name(TxtProfileName.Text, out error);

            ErrorMain.SetError(TxtProfileName, error);
            cvSave.MarkValidity(TxtProfileName, valid);
        }