Exemplo n.º 1
0
        private void timerGame_Tick(object sender, EventArgs e)
        {
            _timeInSec++;

            labelTime.Text = TimeConverter.Convert(_timeInSec);
        }
Exemplo n.º 2
0
        private void LeadersForm_Shown(object sender, EventArgs e)
        {
            dataGridViewLeaders.Rows.Clear();

            foreach (var leader in _leaders.LeadersList)
            {
                dataGridViewLeaders.Rows.Add(new object[] { leader.Name, leader.Score, TimeConverter.Convert(leader.TimeInSec) });
            }
        }