Method OnSelectionChanged
OnSelectionChanged(object?, EventArgs)
Handles the selection change event of the tree view. Enables or disables the "Open" button based on the selected item's properties.
protected virtual void OnSelectionChanged(object? sender, EventArgs e)