示例#1
0
 public Nastaveni()
 {
     InitializeComponent();
     button1.BackColor      = ColorGen.GetRandomColor();
     flowLayoutPanel1.Width = flowLayoutPanel1.Width + SystemInformation.VerticalScrollBarWidth;
     LoadFromXml();
 }
示例#2
0
 private void Button2_Click(object sender, EventArgs e)
 {
     AddPlayer(GameManager.Insatance.AddHrac(textBox1.Text, button1.BackColor));
     button1.BackColor = ColorGen.GetRandomColor();
 }