Ejemplo n.º 1
0
 void ActivateTool()
 {
     if (ActiveTool != null)
     {
         if (DrawingArea != null)
         {
             DrawingArea.SetBinding(FrameworkElement.CursorProperty,
                                    new Binding("ToolCursor")
             {
                 Source = ActiveTool
             });
         }
     }
 }