private void saveChanges(string name, string accessKeyId, string secretKey) { // Raise an Edited event with the new values ProfileEventArgs args = new ProfileEventArgs(name, accessKeyId, secretKey); ProfileEdited?.Invoke(this, args); }
/// <summary> /// Raises a ProfileEdited event. /// </summary> private void OnProfileEdited() { ProfileEdited?.Invoke(this, EventArgs.Empty); }