Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to bring Graphic shapes to front of Form Pin
DaveyM691-May-10 10:26
professionalDaveyM691-May-10 10:26 
QuestionMicrosoft Office dictioanries Pin
LiorY19891-May-10 3:48
LiorY19891-May-10 3:48 
AnswerRe: Microsoft Office dictioanries Pin
Abhinav S1-May-10 6:08
Abhinav S1-May-10 6:08 
QuestionInteroperability Pin
Chiman11-May-10 1:55
Chiman11-May-10 1:55 
AnswerRe: Interoperability Pin
ThatsAlok2-May-10 20:20
ThatsAlok2-May-10 20:20 
Questionhow to change a value over a set period of time Pin
kennyhibs30-Apr-10 22:23
kennyhibs30-Apr-10 22:23 
AnswerRe: how to change a value over a set period of time Pin
OriginalGriff30-Apr-10 22:30
mveOriginalGriff30-Apr-10 22:30 
AnswerRe: how to change a value over a set period of time Pin
Luc Pattyn1-May-10 4:04
sitebuilderLuc Pattyn1-May-10 4:04 
Hi,

having the loop execute completely within a single timer tick won't cut it; what you need is one tiny step on each of a number of timer ticks, as Griff already has shown.

FYI: that requires a small time step, probably pretty close to what your system is willing to offer through a System.Windows.Forms.Timer; see my article Timer surprises, and how to avoid them[^]

BTW: your for loop's exit condition was wrong too.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.


QuestionMessage Removed Pin
30-Apr-10 21:59
mrkeivan30-Apr-10 21:59 
AnswerRe: An object reference is required for the non-static field, method, or property !? :( Pin
OriginalGriff30-Apr-10 22:26
mveOriginalGriff30-Apr-10 22:26 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
Abhinav S30-Apr-10 22:50
Abhinav S30-Apr-10 22:50 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
Luc Pattyn1-May-10 3:11
sitebuilderLuc Pattyn1-May-10 3:11 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
OriginalGriff1-May-10 3:46
mveOriginalGriff1-May-10 3:46 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
Luc Pattyn1-May-10 3:55
sitebuilderLuc Pattyn1-May-10 3:55 
GeneralMessage Removed Pin
1-May-10 3:58
harold aptroot1-May-10 3:58 
GeneralMessage Removed Pin
1-May-10 4:03
mveOriginalGriff1-May-10 4:03 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
Luc Pattyn1-May-10 4:16
sitebuilderLuc Pattyn1-May-10 4:16 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
OriginalGriff1-May-10 5:32
mveOriginalGriff1-May-10 5:32 
GeneralMessage Removed Pin
harold aptroot1-May-10 5:33
harold aptroot1-May-10 5:33 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
Luc Pattyn1-May-10 4:14
sitebuilderLuc Pattyn1-May-10 4:14 
GeneralMessage Removed Pin
1-May-10 4:46
harold aptroot1-May-10 4:46 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
Luc Pattyn1-May-10 5:05
sitebuilderLuc Pattyn1-May-10 5:05 
GeneralMessage Removed Pin
Luc Pattyn1-May-10 5:23
sitebuilderLuc Pattyn1-May-10 5:23 
GeneralRe: An object reference is required for the non-static field, method, or property !? :( Pin
OriginalGriff1-May-10 5:34
mveOriginalGriff1-May-10 5:34 
GeneralRe: Interesting Pin
Luc Pattyn1-May-10 5:42
sitebuilderLuc Pattyn1-May-10 5:42 

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.