public void novaRavenka() { ravenka = new Ravenka(); txtOp1.Text = ravenka.prvBroj.ToString(); txtOp2.Text = ravenka.vtorBroj.ToString(); txtOperand.Text = ravenka.operand.ToString(); }
public void newGame() { igrac = new Igrac(); txtIgrac.Text = ""; txtOp1.Text = ""; txtOp2.Text = ""; txtOperand.Text = ""; ravenka = new Ravenka(); pbPoeni.Minimum = 0; pbPoeni.Maximum = 50; pbPoeni.Value = 0; pominatoVreme = vreme; pbPreostanatoVreme.Maximum = vreme; pbPreostanatoVreme.Value = pominatoVreme; pbPreostanatoVreme.Minimum = 0; novaRavenka(); timer1.Start(); poeni = 0; lblPoeniii.Text = "0" ; }