Initialize() public method

public Initialize ( ) : void
return void
Beispiel #1
0
        private TreeNodeProvider GetOrCreateNodeProvider(SWF.TreeNode node)
        {
            TreeNodeProvider nodeProvider;

            if (!nodeProviders.TryGetValue(node, out nodeProvider))
            {
                nodeProvider = new TreeNodeProvider(node, SupportsScroll);
                nodeProvider.Initialize();
                nodeProviders [node] = nodeProvider;
            }

            return(nodeProvider);
        }
Beispiel #2
0
		private TreeNodeProvider GetOrCreateNodeProvider (SWF.TreeNode node)
		{
			TreeNodeProvider nodeProvider;
			
			if (!nodeProviders.TryGetValue (node, out nodeProvider)) {
				nodeProvider = new TreeNodeProvider (node, SupportsScroll);
				nodeProvider.Initialize ();
				nodeProviders [node]  = nodeProvider;
			}

			return nodeProvider;
		}