Method | Description | |
---|---|---|
AddControl ( object control, string key, object stateChangeEffect, bool affectedByStateChange = true, bool trueIsEnabledProperty = true ) : bool |
Adds given control to list of controls to be maintained by this class.
|
|
ChangeState ( bool state ) : void |
Changes state of all listed controls.
|
|
GetControlAffectedState ( string key ) : bool |
Gets whether control specified by key is affected by state changes.
|
|
Gooey ( |
||
ModifyControl ( string key, bool AffectedByStateChange ) : void |
Modifies control specified by key, changes whether control is affected by state changes.
|
Method | Description | |
---|---|---|
ControlChange ( string type, string key, bool state, |
||
ControlChange ( string type, string key, bool state, |
||
PerformStateChange ( bool state ) : void |
public AddControl ( object control, string key, object stateChangeEffect, bool affectedByStateChange = true, bool trueIsEnabledProperty = true ) : bool | ||
control | object | Control to be added (ToolStripItem or Form Control) |
key | string | Key to identify control. MUST be a unique part of the Control name. |
stateChangeEffect | object | Effect to be run on state change. Bool or Action. |
affectedByStateChange | bool | Optional. If true, this control is affected by state changes. |
trueIsEnabledProperty | bool | Optional. If true, property affected by state changes is the Enabled property, otherwise uses the visible property. |
return | bool |
public ChangeState ( bool state ) : void | ||
state | bool | If true, enables/makes visible. Functions run regardless and take state as parameter. |
return | void |
public GetControlAffectedState ( string key ) : bool | ||
key | string | Key of control to look for. |
return | bool |
public Gooey ( |
||
baseControl | ||
return | System |
public ModifyControl ( string key, bool AffectedByStateChange ) : void | ||
key | string | Key of control to change. |
AffectedByStateChange | bool | If true, control is affected by state changes. |
return | void |