Beispiel #1
0
        /// <summary>
        /// Applies the setting.
        /// </summary>
        /// <param name="setting">The setting.</param>
        public void ApplySetting(SelfGroupControlSettings setting)
        {
            base.ApplySetting(setting);

            this.AllowedServerGroups = setting.AllowedServerGroups;

            if (!string.IsNullOrEmpty(setting.UndoCommand))
                this.UndoCommand = setting.UndoCommand;
        }
        /// <summary>
        /// Applies the setting.
        /// </summary>
        /// <param name="setting">The setting.</param>
        public void ApplySetting(SelfGroupControlSettings setting)
        {
            base.ApplySetting(setting);

            this.AllowedServerGroups = setting.AllowedServerGroups;

            if (!string.IsNullOrEmpty(setting.UndoCommand))
            {
                this.UndoCommand = setting.UndoCommand;
            }
        }