WinForm应用程序主窗体 [英] winform application master form
问题描述
我正在使用asp.net和C#应用程序和它使人们很容易地用母版页的概念发展。
我现在想开发一个Windows窗体应用程序,我真的需要在这里有一个母版页也。
有什么,如主窗体?
I was working on an application using asp.net and C# and It made it very easy to develop using the notion of Master Pages. now I am trying to develop a windows form application and I really need to have a master page here also. is there anything such as a master form ?
感谢您
推荐答案
要模拟的winform你可以cretae基本形式,无论是创建从System.Windows.Forms的继承或简单地添加一种新的形式到您的项目,添加公共控件,然后创建任何其他一类主站的页面形式增加一个继承表,选择创建的基本形式应该工作
to simulate master-pages in winform you could cretae a base form, create either a class that inherits from System.windows.Forms or simply add a new form to your project, add the common controls and then create any other form adding an "Inherited Form" select the base form created and that should work
的 http://www.akadia.com/services/dotnet_inherited_forms.html
这篇关于WinForm应用程序主窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!