Example #1
0
		public TreeViewState GetTreeViewState()
		{
			TreeViewState treeState = new TreeViewState();
			foreach(TreeNodeState state in this.states.Values)
				treeState.NodeStates.Add(state);
			return treeState;
		}
Example #2
0
		public void Load(TreeViewState state)
		{
			this.states.Clear();
			foreach(TreeNodeState ns in state.NodeStates)
				this.states[ns.FullPath]=ns;
		}