using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using Toolbox.Library; namespace Toolbox.Library.Forms { public class MultiselectTreeView : TreeView { #region Public Properties private List m_SelectedNodes = null; public List SelectedNodes { get { return new List() { SelectedNode }; } set { //ClearSelectedNodes(); if (value != null) { foreach (TreeNode node in value) { //ToggleNode(node, true); } } } } #endregion public MultiselectTreeView() { m_SelectedNodes = new List(); base.SelectedNode = null; } } }