Arkadaşlar kodum bu şekilde sıkıntı olan durum ise pictureboxların hepsine farklı sayı yazmaması.
Eğere picturboxları ayrıştıracak hepsine ayrı yazı yazmamı sağlayacak kod varsa ve ya başka bir yerde yanlışım varsa yazabilirsiniz yardım bekliyorum (kodun amacı ekrana 4 tane rastgele şık geliyor 1 tane işlen doğru bilince +1 puan )







C#:Panoya kopyala
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Proje int sayac = 0; static Random _random = new Random(); static void Shuffle(T[] array) } int sayı; int[] sayılar = new int[4]; string[] islemler = new string[] ; Random rnd1 = new Random(); int sorus1, sorus2, hislem; int rastsayı; string[] pictureler = new string[] ; Random rnd = new Random(); private void button1_Click(object sender, EventArgs e) benzersizrast(); } public void soruolustur() private void Pic_box_Paint(object sender, PaintEventArgs e) } public void picolustur(int x,string z) } private void Picbox_Paint(object sender, PaintEventArgs e) } public void benzersizrast() } } private void Picbox_Click(object sender, EventArgs e) private void Form1_Load(object sender, EventArgs e) } }



Dosya Ekleri 1609295982589.gif 43 bayt · Goruntuleme: 21


1609295982530.gif 43 bayt · Goruntuleme: 21


1609296176349.gif 43 bayt · Goruntuleme: 18


1609296176291.gif 43 bayt · Goruntuleme: 22