コード例 #1
0
        private void BtnAddProfile_Click(object sender, EventArgs e)
        {
            SaveProfileForm f = new SaveProfileForm();

            f.ProfileAdded += SaveProfileForm_ProfileAdded;
            f.ShowDialog();
        }
コード例 #2
0
        private void BtnEditProfile_Click(object sender, EventArgs e)
        {
            var             profile = ComboProfiles.SelectedItem as AWSCredentialsProfile;
            SaveProfileForm f       = new SaveProfileForm(profile);

            f.ProfileEdited += SaveProfileForm_ProfileEdited;
            f.ShowDialog();
        }