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