using System; using System.Collections; using CMS.FormControls; using CMS.SettingsProvider; using CMS.PortalEngine; using CMS.UIControls; using CMS.SiteProvider; public partial class CMSModules_Objects_FormControls_Cloning_CMS_BannerCategorySettings : CloneSettingsControl { #region "Properties" /// /// Gets properties hashtable. /// public override Hashtable CustomParameters { get { return GetProperties(); } } /// /// Defines a custom close refresh script which preserves selected item in site drop down list. /// public override string CloseScript { get { return "wopener.RefreshUsingPostBack(); CloseDialog();"; } } #endregion #region "Methods" /// /// Returns properties hashtable. /// private Hashtable GetProperties() { Hashtable result = new Hashtable(); result[SiteObjectType.BANNERCATEGORY + ".banner"] = chkCloneBanners.Checked; return result; } #endregion }