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