Ejemplo n.º 1
0
 //=======================================================================================================
 // Constructors
 //=======================================================================================================
 #region vmObjectCreator(Tool tool)
 public vmObjectCreator(ObjectCreator viewRef, Tool tool)
 {
     this.viewRef = viewRef;
     CurrentTool  = tool;
     if (tool.Objects.Count > 0)
     {
         CurrentObject = tool.Objects.ElementAt(0);
     }
     else
     {
         CurrentObject = tool.AddNewObject();
     }
     AddNewProperty();
 }