Click here to Skip to main content
15,897,187 members

Comments by Helifiction (Top 3 by date)

Helifiction 5-May-15 5:29am View    
So sorry @originalGriff butt I have another question: when I closed the app it reset it self how do I prevent that.(I mean even though it had been closed but when restarted retrieve the previous session.) thanks...
Helifiction 5-May-15 5:06am View    
Wow ok now I got it thanks hundreds of times for you answers. :)
Helifiction 5-May-15 4:42am View    
thanks a million times but how do I display it in a text box?
I have a textbox that I want the number on it but when I try:
private void pickWinner_Click(object sender, EventArgs e)
{ Random rand = new Random();
int index = rand.Next(numbers.Count);
string value = numbers[index];
numbers.RemoveAt(index);
textBox1.Text = (numbers[rand.Next(0, 40)])
}
I get a out of the range exception.
Thanks again