Beispiel #1
0
        private void GamePanel_Load(object sender, EventArgs e)
        {
            Text = user.Name;
            btn_answer.BackgroundImage = Image.FromFile("../../../wheel/gold_button.png");
            lbl_PuzzleDisplay.Text     = wheel.GetCurrentState();
            lbl_Category.Text          = wheel.GetCurrentCategory();
            lbl_CurrentPrize.Text      = wheel.CurrentPrize().ToString("C0");

            for (int i = 0; i < players.Count; i++)
            {
                playerLabels[i].Visible = true;
                playerLabels[i].Text    = players[i].Name;

                playerScoreLabels[i].Visible = true;
                playerScoreLabels[i].Text    = players[i].Score.ToString("C0");
            }
        }