下列范例会显示最基本的表单,其中包含两个具有相同便捷键的控制项。
The following example shows a minimal form that contains two controls that have identical access keys.
您可以在个别表单中放置任何数量的控制项。
否则,您可将控制项加入至现有表单。
当在控制项中选取范围时,这个资料表就是储存表单输入之处。
When a selection is made in the control, this table is where the form input is saved.
NET登入控制项建立登入表单,然后在不需撰写任何程序码的情况下执行表单验证。
NET login controls to create the login form and perform Forms authentication without writing any code.
您可以将表单上的现有控制项指派给新的容器控制项。
You can assign controls that exist on your form to a new container control.
内容控制项有一个使用者介面(UI)具有像表单一样的受控制输入。
Content controls have a user interface (UI) that has controlled input like a form.
每当使用者按下esc键,则不管表单上的哪个控制项拥有焦点,都会按一下取消按钮。
A cancel button is clicked whenever the user presses the ESC key, regardless of which other control on the form has the focus.
在使用表单和控制项为应用程序建立使用者介面后,您将需要撰写定义应用程序行为的程序码。
After creating the user interface for your application using forms and controls, you need to write the code that defines the application's behavior.
如果目前在表单上选取的控制项会拦截enter键并作处理,则不可以启动接受按钮。
The accept button might not be activated if the currently selected control on the form intercepts the ENTER key and processes it.
已系结设定是指一个已系结至表单上其他属性或专案中控制项的设定。
A bound setting is one that has already been bound to another property on a form or control in your project.
与页面上每个表单相关联的控制项配接器。
这个类别表示包含在表单中控制项的集合。
This class represents the collection of controls contained within a form.
工作区座标的原点位于控制项或表单的工作区的左上角。
The origin for client coordinates is the upper-left corner of the client area of the control or form.
通常,标题只能用来区别表单上不同的控制项分类,或是当做冗长控制项说明的简介。
Typically, titles are only used either to differentiate different categories of controls on a form or as an introduction to a fairly long control description.
当在伺服器上验证表单时,验证错误可以显示在控制项旁边。
When the form is validated on the server, validation errors can be displayed next to the controls.
资料来源视窗拖曳至表单上已系结至关联子资料表之资料行的控制项。
Data Sources Window onto a control on your form that is already bound to the column in the related child table.
每个表单和控制项都会显露一组可经由程序设计以预先定义的事件。
Each form and control exposes a predefined set of events that you can program against.
若要判断是否要建立新的表单或是对现有表单加入更多控制项,请决定您所需要的功能。
To determine whether you want to create a new form or add more controls to an existing form, determine the functionality you require.
某些控制项使用重新编页来分割有多重表单页面的控制项内容(即使不含子控制项)。
Some controls use pagination to break up the content in the controls across multiple form pages, even when they do not contain child controls.
借由以不同方式放置和管理表单上的控制项,可为使用者建立容易了解、功能又强的使用者介面。
By placing and manipulating controls on forms in different ways, you can create user interfaces that are both intuitive and functional for users.
如果没有将控制项集合系结至指定的表单,将无法建立由这个类别所表示的控制项集合。
The control collection represented by this class cannot be created without binding it to a specific form.
此外,可以立刻锁定和解除锁定表单上的所有控制项,这样对拥有很多控制项的表单是很有帮助的,或者也可以解除锁定个别控制项。
Additionally, you can lock and unlock all the controls on the form at once, which is helpful for forms with many controls, or you can unlock individual controls.
因此,您无法建立这个控制项集合的多个执行个体并将它们与作用中的表单互换,以提供不同的控制项配置。
As a result, you cannot create multiple instances of this control collection and interchange them with an active form to provide different control layouts.
不论表单或控制项是位于萤幕上的哪个位置,工作区座标确保了应用程序在表单或控制项中进行绘制时可以使用一致的座标值。
Client coordinates ensure that an application can use consistent coordinate values while drawing in a form or control, regardless of the position of the form or control on the screen.
这个事件在事件链结中的位置,使得将子控制项系结至资料来源,或设定可由所有子控制项继承的表单属性变得非常重要。
This event's position in the event chain makes it very important for binding child controls to data sources or for setting a form property that can be inherited by all child controls.
当一个控制项锚定到表单,同时表单重新调整大小,则控制项仍旧维持控制项和锚定位置的距离。
When a control is anchored to a form and the form is resized, the control maintains the distance between the control and the anchor positions.
表单工作区是表单内控制项可以放在其中的区域。
The client area of a form is the area within a form where controls can be placed.
如果您要从头设计工作项目表单,可以将档案附件的控制项加入至工作项目。
If you are designing a work item form from the ground up, you may want to add the control to attach files to the work item.
如果您要从头设计工作项目表单,可以将档案附件的控制项加入至工作项目。
If you are designing a work item form from the ground up, you may want to add the control to attach files to the work item.
应用推荐