コード例 #1
0
        private static void ButtonGivePoints(object sender, EventArgs e)
        {
            Button button = (Button)sender;

            List <object> list = (List <object>)button.Tag;
            MatchNode     mn   = (MatchNode)list[0];
            ITeam         team = (ITeam)list[1];

            mn.GiveTeamOnePoint(team);

            if (Parent != null)
            {
                Parent.MegaUpdate();
            }
        }