private void InitializeEvent() { tools.SelectSelectionTool += (sender, args) => canvas.SwitchToSelectionTool(); tools.SelectCurveTool += (sender, args) => canvas.SwitchToCurveTool(); }