private void Add() { var dialog = new ApplicationPoolBasicSettingsDialog(Module, null, Items.Parent.ApplicationPoolDefaults, Items); if (dialog.ShowDialog() == DialogResult.OK) { Items.Parent.CommitChanges(); } SelectedItem = dialog.Pool; OnApplicationPoolsSettingsSaved(); }
internal void Basic() { if (SelectedItem == null) { return; } var dialog = new ApplicationPoolBasicSettingsDialog(Module, SelectedItem, null, Items); if (dialog.ShowDialog() == DialogResult.OK) { SelectedItem.Parent.Parent.CommitChanges(); } OnApplicationPoolsSettingsSaved(); }