Esempio n. 1
0
        private void authenticate()
        {
            AuthenticationForm authForm = new AuthenticationForm();

            accessKeyID = authForm.GetAWSAccessKeyID();
            secretKeyID = authForm.GetAWSSecretKeyID();
        }
Esempio n. 2
0
        private void authenticate()
        {
            AuthenticationForm authForm = new AuthenticationForm();

            if (authForm.ShowDialog(this) != DialogResult.OK)
            {
                this.Close();
            }

            accessKeyID = authForm.GetAWSAccessKeyID();
            secretKeyID = authForm.GetAWSSecretKeyID();
        }