상속: Seal.Model.RootComponent
        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;
        }
예제 #2
0
 /// <summary>
 /// Forces a configuration reload
 /// </summary>
 public void ReloadConfiguration()
 {
     _configuration = null;
 }
예제 #3
0
 public void ReloadConfiguration()
 {
     _configuration = null;
 }