/// <summary>
		/// Initializes a new instance of <see cref="VirtualTreeView"/>.
		/// </summary>
		public VirtualTreeView()
		{
			DrawMode = TreeViewDrawMode.OwnerDrawAll;
			SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
			SetStyle(ControlStyles.AllPaintingInWmPaint, true);

			InternalRoot = new VirtualTreeNode {TreeView = this};
		}
Beispiel #2
0
        /// <summary>
        /// Initializes a new instance of <see cref="VirtualTreeView"/>.
        /// </summary>
        public VirtualTreeView()
        {
            DrawMode = TreeViewDrawMode.OwnerDrawAll;
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);

            InternalRoot = new VirtualTreeNode {
                TreeView = this
            };
        }