Esempio n. 1
0
 private void butPickFaceHighlightColor_Click(object sender, EventArgs e)
 {
     ColorDiag.Color = butPickFaceHighlightColor.BackColor;
     if (ColorDiag.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         butPickFaceHighlightColor.BackColor = ColorDiag.Color;
     }
 }
Esempio n. 2
0
 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;
     }
 }