Example #1
0
 private void ChangeColorMethod(object obj)
 {
     if (dialogService.ColorDialog())
     {
         manager.Execute(new Shapes.Commands.Pentagon.ChangeColor((Pentagon)selectedShape, dialogService.Color));
     }
 }