什么是主表格? [英] what is meant by master form?
本文介绍了什么是主表格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在VB.Net中使用主表单
解决方案
这个网址有一个很好的解释
ASP.NET中母版页的初学者教程 [ ^ ]
我们可以在vb .net应用程序或任何其他应用程序中创建主 - 详细信息表单。主表单是主表单,详细表单是应用程序中的子表单。主表格和详细表格之间会有一些连接信息。
例如:在销售账单中,主表格和详细信息表格在那里。购买产品的人员,账单/发票号码,账单日期均归主表格所有。该法案只需要一次这些细节。产品名称,数量,费率,金额等详细信息。这两种表格可以与账单号码连接。
我们可以在VB.net中编写程序以容纳主表格格式
请阅读我最近的文章并发表您的意见和评论。评级
PHP聊天应用程序
问候,
Sunil
在VB.NET中Master Form是什么都没有但是 MDI容器。
将表单设为MDI容器设置为IsMDIContainer
属性True
。
制作另一个表格作为MDI表格的子表格(主表格)将其设为MDIParent
属性到MDI表格( Master Form)。
请参阅以下代码:
' 这里FrmMasterFrom是Master of Master From& FrmChildForm是Child Form的名称。
FrmMasterForm.IsMDIContainer = True
FrmChildForm.MDIParent = Form1
FrmChildForm.Show ()
更多信息请参阅以下链接:
http://msdn.microsoft.com/en-us/library/ms973874.aspx [ ^ ]
http://vb.net-informations.com/gui/vb.net-mdi-form.htm [ ^ ]
我希望它能帮你。 :)
how to use the master form in VB.Net
解决方案
This url is having a good explanation
Beginner's Tutorial on Master Pages in ASP.NET[^]
We can create master-detail forms in vb .net application or any other application. Master form is the main form and detail form is the sub form in the applications. There will be some connecting information between the master form and detail form.
Eg: In a Sales bill, Master Form and Detail form are there. Persons who buy the products, Bill/Invoice NO, Bill Date are come under Master Form. These details are only once required for that bill. Product Name, Quantity, Rate, Amount, etc coming under the detail for. These two forms can be connected with the bill No.
We can write programs in VB.net to accomodate the master-detail form
Please read my recent article and give your comments & Rating
Chat Application in PHP
with regards,
Sunil
In VB.NET Master Form is nothing but the MDI Container.
To Make Form as MDI Container Set it'sIsMDIContainer
PropertyTrue
.
To make another Form as Child of MDI Form(Master Form) Set it'sMDIParent
Property to MDI Form(Master Form).
See Following Code:
'here FrmMasterFrom is Name of Master From & FrmChildForm is Name of Child Form. FrmMasterForm.IsMDIContainer = True FrmChildForm.MDIParent = Form1 FrmChildForm.Show()
For More Information See follwoing Links :
http://msdn.microsoft.com/en-us/library/ms973874.aspx[^]
http://vb.net-informations.com/gui/vb.net-mdi-form.htm[^]
I hope it will help you. :)
这篇关于什么是主表格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文