using System; using System.Collections; using CMS.FormControls; using CMS.SettingsProvider; using CMS.OnlineMarketing; using CMS.UIControls; public partial class CMSModules_ContactManagement_FormControls_Cloning_OM_AccountSettings : CloneSettingsControl { #region "Properties" /// /// Gets properties hashtable. /// public override Hashtable CustomParameters { get { return GetProperties(); } } /// /// Excluded binding types. /// public override string ExcludedBindingTypes { get { return OnlineMarketingObjectType.CONTACTGROUPMEMBERACCOUNT; } } #endregion #region "Methods" protected void Page_Load(object sender, EventArgs e) { lblMerged.ToolTip = GetString("clonning.settings.account.merged.tooltip"); lblSubsidiaries.ToolTip = GetString("clonning.settings.account.subsidiaries.tooltip"); } /// /// Returns properties hashtable. /// private Hashtable GetProperties() { Hashtable result = new Hashtable(); result[OnlineMarketingObjectType.ACCOUNT + ".merged"] = chkMerged.Checked; result[OnlineMarketingObjectType.ACCOUNT + ".subsidiaries"] = chkSubsidiaries.Checked; result[OnlineMarketingObjectType.ACCOUNT + ".contactgroup"] = chkContactGroup.Checked; return result; } #endregion }