如何在单独的页面中的面板内动态创建面板 [英] How to create panel dynamically inside a panel in separate page

查看:89
本文介绍了如何在单独的页面中的面板内动态创建面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我在windows应用程序中工作。我有两个表格,如主表格和表格表格。

在主要表格中我有一个大面板。在第一种形式我插入表名如T1,T2,T3等。所以当我在主窗体中按下保存按钮时,那时我会以第二种形式自动创建一个小面板。



如何做到这一点不知道。请帮助sumbody。



谢谢

hi there,

I am working in windows application.I have two Forms like "Main Form" and "Table Form".
In "Main Form" i have a big panel. In first form am inserting Table name like T1,T2,T3 etc.So i want when am cicking save button in main form, at that time a small panel automatically created in second form.

How to do this dont know.please help sumbody.

Thanks

推荐答案





我可以在这里建议你一个解决方案。您可以在会话中放置一个值并将值传递给下一个表单。如果值存在于第二个表单中,则添加一个面板,否则不添加。



希望这可以帮助您找到问题的解决方案。



谢谢


I can suggest you a solution here. You can put a value in session and pass the value to the next form. If the value exists in the 2nd form then add a panel otherwise don't add.

Hope this may help you in finding a solution for your question.

Thanks


这篇关于如何在单独的页面中的面板内动态创建面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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