private void multiLayerGraphic_Canvas_ApproximationChangedEvent(object sender, EventArgs <bool> e) { if (e.Value) { imageApproximation.Source = ToolFunctions.GetImage(Assembly.GetExecutingAssembly().FullName, "Resources/Other/Approximation.ico"); } else { imageApproximation.Source = ToolFunctions.GetImage(Assembly.GetExecutingAssembly().FullName, "Resources/Other/NoApproximation.ico"); } }