Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void timerCzasPodgladu_Tick(object sender, EventArgs e)
- {
- gameSettings.czasPodgladu--;
- lblStartInfo.Text = $"Początek gry za {gameSettings.czasPodgladu}.";
- if(gameSettings.czasPodgladu <= 0)
- {
- lblStartInfo.Visible = false;
- foreach (Control kontrolka in panelKart.Controls)
- {
- MemoryCard card = (MemoryCard)kontrolka;
- card.Zakryj();
- }
- timerCzasPodgladu.Stop();
- timerCzasGry.Start();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement