Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            goal1          += 1 - fl;
            labelgoal1.Text = goal1.ToString();
            label4.Text     = goal1.ToString();
            StatusAssist    = true;
            Formgoal secondForm = new Formgoal();

            secondForm.Show();
            Half1[CountBall1]       = HalfGame;
            StatusGoal1[CountBall1] = "Goal";
        }
Example #2
0
        private void button11_Click(object sender, EventArgs e)
        {
            failpen2      += 1 - fl;
            label14.Text   = failpen2.ToString();
            StatusTeamGoal = false;
            StatusAssist   = false;
            Formgoal secondForm = new Formgoal();

            secondForm.Show();
            Half2[CountBall2]        = HalfGame;
            StatusGoal2 [CountBall2] = "Fail penalty";
        }
Example #3
0
        private void button10_Click(object sender, EventArgs e)
        {
            failpen1    += 1 - fl;
            label13.Text = failpen1.ToString();
            Formgoal secondForm = new Formgoal();

            StatusTeamGoal = true;
            StatusAssist   = false;
            secondForm.Show();
            Half1[CountBall1]       = HalfGame;
            StatusGoal1[CountBall1] = "Fail penalty";
        }
Example #4
0
        private void button20_Click(object sender, EventArgs e)
        {
            goal2          += 1 - fl;
            labelgoal2.Text = goal2.ToString();
            label23.Text    = goal2.ToString();
            StatusTeamGoal  = false;
            StatusAssist    = true;
            Formgoal secondForm = new Formgoal();

            secondForm.Show();
            Half2[CountBall2]        = HalfGame;
            StatusGoal2 [CountBall2] = "Goal";
        }
Example #5
0
        private void button9_Click(object sender, EventArgs e)
        {
            penalty1       += 1 - fl;
            goal1          += 1 - fl;
            labelgoal1.Text = goal1.ToString();
            label12.Text    = penalty1.ToString();
            StatusTeamGoal  = true;
            StatusAssist    = false;
            Formgoal secondForm = new Formgoal();

            secondForm.Show();
            Half1[CountBall1]       = HalfGame;
            StatusGoal1[CountBall1] = "penalty";
        }