le_lukasz

Untitled

Apr 15th, 2021
486
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  private void timerCzasPodgladu_Tick(object sender, EventArgs e)
  2.         {
  3.             settings.czasPodgladu--;
  4.  
  5.             lblStartInfo.Text = $"Początek gry za: {settings.czasPodgladu}";
  6.  
  7.             if(settings.czasPodgladu <= 0)
  8.             {
  9.                 lblStartInfo.Visible = false;
  10.  
  11.                 foreach(var kontrolka in panelKart.Controls)
  12.                 {
  13.                     var card = (MemoryCard)kontrolka;
  14.                     card.Zakryj();
  15.                 }
  16.  
  17.                 timerCzasPodgladu.Stop();
  18.  
  19.                 timerCzasGry.Start();
  20.             }
  21.         }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×