我们可以使用Windows窗体或使用c#的任何其他控件创建母版页吗?请尽快给我一个解决方案 [英] Can we Create a Master page using windows forms or any other controls using c# ? please give me a solution as soon as possible

查看:99
本文介绍了我们可以使用Windows窗体或使用c#的任何其他控件创建母版页吗?请尽快给我一个解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请尽快给我一个解决方案。

提前致谢。

Please give me a solution as soon as possible.
Thanks in advance.

推荐答案

问题像这样已经在cp中回答了。



不再使用MDI了。以下链接解释了原因。


如何打开同一窗口内的新表单窗口 [ ^ ]

如何在WPF中创建MDI父窗口? [ ^ ]
Questions like this has already answered in cp.

Do not use MDI anymore. following link explains it why.

How to open a new form window within same window[^]
How to Create MDI Parent Window in WPF?[^]


MdiParent表单是Windows窗体的母版页。您可以通过两种方式创建它:

1.将MdiParentForm添加到您现有的Windows应用程序并根据您自己的要求进行编辑。

2.您可以设置一个新的Windows窗体通过在属性窗口窗体中设置IsMdiContainer = true来作为您的MdiParentForm。
MdiParent form is master page of windows form. You can create it by two ways:
1. Add MdiParentForm to your exiting windows application and edit it on your own requirement.
2. You can set a new windows form as your MdiParentForm by setting IsMdiContainer=true in the properties windows form.


这篇关于我们可以使用Windows窗体或使用c#的任何其他控件创建母版页吗?请尽快给我一个解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆