ButtonTracker.Disable(Button) - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Namespace: UtilityClassLibrary
Description: Disables specified button control.
Parameters | Description |
---|---|
button<Button> | button control to disable |
Returns | Description |
---|---|
void | this method does not return anything |
Examples:
var tracker = new ButtonTracker();
var button = new Button();
tracker.Disable(button);
Console.WriteLine(tracker.IsDisabled(button)); //true