Exemple #1
0
		public TreeNodeExParent(TreeViewEx view)
		{
			IsNode = false;
			Node = null;
			TreeView = view;
		}
Exemple #2
0
		private void RemoveRecurse()
		{
			// Remove children.
			// FIXME: why?
			/*for (int i = 0; i < childCount; i++)
			{
				children[i].RemoveRecurse();
			}*/
			// Remove out of parent's children.
			for (int i = index; i < parent.childCount - 1; i++)
			{
				TreeNodeEx node = parent.children[i + 1];
				node.index = i;
				parent.children[i] = node;
			}
			parent.childCount--;
			parent = null;
			treeView = null;
		}
Exemple #3
0
		internal TreeNodeEx(TreeViewEx treeView)
			: this()
		{
			this.treeView = treeView;
		}
Exemple #4
0
		// Not used in this implementation
		public static TreeNodeEx FromHandle(TreeViewEx tree, IntPtr handle)
		{
			return null;
		}