Ejemplo n.º 1
0
 private void BackColorButton_Click(object sender, EventArgs e)
 {
     if (BackColorDialog.ShowDialog() == DialogResult.OK)
     {
         CanvasColor = BackColorDialog.Color;
         BackColorButton.BackColor = BackColorDialog.Color;
     }
 }
Ejemplo n.º 2
0
 private void btn_BackColor_Click(object sender, EventArgs e)
 {
     if (BackColorDialog.ShowDialog() == DialogResult.OK)
     {
         BackgroundColor         = BackColorDialog.Color;
         btn_BackColor.BackColor = BackColorDialog.Color;
     }
 }