コード例 #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;
        }
コード例 #2
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;
            }
        }