Beispiel #1
0
        private void SetEnabledComponent()
        {
            ControlEditMode controlEditMode = new ControlEditMode(this.Controls, btnClose);

            controlEditMode.SetEnableValue(tbOrganization, false);
            controlEditMode.SetEnableValue(tbSubOrganization, false);
        }
Beispiel #2
0
        private void SetEnabledComponent()
        {
            ControlEditMode controlEditMode = new ControlEditMode(this.Controls, btnCancel);

            controlEditMode.SetEnableValue(btnShowRules, true);
            controlEditMode.SetEnableValue(btnShowEmployees, true);
        }
        private void SetEnabledComponent()
        {
            ControlEditMode controlEditMode = new ControlEditMode(this.Controls, btnCancel);

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

            controlEditMode.SetEnable(groupBox3.Controls);
            controlEditMode.SetEnableValue(treeView1, true);
        }