Method to draw the button in the appropriate state 方法以适当的状态绘制按钮。
Redraws the button in the appropriate state - -以适当的状态重新绘制按钮。
Redraws the button in an unpushed state , raises the - -以未按下的状态重新绘制按钮,引发
Redraws the button in a pushed state and sets the mouse - -以按下的状态重新绘制按钮,并将该控件的鼠标
When visual styles are enabled , the buttons in a button column are painted using a 绘制按钮列中的按钮,而通过类似
Draws a button control 绘制按钮控件。
Redraws the button in a pushed state if the spacebar or enter or action key is pressed - -如果按下了空格键或enter (或action )键则以按下的状态重新绘制按钮。
This method has two overloads for drawing the button either on a window , used by this example , or on a 此方法有两种重载,一种用于在窗口上绘制按钮(此示例使用该重载) ,另一种在
While you could write your own code to draw a button on the screen , change its appearance when it is pressed , and perform some task when it is clicked , doing so for every program would quickly become tedious . the button 虽然您可以编写自己的代码在屏幕上绘制按钮,在按下按钮时更改它的外观,在单击按钮时执行某些任务,但如果对每个程序都这样做,您很快就会觉得单调乏味。