Exemplo n.º 1
0
        public void highlightUsername(int uid)
        {
            Matches match    = new Matches();
            Users   user     = new Users();
            string  username = user.getUsername(uid.ToString());

            currentUser.Value = username;
            if (match.IsTeamFull(match_id, 1))// team A full
            {
                JoinA.Visible = false;
            }
            if (match.IsTeamFull(match_id, 2))// team B full
            {
                JoinB.Visible = false;
            }
        }