/// <summary> /// Check all properties and push them through /// </summary> public void Repaint(WormBlockUserControl wormUc) { lblPlayerName.Text = Player.ToString(); lblScore.Text = Player.TotalWormScore.ToString(); pnlTopWorm.Controls.ClearAndDispose(); if (wormUc != null) { wormUc.Visible = true; pnlTopWorm.Controls.Add(wormUc); } }