03-14-2011, 10:28 AM
Here is the code for the generate button:
Code:
Dim r As New Random
TextBox1.Text = String.Format("{0} vs {1}", ListBox1.Items(r.Next(0, ListBox1.Items.Count)), ListBox2.Items(r.Next(0, ListBox2.Items.Count)))