Beispiel #1
0
 public ToolIcon(ToolBase tool, EditorContext context)
 {
     InitializeComponent();
     Tool           = tool;
     Context        = context;
     IconImg.Source = tool.Icon;
 }
Beispiel #2
0
 protected static void SetCursor(ToolBase tool, Cursor cursor)
 {
     tool.Cursor = cursor;
 }