public void SetOutLineColor(string driverName, ColorDto color) { DriverPresentationDto driverPresentation = GetDriverOrCreatePresentation(driverName); driverPresentation.OutLineColor = color; DriverCustomColorChanged?.Invoke(this, new DriverCustomColorEnabledArgs(driverName, driverPresentation.CustomOutLineEnabled, color)); }
public void SetOutLineColorEnabled(string driverName, bool isEnabled) { DriverPresentationDto driverPresentation = GetDriverOrCreatePresentation(driverName); driverPresentation.CustomOutLineEnabled = isEnabled; DriverCustomColorChanged?.Invoke(this, new DriverCustomColorEnabledArgs(driverName, isEnabled, driverPresentation.OutLineColor)); }