形式变化的影响 [英] Effects of changing form

查看:77
本文介绍了形式变化的影响的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个学校项目.
因此,我目前不喜欢我的GUI的工作方式,并且希望使其变得更好,并正在考虑更改单个表单以匹配其按下的按钮.例如.如果他们选择按ISBN搜索,则表格将从原始选择(即ISBN和标题)变为包含文本框和调用适当方法的按钮.可以重新开始进行另一遍操作.
所以我要问的是这是可以做的,还是一个坏主意.

哦,这将通过不更改可见性来创建对象的新实例来完成.

This is for a school project.
So I don''t currently like the way my GUI works and would like to make it nicer and was thinking about changing the single form to match what buttons they press. Eg. If they choose search by ISBN the form will go from the original choices which are ISBN and Title to containing a text box and the button to call the proper methods. With the ability to go back to the start to do another run through.
So what I am asking is that is this okay to do, or would this be a bad idea.

Oh this would be done by creating new instances of the objects not through changing visibility.

推荐答案

我认为这完全可以.因此,您的UI将是上下文相关的.它将类似于Office功能区,只是将其应用于整个表单.
I think that would be perfectly okay. So your UI would be context sensitive. It would be a little like the Office ribbon except that you apply it to the entire form.


这篇关于形式变化的影响的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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