/// <summary> /// Load the current list of settings into the object for edit /// </summary> private void LoadWebSiteSettingObject(Guid websiteId) { // load the site settings into the site settings object propGridSettings.SelectedObject = null; _currWebSiteSettings = new WebSiteSettings(websiteId); _currWebSiteSettings.LoadSettings(_currSiteSettingsColl); propGridSettings.SelectedObject = _currWebSiteSettings; }
/// <summary> /// Helper for clearing out some controls /// </summary> private void ClearUI() { _currSiteSettingsColl = null; _currWebSiteSettings = null; propGridSettings.SelectedObject = null; crmGridSettings.DataSource = null; listViewPreview.Items.Clear(); textBoxFind.Clear(); }