private void ShowProfileDialog(string service, string operation) { FormProfileEditor form = new FormProfileEditor(this.profile, service, operation); form.ShowDialog(); FormAction("Saving profile", profile.Save); }
private void ShowProfileDialog() { FormProfileEditor form = new FormProfileEditor(this.profile); form.ShowDialog(); FormProfiles formProfiles = new FormProfiles(); formProfiles.Profile = this.profile; formProfiles.ShowDialog(); FormAction("Saving profile", profile.Save); }