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

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

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

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