public void randomize() { Random rand = new Random(DateTime.Now.Millisecond); text.Text = "" + rand.Next(minRand, maxRand); }