Exemple #1
0
 private void ChangeBG()
 {
     if (BGColorDialog.ShowDialog() == DialogResult.OK)
     {
         SetColorBox();
     }
 }
 private void BGColorPBox_Click(object sender, EventArgs e)
 {
     if (BGColorDialog.ShowDialog() == DialogResult.OK)
     {
         BackColor = BGColorPBox.BackColor = BGColorDialog.Color;
     }
 }