通过仅在需要时显示表格来提高记忆效率 [英] being memory efficient by only showing form when you need to

查看:77
本文介绍了通过仅在需要时显示表格来提高记忆效率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您不显示表单直到需要保存内存?

Hi if you don''t show a form until you need to does it save memory?

推荐答案

它将保存表单需要的内存,直到表单出现为止已加载.因此,如果您有只在某些情况下打开的表单,那么除非需要它,否则无需显示或实例化它.

就是说,如果您只想延迟表单的加载,那么这样做并没有真正的价值.无论如何都必须显示它.
It will save the memory the form needs until the form''s loaded. So if you have a form that''s opened only on certain occasions, then you don''t need to show it or instantiate it unless it''s required.

That said if you merely want to delay a form from loading, it doesn''t really give you much value in doing that. It has to be shown anyway.


这篇关于通过仅在需要时显示表格来提高记忆效率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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