问题描述
海..
我先用Menustrip项目创建了一个child1表单,并在其中添加了一些菜单和菜单项.现在,我创建了Child2 Form,其中包含一些具有某些功能的文本框控件.
现在,我采用了一个ParentForm来实现多文档"界面,在菜单项中,我将两个子窗体的父级称为ParentForm.
在执行并单击菜单项时,清楚地打开了child2表单,打开了菜单条的child1表单,但来自菜单项的child1粘贴在了Parent From menustrip中.
请告诉我如何限制child1表单的行为并将menuItem保留在常规位置.
Hai..
i have created one child1 form first with Menustrip item and in that i have add some menu and menu items. And now i have created Child2 Form with some textbox controls with some functionality.
Now i have taken one ParentForm to implement Multi Document interface , in menu items i have refer the two child forms parents as ParentForm.
while execting and clicking on to menu items child2 form opened clearly and child1 form with menu strips opened but child1 from menuitems are pasted in Parent From menustrip.
Please tell me how to restrict that behaviour of the child1 forms and place the menuItems remain in their asusual place
推荐答案
这篇关于Windows表单-关于MultiDocument界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!