private void initOrSetPart(Part part)
 {
     if (part == null)
     {
         var click = new NodeClick(new System.Windows.Point(0, 0));
         executor.executeInitPart(click, 120, 4, NoteLength.Quarter);
     }
     else
     {
         tree.buildObject(null, part);
         tree.Root?.updateBounds();
         GuiTreeUpdater.rebarPart(tree.Root);
     }
 }
Exemplo n.º 2
0
 public void setTreePart(Part part)
 {
     tree.buildObject(null, part);
 }
 private void setPart(Part part)
 {
     tree.buildObject(null, part);
 }