为什么我们在桌面应用程序中使用MDI? [英] why do we use MDI from in desktop application??

查看:126
本文介绍了为什么我们在桌面应用程序中使用MDI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)为什么我们要在桌面应用程序中使用MDI?

2)我必须设计多个页面,其中每个页面的标题部分和左侧在每个页面中都将相同.页面的标题部分和左侧包含多个控件.设计页面的方法应该是什么.

谢谢,

Leena

1) why do we use MDI from in desktop application??

2) I have to design multiple pages in which header section and left side of the every page will be same in every page.The header section and left side of the page contain multiple controls. what should be the approach to design the page.

Thanks,

Leena

推荐答案

1)因为,除其他原因外,您将拥有一个主"表单,该表单充当其他表单的基础主线程",因此,如果您关闭所说的表格,您将关闭所有其他子"表格.它也更容易保持常见的外观和感觉.

2)继承的表单 [
1) Because, amongst other reasons, you would have a "main" form that acts as the underlying main "thread" for the other forms, thereby if you close said form, you will close all the other "child" forms. Its also easier to maintain a common look and feel.

2) Inherited Forms[^]


这篇关于为什么我们在桌面应用程序中使用MDI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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