Beispiel #1
0
 private void CanvasPanel_ShapeCreatedEvent(object sender, ShapeEventArgs e)
 {
     (Tools[ToolTypes.SelectionTool] as SelectionTool).SelectedShape = e.Shape;
     this.ActiveTool = Tools[ToolTypes.SelectionTool];
 }
Beispiel #2
0
 private void CanvasPanel_ShapeCancelledEvent(object sender, ShapeEventArgs e)
 {
     this.Shapes.Remove(e.Shape);
 }