如何使用控件继承的事件吗?
我们首先将使用不同的控件构建输入表单。
We will first build the input form using different controls.
这种方法显示了您可以使用的控件中的所有方法。
The utility method diplays all of the methods that you can use on this control.
还提供可以与控件结合使用的非常出色的视觉效果。
It also provides stunning visual effects that you can use in combination with the controls.
本文的其余部分将展示如何使用许多新的SWT控件。
The rest of this article will demonstrate the use of many new SWT controls.
在银行场景中,使用这个标记在屏幕上创建菜单控件。
In the bank scenario, you 'use this tag to create menu control on a screen.
这个示例应用程序只使用了少量的XUL控件。
In the sample application, I have only used a few of the available XUL controls.
SWT使用平台的控件,结果要好得多。
SWT USES the platform's controls, and the result is much more pleasant.
列表9:找出您可以使用的控件方法。
接下来,找到Name使用的控件。
SearchLocations页面演示如何使用更新面板控件。
The Search Locations page demonstrates how to use the update panel control.
现在找到EmployeeId使用的控件。
接下来再使用GetType获取表示控件的Type对象。
Next I use GetType again to get a Type object representing the control.
用户名和密码使用 “input” 和 “secret”表单控件。
The username and password use the "input" and "secret" form controls.
然后使用Type . GetField获取指定控件的信息。
Then I use Type.GetField to grab information about a specified control.
可以使用out put控件,如清单2所示。
This can be done using the output control, as shown in Listing 2.
现在是使用ASP.NET2.0中安全控件的时候了。
Now it's time to use the security controls that are available in ASP.NET 2.0.
对于简单的示例,使用一个按钮控件。
在本例中,可以使用一个文本控件填充可用区域。
In this case, you fill the available area with a single text control.
然后,这个控件将魔术般地出现在窗体上,供用户使用。
The control will then magically appear on your form, ready for use.
第一次使用时,这个控件会以只读模式出现。
当应用程序启动后,您可以使用这些控件来记录事件。
When the application is active, you can use the controls to record events.
可以使用相同的方式更改其他控件。
弹出控件更加复杂,并且将使用一些标记。
The pop-up control is more complicated and USES several tags.
要创建这些控件,可以使用清单6-9 中所示的代码。
To create these controls, use the code shown in listings 6-9.
使用空白的SELECT控件呈现页面。
左侧是此控件可以使用的事件。
On the left are the events that can be used with this control.
为文本控件设置值,并使用合适的动作提交表单。
Set the values for the text controls and submit the form with the proper action.
您可以使用set内置控件的noclobber选项对此进行控制。
You can control this with the noclobber option of the set builtin.
您可以使用set内置控件的noclobber选项对此进行控制。
You can control this with the noclobber option of the set builtin.
应用推荐