private void authenticate() { AuthenticationForm authForm = new AuthenticationForm(); accessKeyID = authForm.GetAWSAccessKeyID(); secretKeyID = authForm.GetAWSSecretKeyID(); }
private void authenticate() { AuthenticationForm authForm = new AuthenticationForm(); if (authForm.ShowDialog(this) != DialogResult.OK) { this.Close(); } accessKeyID = authForm.GetAWSAccessKeyID(); secretKeyID = authForm.GetAWSSecretKeyID(); }