private void Set()
 {
     using var dialog = new ApplicationPoolDefaultsSettingsDialog(Module, Items.Parent.ApplicationPoolDefaults);
     if (dialog.ShowDialog() == DialogResult.OK)
     {
         Items.Parent.CommitChanges();
     }
 }
Exemplo n.º 2
0
        private async void Set()
        {
            var dialog = new ApplicationPoolDefaultsSettingsDialog(Module, Items.Parent.ApplicationPoolDefaults);

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                await Items.Parent.CommitChangesAsync();
            }
        }