我有ListBox
我添加了单词,在下一页我希望能够按下Button
并且它会带来其中一个单词。这样做的代码是什么?
private void btnGuess_Click(object sender, EventArgs e)
{
}
private void randomNumber()
{
Random rand = new Random();
//randomWord = wordBank[rand.Next(0, (wordbank))];
}
public static void Main(string[] args)
{
//string s = arraylist[rand.Next(arraylist.Count)];
}