private void butPickFaceHighlightColor_Click(object sender, EventArgs e) { ColorDiag.Color = butPickFaceHighlightColor.BackColor; if (ColorDiag.ShowDialog() == System.Windows.Forms.DialogResult.OK) { butPickFaceHighlightColor.BackColor = ColorDiag.Color; } }
private void butForeColor_Click(object sender, EventArgs e) { ColorDiag.Color = butForeColor.BackColor; if (ColorDiag.ShowDialog() == System.Windows.Forms.DialogResult.OK) { butForeColor.BackColor = ColorDiag.Color; Rays.Properties.Settings.Default.ConsForeColor = ColorDiag.Color; } }