`
sjk2013
  • 浏览: 2186467 次
文章分类
社区版块
存档分类
最新评论

Dev BarManager控件要通过Remove成员来释放内存

 
阅读更多

界面上使用了BarManager控件,会创建DevExpress.XtraBars.BarManager对象。
这些对象被DevExpress.XtraBars.BarAndDockingController的client字段引用,并不会随着界面的关闭而释放内存。
在窗体的关闭事件中调用:

BarAndDockingController.RemoveClient(IBarAndDockingControllerClient)移除Client


分享到:
评论

相关推荐

    DevExpress.BarManager.rar

    动态生成菜单

    DevExpress第三方控件详细总结

    1、DEV套件安装 3 2、Demo示例说明 3 3、类似控件说明 6 3.1 GridControl 6 3.2 PopupMenu、BarManager、BarAndDockingController 20 3.3 labelControl 31 3.4 TextEdit 34 3.5 ButtonEdit 36 3.6 SimpleButton 36 ...

    DevExpress控件的使用总结

    DevExpress控件的使用总结,开发过程中随笔记录的,如果有需要可以发送邮件到david_yxw@163.com共同探讨提高!

    jadi:简约的DI容器

    贾迪 适用于Python的简约IoC import os import subprocess from jadi import service , component , ... BarManager . any ( self . context ). do_bar () @ interface class BarManager ( object ): def __init

    DevExpress VCL 13.2.5 D7-DXE6 FullSource

    •Q468576 - Switching a floating toolbar's Visible property to True in the BarManager's OnMerge event handler does not show this toolbar on screen ExpressDocking Library •Q468199 - The Zone ...

Global site tag (gtag.js) - Google Analytics