使用无模式窗体可显示常用的命令或信息。
Use modeless forms to display frequently used commands or information.
通过单击此按钮在模式窗体中产生的对话框结果。
The dialog result produced in a modal form by clicking the button.
无模式窗体允许在显示窗体时与应用程序进行某种类型的交互。
A modeless form allows some type of interaction with the application while the form is displayed.
该程序必须隐藏或关闭有模式窗体(通常是响应某个用户操作),然后才能对另一窗体进行输入。
The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.
当有模式地显示窗体时,不能进行任何输入(通过键盘或鼠标单击),对模式窗体上的对象的输入除外。
When a form is displayed modally, no input (keyboard or mouse click) can occur except to objects on the modal form.
这是我在前面讨论的服务模式以及窗体设计器的一个重要方面。
This is an important aspect of the services pattern I talked about earlier, as well as of the forms designer.
我们使用工厂模式(见附注)为某个绑定类型创建窗体并产生绑定详细信息。
We used the factory pattern (see sidebar) for creating and populating binding details for a specific binding type.
首先在Windows窗体设计器的上下文菜单中点击选择与其同名的菜单项使编辑属性模式被激活。
Edit Properties Mode is initiated by selecting it from any context menu on the Windows Forms designer or by clicking the menu item of the same name.
将窗体显示为具有指定所有者的模式对话框。
Shows the form as a modal dialog box with the specified owner.
可以使用此属性确定从某方法或属性获取的窗体是否已经有模式地显示。
You can use this property to determine whether a form that you have obtained from a method or property has been displayed modally.
“无模式”窗体让您在此窗体与另一窗体之间变换焦点,而不必关闭初始窗体。
Modeless forms let you shift the focus between the form and another form without having to close the initial form.
有模式显示的窗体通常用作应用程序中的对话框。
Forms that are displayed modally are typically used as dialog boxes in an application.
有模式显示的窗体通常用作应用程序中的对话框。
Forms that are displayed modally are typically used as dialog boxes in an application.
应用推荐