VB.Net Windows Mdiparent,Mdichild表单 [英] VB.Net Windows mdiparent, mdichild forms

查看:153
本文介绍了VB.Net Windows Mdiparent,Mdichild表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何帮助解决我的困境的工作将不胜感激.我从另一个开发人员那里继承了一个项目,并被要求做一些最后的更改,这些更改原来超出了我的期望. mdichid窗体具有许多控件,其中许多控件包含标签和文本框.而且还有一些列表框.控件被放入组框中,我不理解这样做的理由,但是除非绝对必要,否则我不想更改此设置.最大的问题是子窗体不会像大多数窗口一样通过在边框上滑动来调整大小.子窗体也不会完全填充父窗体中的空白区域,除非两者都最大化.我也遇到了一个奇怪的问题,那就是当我进入子窗体的设计视图的属性窗口并尝试将开始位置更改为"Centerof ParentForm"时,一些代码行(FriendwithEvents)被编辑器删除了.我收到错误消息.简而言之,当我最大化子窗体时,父窗体上的垂直滚动条会消失,我的子窗体将不会通过粘贴边框上的广告来调整大小,子窗体不会完全填充父窗体中的空白空间.请帮忙.我的生活和理智目前处于危险之中.我一天中大部分时间都使用Googled,但没有发现任何帮助.

Any help solving my dilemna will be greaty appreciated. I inherited a project from another developer and have been asked to make some last minute changes that turned out to be more than I baragained for. The mdichid form has lots of controls, many of them labels and text boxes. but also some list boxes. The controls were put into group boxes, which I do ot understand the rationale for doing, but I do not want to change this unless absolutely necessary. The biggest issues are that the child form will not resize by cliking on the border as most windows do. The child form also does not completely fill the open space in the parent form unless both are maximized. I have run into a strange problem also, which is thatwhen I do into the properties window of the design view of the child form and attempt to change the start position to "Centerof ParentForm" some lines of code (FriendwithEvents)get deleted by the editor and I get error messages. In an nutshell, my child form will not resize by clicing ad drgging the border, the child form does not completey fill the empty space in the parent form, when I maximize the child form the vertical scroll bar on the parent form disappears. Please help. My livlihood and my sanity are in some jeopardy at present. I have Googledfor teh better part of a day and nothing I have found helps

推荐答案

您所描述的内容看起来像一场彻底的灾难.不要冒险,只要花上多少钱,就可以摆脱它.无论如何,使用它会花费更多. (这是查看 cost 的常见错误,而忽略了 value 的纯正的错误.)

即使在更好的情况下,当我们实际上成功地使用了遗产时,我也看到很多情况下,遗产价值至少被高估了一点,而问题至少被低估了些-我认为,这是由于贪婪的人性所致.我不记得一个相反的情况.贪婪的人支付两次.

免责声明:所有责任由您承担. :)
What you describe looks like a complete disaster. Don''t risk you sanity -- through it out, no matter how much it costs. Using it will cost much more anyway. (This is common mistake to look at cost and fail to look at value, which can be purely negative.)

Even in much better cases, when we actually used legacy successfully, I have seen many cases when legacy value was at least a bit overestimated and problems at least a bit underestimated -- I think, because of greedy human nature. I cannot remember a single opposite case. A greedy ones pay twice.

Disclaimer: all responsibility is yours. :)


这篇关于VB.Net Windows Mdiparent,Mdichild表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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