public void SetColor(SprakColor color) { WindowsColor converted = WindowsColor .FromRgb(color.R, color.G, color.B); Invoke(() => _graphics.Color = converted); }
public void SetPrintColor(SprakColor color) { WindowsColor converted = WindowsColor .FromRgb(color.R, color.G, color.B); Invoke(() => _text.Color = converted); }
private void button2_Click(object sender, EventArgs e) { WindowsColor.ShowDialog(); }
public SprakColor GetColor() { WindowsColor color = _graphics.Color; return(new SprakColor(color.R, color.G, color.B)); }