Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        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();
        }