The most common way to do this is via the button control. There are several styles of buttons.
最常见的做法是使用按钮控件。
Notice now that when the mouse is over the button control, the text you added to the Help text is displayed.
注意,现在当鼠标置于按钮控件上方时,将会显示添加到Help文本中的文字。
You have mastered the basics, so let's look at a practical example that combines a push button control with a more complex macro.
您已经掌握了基础技能,因此,让我们看看一个实际示例,结合一个push按钮控件和一个更为复杂的宏。
After simulating the actions of a user entering colors for the textbox and combobox controls, the automation simulates clicking of the button control.
模拟用户在文本框和Combobox控件中键入颜色的操作之后,自动化会模拟点击按钮控件。
You'd have to enter some inputs, click the button control, visually verify the result message, and record the result into an Excel spreadsheet or other data store.
您必须键入一些输入,单击按钮控件,直观验证结果消息,并将结果记录到Excel电子表格或其他数据存储中。
Demonstrates creating a simple inherited button control.
演示如何创建一个简单的继承按钮控件。
Draws a button control in the specified state and bounds.
在指定的状态和范围中绘制按钮控制项。
Draws a button control in the specified state and bounds, and with an optional focus rectangle.
在指定边界内使用一个可选焦点矩形绘制指定状态的按钮控件。
Draws a button control in the specified state, on the specified graphics surface, and within the specified bounds.
在指定的边界内、指定的图形表面上,绘制处于指定状态的按钮控件。
Draws a button control in the specified state and bounds, with the specified text, and with an optional focus rectangle.
在指定边界内使用指定文本和一个可选焦点矩形绘制指定状态的按钮控制项。
Draws a button control in the specified state and bounds, with the specified image, and with an optional focus rectangle.
在指定边界内使用指定图像和一个可选焦点矩形绘制指定状态的按钮控制项。
Draws a button control in the specified state and bounds, with the specified text, and with an optional focus rectangle.
在指定边界内使用指定文本和一个可选焦点矩形绘制指定状态的按钮控件。
Draws a radio button control in the specified state, on the specified graphics surface, and within the specified bounds.
在指定边界内、指定的图形表面上,绘制处于指定状态的单选按钮控件。
Gets or sets the name for the group of controls for which the button control causes validation when it posts back to the server.
获取或设置按钮控件回发到服务器时所导致验证的控件组的名称。
Draws a button control in the specified state and bounds, with the specified text and image, and with an optional focus rectangle.
在指定边界内使用指定文本、图像和一个可选焦点矩形绘制指定状态的按钮控件。
Draws a button control in the specified state and bounds, with the specified text and text formatting, and with an optional focus rectangle.
在指定边界内使用指定文本、文本格式和一个可选焦点矩形绘制指定状态的按钮控制项。
Draws a button control in the specified state and bounds; with the specified text, text formatting, and image; and with an optional focus rectangle.
在指定边界内使用指定文本、文本格式、图像和一个可选焦点矩形绘制指定状态的按钮控件。
For example, a common designer mistake is to draw a rectangle or some other static element to represent a button, instead of applying a style to a button control.
例如,常见的设计器错误是绘制矩形或某些其他静态元素来表示按钮,而不是向按钮控件应用样式。
Drag and drop a Button control to the XML code. It should then look like Figure 5.
将一个Button控件拖放到XML代码中,如图5所示。
We'll begin by changing the background of the grid and by declaring a Button control within it.
我们将开始改变网格的背景颜色,在其中声明一个Button控件。
For example, a Button control contains a Click event that is raised when the Button is clicked.
比如,按钮有单击事件。
After the user enters a search keyword and clicks the search button, control is transferred to Bonita's business process engine.
用户输入搜索词并点击Search按钮后,控制转移到Bonita的业务流程引擎。
After the user enters a search keyword and clicks the search button, control is transferred to Bonita's business process engine.
用户输入搜索词并点击Search按钮后,控制转移到Bonita的业务流程引擎。
应用推荐