public void randomize_Image() { RandomNoRepeat imageRandom = new RandomNoRepeat(); do { w = imageRandom.Next(1, 19); } while (w == k); do { e = imageRandom.Next(1, 19); } while (e == k); do { r = imageRandom.Next(1, 19); } while (r == k); do { t = imageRandom.Next(1, 19); } while (t == k); do { y = imageRandom.Next(1, 19); } while (y == k); }
public void randomize() { RandomNoRepeat buttonRand = new RandomNoRepeat(); z = buttonRand.Next(0, 6); x = buttonRand.Next(0, 6); c = buttonRand.Next(0, 6); v = buttonRand.Next(0, 6); m = buttonRand.Next(0, 6); n = buttonRand.Next(0, 6); }