开发Windows应用 [英] Developing Windows app

查看:90
本文介绍了开发Windows应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设计一个应用程序,在该应用程序中,如果我们单击表单中的按钮,则不应生成新表单,而应在同一表单的特定区域中显示数据.我不是在谈论创建两个表单,即form1和form2,然后单击form1的按钮将调用显示数据的form2.show()方法,我希望按钮的单击应以相同的形式生成响应,即form1.请帮忙.

I wanted to design an app where if we click the buttons in a form,it should not generate a new form rather the data should be displayed in a particular area of the same form. I am not talking about creating two forms viz form1 and form2 and clicking the button of form1 would call the form2.show() method where the data is displayed, I want the button click should generate response in the same form i.e form1. please help.

推荐答案

例如,您可以将控件放在GroupBox中,并将该组框的Visible属性设置为true.
You can place your controls in a GroupBox for example and set the Visible property of that group box to true or false.


这篇关于开发Windows应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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