Esempio n. 1
0
 public void AddAvailableShape(IShapePlugin shapePlugin)
 {
     addShapesSubMenu.SetMenuItem(shapePlugins.Count + 1, shapePlugin.GetName(), () => container.Add(shapePlugin.ReadShape()));
     shapePlugins.Add(shapePlugin);
 }