private void manageTagLibraryButton_Click(object sender, EventArgs e) { TagsListForm tagsListForm = new TagsListForm(); tagsListForm.TagsSaved += (newCurrentTags) => { TagsSaved?.Invoke(newCurrentTags); }; tagsListForm.ShowDialog(); }
private void SaveSettings() { Settings.Default.Tags = Model.Tags.ToList(); TagsSaved?.Invoke(Settings.Default.Tags); Settings.Default.Save(); }