下面的示例对MDI父窗体(Form1)的子窗口使用MdiLayout枚举的Cascade设置。
互联网摘选
通常在父窗体的底部使用有框架的区域显示有关应用程序的当前状态的信息。
互联网摘选
the foundation of a multiple-document interface (mdi) application is the mdi parent form.
MDI父表单是多重文件介面(MDI)应用程式的基础。
互联网摘选
all mdi child windows are tiled horizontally within the client region of the mdi parent form .
所有MDI子窗口均水平平铺在MDI父窗体的工作区内。
互联网摘选
control can resize or reflow its child controls as the dimensions of the parent form change .
控件可以调整其子控件的大小和流动。
互联网摘选
this application demonstrates how to use a child form as a popup menu for a parent form.
这个应用程序演示了如何使用一个子窗体来作为一个父窗体的弹出菜单。
互联网摘选
gets or sets the value returned to the parent form when the button is clicked.
获取或设置单击按钮时返回给父窗体的值。
互联网摘选
gives directions for creating one or more windows that operate within an mdi parent form.
给出创建在MDI父窗体内操作的一个或多个窗口的说明。
互联网摘选
in this procedure, you will add four toolstrip controls to the mdi parent form.
在此过程中,将向MDI父窗体添加四个ToolStrip控件。
互联网摘选
此示例假定有一个MDI父窗体(Form1),其中包含一个或多个含有RichTextBox控件的MDI子窗口。
互联网摘选
gets or sets a value that is returned to the parent form when the button is clicked.
获取或设置一个值,该值在单击按钮时返回到父窗体。
互联网摘选
for information about creating mdi child windows that operate within the mdi parent form, see
有关如何创建在MDI父窗体内运行的MDI子窗口的信息,请参见
互联网摘选
moreover, keep in mind that when you close an mdi parent form, each of the mdi child forms raises a
此外请记住,关闭MDI父窗体时,每个MDI子窗体先引发一个
互联网摘选
event of the mdi parent form from being raised. however, canceling the event will set to
但是,取消该事件会将作为参数传递给父窗体的
互联网摘选
the value of the orderid control on the main or parent form of the current subform.
当前子窗体的主窗体或父窗体上的“订单ID”控件的值。
互联网摘选