Enable()

Example 1:

button1.Enable(false)

Example 2:

var status = false
button1.Enable(status)

Note:
For a Button object named button1, either of the above example will disable the button