Click here to Skip to main content
15,920,801 members
Home / Discussions / C#
   

C#

 
AnswerRe: Combobox problem Pin
ddecoy11-Jun-10 1:15
ddecoy11-Jun-10 1:15 
GeneralRe: Combobox problem Pin
Hum Dum11-Jun-10 1:58
Hum Dum11-Jun-10 1:58 
AnswerRe: Combobox problem Pin
Luc Pattyn11-Jun-10 1:21
sitebuilderLuc Pattyn11-Jun-10 1:21 
GeneralRe: Combobox problem Pin
ddecoy11-Jun-10 1:41
ddecoy11-Jun-10 1:41 
GeneralRe: Combobox problem Pin
Luc Pattyn11-Jun-10 1:59
sitebuilderLuc Pattyn11-Jun-10 1:59 
GeneralRe: Combobox problem Pin
Hum Dum11-Jun-10 2:27
Hum Dum11-Jun-10 2:27 
GeneralRe: Combobox problem [modified] Pin
Luc Pattyn11-Jun-10 2:45
sitebuilderLuc Pattyn11-Jun-10 2:45 
GeneralRe: Combobox problem Pin
Hum Dum13-Jun-10 17:41
Hum Dum13-Jun-10 17:41 
GeneralRe: Combobox problem Pin
Luc Pattyn13-Jun-10 18:05
sitebuilderLuc Pattyn13-Jun-10 18:05 
QuestionDisconnect SSL connection after user has logout Pin
tiffanygct10-Jun-10 22:20
tiffanygct10-Jun-10 22:20 
QuestionHow do I find the BITMAPINFOHEADER of a image Pin
TimSWatson10-Jun-10 21:49
TimSWatson10-Jun-10 21:49 
AnswerRe: How do I find the BITMAPINFOHEADER of a image Pin
Henry Minute11-Jun-10 6:11
Henry Minute11-Jun-10 6:11 
GeneralRe: How do I find the BITMAPINFOHEADER of a image Pin
TimSWatson13-Jun-10 21:51
TimSWatson13-Jun-10 21:51 
GeneralRe: How do I find the BITMAPINFOHEADER of a image Pin
Henry Minute14-Jun-10 1:16
Henry Minute14-Jun-10 1:16 
QuestionRandomize from array Pin
Socheat.Net10-Jun-10 21:00
Socheat.Net10-Jun-10 21:00 
AnswerRe: Randomize from array Pin
OriginalGriff10-Jun-10 21:46
mveOriginalGriff10-Jun-10 21:46 
All you are doing there is clogging up your processor, to no good end. Do it this way:

Create a class level Timer, call it randomTimer.
Move your Random to class level.
In your Start_Click event handler, check if there is an existing Timer in randomTimer. If not, create an instance, set the interval to 1/10th second, and set a handler for the Tick event. In all cases, start the timer.
In the Tick event, set the lblNumber.Text to your random value.
In your Stop_Click event handler, stop the timer.
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.

GeneralRe: Randomize from array Pin
Socheat.Net10-Jun-10 22:13
Socheat.Net10-Jun-10 22:13 
GeneralRe: Randomize from array Pin
Socheat.Net11-Jun-10 1:03
Socheat.Net11-Jun-10 1:03 
GeneralRe: Randomize from array Pin
OriginalGriff11-Jun-10 1:19
mveOriginalGriff11-Jun-10 1:19 
GeneralRe: Randomize from array Pin
OriginalGriff11-Jun-10 1:20
mveOriginalGriff11-Jun-10 1:20 
AnswerRe: Randomize from array Pin
Luc Pattyn11-Jun-10 1:44
sitebuilderLuc Pattyn11-Jun-10 1:44 
GeneralRe: Randomize from array Pin
harold aptroot11-Jun-10 1:53
harold aptroot11-Jun-10 1:53 
GeneralRe: Randomize from array Pin
Luc Pattyn11-Jun-10 2:11
sitebuilderLuc Pattyn11-Jun-10 2:11 
GeneralRe: Randomize from array Pin
harold aptroot11-Jun-10 2:44
harold aptroot11-Jun-10 2:44 
AnswerRe: Randomize from array Pin
Socheat.Net11-Jun-10 17:19
Socheat.Net11-Jun-10 17:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.