c# - taking objects from a list box to another form by pressing a button -
i have listbox
add words to, on next page want able press guess button
, shall bring 1 of words up. code this?
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)]; }
Comments
Post a Comment