private void SetEnabledComponent()
        {
            ControlEditMode controlEditMode = new ControlEditMode(this.Controls, btnCancel);

            controlEditMode.SetEnable(groupBox3.Controls);
            controlEditMode.SetEnableValue(treeView1, true);
        }
        private void SetEnabledComponent()
        {
            ControlEditMode controlEditMode = new ControlEditMode(this.Controls, btnCancel);

            controlEditMode.SetEnable(gbCategory.Controls);
            controlEditMode.SetEnableValue(btnShowRules, true);
            controlEditMode.SetEnableValue(btnShowPerson, true);
        }