Example #1
0
 public static PolygonShapeCommandOptionView Show(PolygonShapeCommand cmd)
 {
     Instance.DataContext = cmd;
     return(Instance);
 }
        private void PrimitivePolygon_Click(object sender, RoutedEventArgs e)
        {
            PolygonShapeCommand cmd = new PolygonShapeCommand();

            Recipe.AddCommand(cmd);
        }
 public PolygonCADShape(PolygonShapeCommand command)
 {
     Command = command;
     UpdateControl();
 }