public void EndTool() { if (CurrentTool is null) { return; } CurrentTool.End(); CurrentTool = null; }