public ConfigurationEditorForm(SealServerConfiguration configuration) { Visible = false; _configuration = configuration; InitializeComponent(); toolStripStatusLabel.Image = null; configuration.InitEditor(); mainPropertyGrid.ToolbarVisible = false; mainPropertyGrid.SelectedObject = configuration; mainPropertyGrid.PropertySort = PropertySort.Categorized; publish1ToolStripButton.Visible = configuration.ForPublication; publish2ToolStripButton.Visible = configuration.ForPublication; browseToolStripButton.Visible = configuration.ForPublication; iisToolStripButton.Visible = configuration.ForPublication; Text = Repository.SealRootProductName + (!configuration.ForPublication ? " Server Configuration Editor" : " Web Server Publisher"); ShowIcon = true; Icon = Properties.Resources.serverManager; }
/// <summary> /// Forces a configuration reload /// </summary> public void ReloadConfiguration() { _configuration = null; }
public void ReloadConfiguration() { _configuration = null; }