private void DobasMegjelenit(Dobas d, PictureBox[] kepek) { for (int i = 0; i < 5; i++) { KepElhelyez(kepek[i], d.Kockak[i]); } }
public FrmFo() { InitializeComponent(); gepkep = new PictureBox[5] { pbGep1, pbGep2, pbGep3, pbGep4, pbGep5 }; emberkep = new PictureBox[5] { pbEmber1, pbEmber2, pbEmber3, pbEmber4, pbEmber5 }; gep = new Dobas(); ember = new Dobas(); lblEmberReszEredmeny.Text = ""; lblGepReszEredmeny.Text = ""; lblGeperedmeny.Text = ""; lblEmbereredmeny.Text = ""; }