Esempio n. 1
0
 private void timer2_Tick(object sender, EventArgs e)
 {
     if (B.getValue() > 0)
     {
         B.setValue(B.getValue() - 1);
     }
     else
     {
         timer2.Stop();
         Console.Beep();
     }
     refresh();
 }
Esempio n. 2
0
 private void buttonPush_Click(object sender, EventArgs e)
 {
     if (SP >= 0)
     {
         stos[SP] = rejDocelowy.getValue();
         SP--;
         Clear();
         refresh();
     }
 }
Esempio n. 3
0
 public void Mov()
 {
     rejDocelowy.setValue(rejZrodlowy.getValue());
     // rejZrodlowy.setValue(0);
 }