Ejemplo n.º 1
0
 private void changeButtonColor(NewButton myButton, Color myColor)
 {
     myButton.BackColor = Color.Red;
     Application.DoEvents();
 }
Ejemplo n.º 2
0
 private void makeButton(NewButton myButton, int x, int y)
 {
     myButton.Location = new Point(x, y);
     this.Controls.Add(myButton);
 }