private void timer1_Tick(object sender, EventArgs e) { t = rand.Generate(0.5); textBox1.Text = t.ToString(); }