• 例而言发现只须添加一个窗体,将它删除然后强制执行垃圾收集结果就会导致删除窗体相关联许多实例仍然处于活动状态。

    For this example, I found that simply adding a form, deleting the form, and then forcing a garbage collection resulted in many class instances associated with the deleted form to still be alive.

    youdao

  • 另外一个合适控件完全替换当前控件可不容易需要删除这个控件,然后将控件拖入窗体重新配置

    Completely replacing one control with another more relevant control is not as simple; you will need to delete an existing control, drop a new one on the form, and reconfigure it.

    youdao

  • 当作了这些修改以后使用调试证实执行相同测试案例时,删除窗体相关联对象计数减小

    After I made these code changes, I used the debugger to verify that the object count associated with the deleted form decreased when the same test case was executed.

    youdao

  • 随后添加了四个窗体然后又将它们删除再次调用垃圾收集器

    Next, I added, then deleted four forms and again invoked the garbage collector.

    youdao

  • 因此这个静态hashtable应用程序生存期内一直存在永远不会删除引用每个窗体那些

    Therefore, this static hashtable, which essentially existed for the life of the application itself, was never removing the keys that referenced each form.

    youdao

  • 对于允许进行不可逆操作(删除)窗体最好取消按钮设置为默认命令按钮。

    For a form that allows irreversible operations, such as deletions, it's a good idea to make the Cancel button the default command button.

    youdao

  • 对于允许进行不可逆操作(删除)窗体最好取消按钮设置为默认命令按钮。

    For a form that allows irreversible operations, such as deletions, it's a good idea to make the Cancel button the default command button.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定