public void ApplySelectedColorCall(object sender) { ControlColor applyColor = (ControlColor)sender; ColorEventArgs eventArgs = new ColorEventArgs { Color = applyColor }; ApplySelectedHandler?.Invoke(this, eventArgs); }
public void PickMaterialCall(object sender) { ControlColor pickColor = (ControlColor)sender; ColorEventArgs eventArgs = new ColorEventArgs { Color = pickColor }; PickMaterialHandler?.Invoke(this, eventArgs); }
public void AddColor(ControlColor color) { ColorList.Add(color); color.SetName = Name; }
public void RemoveColorCall(object sender) { ControlColor removeColor = (ControlColor)sender; SelectedColorSet.ColorList.Remove(removeColor); }