DirListBox.Change 事件

定义

DirListBox 控件的内容更改后发生。Occurs when the contents of a DirListBox control has changed.

public:
 event EventHandler ^ Change;
public event EventHandler Change;
member this.Change : EventHandler 
Public Custom Event Change As EventHandler 
Public Event Change As EventHandler 

事件类型

EventHandler

注解

Change 控件中的选定内容更改时 DirListBox ,当用户双击新目录或 Path 通过代码更改属性设置时,将发生此事件。The Change event occurs when the selection in a DirListBox control changes, either when the user double-clicks a new directory or when you change the Path property setting through code.

备注

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

适用于