PropertyForm.SetButtonEnableState Method (Boolean, Boolean, Boolean)
Specifies the state of the OK, Cancel, and Apply buttons.
Namespace: Microsoft.WindowsServerSolutions.Properties
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
protected void SetButtonEnableState(
bool okEnabled,
bool cancelEnabled,
bool applyEnabled
)
protected:
void SetButtonEnableState(
bool okEnabled,
bool cancelEnabled,
bool applyEnabled
)
Protected Sub SetButtonEnableState (
okEnabled As Boolean,
cancelEnabled As Boolean,
applyEnabled As Boolean
)
Parameters
okEnabled
Type: System.Booleantrue to enable the OK button; otherwise, false.
cancelEnabled
Type: System.Booleantrue to enable the Cancel button; otherwise, false.
applyEnabled
Type: System.Booleantrue to enable the Apply button; otherwise, false.
See Also
PropertyForm Class
Microsoft.WindowsServerSolutions.Properties Namespace
Return to top