Exemplo n.º 1
0
 private ModelUICache(ModelTreeControl tc, Canvas treeCanvas, TreeModel treeRoot, Root dataRoot)
 {
     TC         = tc;
     DataRoot   = dataRoot;
     TreeRoot   = treeRoot;
     TreeCanvas = treeCanvas;
 }
Exemplo n.º 2
0
 internal static void Allocate(ModelTreeControl tc, Canvas treeCanvas, TreeModel treeRoot, Root dataRoot, int count, Stack <ModelUICache> stack)
 {
     for (int i = 0; i < count; i++)
     {
         stack.Push(new ModelUICache(tc, treeCanvas, treeRoot, dataRoot));
     }
 }