예제 #1
0
        public void SetColor(SprakColor color)
        {
            WindowsColor converted = WindowsColor
                                     .FromRgb(color.R, color.G, color.B);

            Invoke(() => _graphics.Color = converted);
        }
예제 #2
0
        public void SetPrintColor(SprakColor color)
        {
            WindowsColor converted = WindowsColor
                                     .FromRgb(color.R, color.G, color.B);

            Invoke(() => _text.Color = converted);
        }
예제 #3
0
 private void button2_Click(object sender, EventArgs e)
 {
     WindowsColor.ShowDialog();
 }
예제 #4
0
        public SprakColor GetColor()
        {
            WindowsColor color = _graphics.Color;

            return(new SprakColor(color.R, color.G, color.B));
        }