C Sharp语言问题中的表格 [英] Forms in C Sharp Language Question

查看:74
本文介绍了C Sharp语言问题中的表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在tabControl中显示Windows窗体吗?如何在Form中显示窗体? :confused:

以及如何在应用程序中使用条形码读取器?

Can I show a windows Form In a tabControl or Not and how can show Form inside Form? :confused:

And how I can use barcodereader in my application?

推荐答案

使用C#浏览多文档界面(MDI)标签页
http://msdn.microsoft.com/en-us/library/7aw8zc76(v=VS.80).aspx

Multi Document Interface (MDI) tab page browsing with C#


如果MDI模型不是您想要的,那么我建议您创建一个UserControl,其中包含您要放置在不属于表单的表单中的当前内容.

作为UserControl,您可以将其添加到窗体或容器控件中,就像添加其他控件一样.
If the MDI model is not what you want, then I recommend creating a UserControl with the content that you currently have inside the form that you want to put where forms don''t belong.

Being a UserControl, you can add it to a form or container control just as you would any other control.


看看 ^ ]答案.


这篇关于C Sharp语言问题中的表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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