Exemple #1
0
        private void NewRoundView()
        {
            cafe.NewClient();
            RandomNumber(3);
            Earned_Label.Text           = "";
            pictureBox1.BackgroundImage = cafe.Client[cafe.Client.ManType, cafe.Client.State];
            button1.BackgroundImage     = cafe.getFoodImage(rand[0]);
            button2.BackgroundImage     = cafe.getFoodImage(rand[1]);
            button3.BackgroundImage     = cafe.getFoodImage(rand[2]);

            button5.Visible = false;
            button5.Enabled = false;

            pictureBox2.Visible = false;
            pictureBox3.Visible = false;
        }