- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
NET CF下如何提高应用程序的性能(国外英语资料)
NET CF下如何提高应用程序的性能(国外英语资料)
The latest version of history:.NET CF how to improve the performance of the application returns the document editing time: 06-03 14:27 version: MagicBoy version of history history editor: a version of history
Content length: 5607 pictures: 0, directory number: 0
Reason for revision: full text editor
Turn from: /egmkang/archive/2010/04/22/1717483.html
My statement:
All the contents of this article, I did not write, is to extract from inside the MSDN wholly intact. I used to get optimization program is based on from here. There are a lot of friends, love is not love for cheats, see the document, and I think there is no cheats, when you read the Document.
The following programming practices can save memory and improve the performance of device applications.
Save memory by using Windows forms and graphics
Using the two methods for controls that provide the BeginUpdate and EndUpdate methods, the controls that provide the two methods include ComboBox, ListBox, ListView, ToolStripComboBox, and TreeView.
Use the SuspendLayout and ResumeLayout methods when repositioning the control.
Load other forms in the background, use data to fill the control, and then use the Show () () () method.
Restrict event processing code to just performing important tasks so that the pending process can continue.
Before the release of subscriber object, please use the subtraction assignment operator (=) cancel the event subscription. For more information, see how to: subscribe and unsubscribe events (C# programming guide). The problem caused by failing to unsubscribe correctly is similar to memory leaks.
Use screen bitmap. For example, see how to: draw a background image.
Override the OnKeyDown, OnKeyPress, and OnKeyUp methods on the control, instead of adding button event handlers.
Saving memory using data and strings
Use integer variables (Int32 or Int64) in the for loop without using object variables.
Avoid enumerating the ToString method because it searches for met
您可能关注的文档
最近下载
- 县城排水防涝提升改道工程监理细则.docx VIP
- 新版DFMEA&PFMEA表格模板.xlsx VIP
- 人教版高中物理必修第三册精品课件 第9章 静电场及其应用 专题提升二非点电荷电场强度的求解、电场线和轨迹问题.ppt VIP
- 创伤性休克的治疗 治疗创伤性休克的偏方 如何治疗创伤性休克.doc VIP
- 全国职业大赛(中职)ZZ032建筑信息模型建模赛题第9套.docx VIP
- 医共体综合服务能力提升建设项目可行性研究报告.docx
- GB_T 1348—2019《球墨铸铁件》标准解读.pdf VIP
- 三溴化硼BBr3.doc VIP
- 西安地铁丰庆路基坑围护结构施工方案设计.doc
- 高一【美术(人美版)】抒情与写意——文人画-课件.pptx VIP
文档评论(0)