Exemplo n.º 1
0
        public Form2(Player player)
        {
            InitializeComponent();

            user = player;

            textBoxUserID.Text = player.getUID();
            textBoxNumberOfAliases.Text = player.getNumberOfAliases().ToString();
            textBoxKills.Text = player.getKills().ToString();
            textBoxDeaths.Text = player.getDeaths().ToString();
            textBoxKickBanPolls.Text = player.getKickBanPolls().ToString();
            textBoxMapPolls.Text = player.getMapPolls().ToString();
            textBoxKicks.Text = player.getKicks().ToString();
            textBoxTmpBans.Text = player.getTmpBans().ToString();

            if (player.getPermaBanned())
            {
                textBoxPermaBanned.Text = "Yes";
            }
            else
            {
                textBoxPermaBanned.Text = "No";
            }

            textBoxAliases.Lines = player.getAliases();

            populateLogEvents();
        }