private void Match_UC_Paint(object sender, PaintEventArgs e) { Court c = new Court(); panel_grapics.Controls.Add(c); c.Teamname_H = H_name; c.Teamname_A = A_name; c.point_H = HS.ToString(); c.point_A = HQ.ToString(); }
private void Scorerefresh() { panel_grapics.Controls.Clear(); Court c = new Court(); panel_grapics.Controls.Add(c); c.Teamname_H = H_name; c.Teamname_A = A_name; c.point_H = HS.ToString(); c.point_A = AS.ToString(); }