private void optionsStripMenuItem_Click(object sender, EventArgs e) { using (ToDoOptionsDialog dialog = new ToDoOptionsDialog(new ToDoOptions(_options))) { if (dialog.ShowDialog() == DialogResult.OK) { _options = dialog.Options; _engine.SettingsProvider.Set("ToDoOptions", _options, PersistHint.AcrossSessions); } } CreateGroupsInListView(); PopulateListView(); }
private void optionsStripMenuItem_Click(object sender, EventArgs e) { using (ToDoOptionsDialog dialog = new ToDoOptionsDialog(new ToDoOptions(_options))) { if(dialog.ShowDialog() == DialogResult.OK) { _options = dialog.Options; _engine.SettingsProvider.Set("ToDoOptions", _options, PersistHint.AcrossSessions); } } CreateGroupsInListView(); PopulateListView(); }