Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
QuestionGlobal variables (WinForms) Pin
benqazou26-Apr-06 6:25
benqazou26-Apr-06 6:25 
AnswerRe: Global variables (WinForms) Pin
Ravi Bhavnani26-Apr-06 6:50
professionalRavi Bhavnani26-Apr-06 6:50 
AnswerRe: Global variables (WinForms) Pin
Ravi Bhavnani26-Apr-06 7:48
professionalRavi Bhavnani26-Apr-06 7:48 
AnswerRe: Global variables (WinForms) Pin
Raffi Basmajian12-Jun-06 17:34
Raffi Basmajian12-Jun-06 17:34 
QuestionAdding Rows in underlying BindingSource / DataGridView Pin
StyleGuide26-Apr-06 4:47
StyleGuide26-Apr-06 4:47 
QuestionWindows authentication Domainname\Userid Pin
krishna nimmalapudi26-Apr-06 4:35
krishna nimmalapudi26-Apr-06 4:35 
Questiondatagridview + IDictionary + ComboBoxCell Pin
g00fyman26-Apr-06 4:14
g00fyman26-Apr-06 4:14 
QuestionExecuting code continuously while button is pressed Pin
shultas26-Apr-06 3:59
shultas26-Apr-06 3:59 
Hi Everyone,

I am wondering what the best method is in order to continuously execute code while the user is pressing a button. For example, I am just making a dummy/test application right now, it only has a progress bar, and an UP and DOWN button. In the UP button code, I have it set to ProcessStep() to increment the progress bar. What I would like to do is somehow execute code over and over while the user is pressing down on the UP button (so they press and hold and it keeps ramping up until it gets to the top, instead of making them click 100 times). Also, is there an easy way to make the progress bar be verticle instead of horizontal? I've seen a lot of classes on this website that do this and make fancy ones, but I wouldn't mind using the built-in progress bar control to do it if possible. Any help would be appreciated!

DSC
AnswerRe: Executing code continuously while button is pressed Pin
Ravi Bhavnani26-Apr-06 4:16
professionalRavi Bhavnani26-Apr-06 4:16 
QuestionHelp Pin
yantir26-Apr-06 3:53
yantir26-Apr-06 3:53 
AnswerRe: Help Pin
g00fyman26-Apr-06 4:23
g00fyman26-Apr-06 4:23 
AnswerRe: Help Pin
J4amieC26-Apr-06 4:46
J4amieC26-Apr-06 4:46 
AnswerRe: Help Pin
V.26-Apr-06 5:00
professionalV.26-Apr-06 5:00 
AnswerRe: Help Pin
Richard Parsons26-Apr-06 10:27
Richard Parsons26-Apr-06 10:27 
AnswerRe: Help Pin
Josh Smith26-Apr-06 10:33
Josh Smith26-Apr-06 10:33 
QuestionA strange problem with method parametrs Pin
t4ure4n26-Apr-06 3:52
t4ure4n26-Apr-06 3:52 
Questionhi agian i repeat my question about web part!! Pin
abdallahziad26-Apr-06 3:42
abdallahziad26-Apr-06 3:42 
AnswerRe: hi agian i repeat my question about web part!! Pin
The Ladies' Man26-Apr-06 3:47
The Ladies' Man26-Apr-06 3:47 
GeneralRe: hi agian i repeat my question about web part!! Pin
Smith#26-Apr-06 4:05
Smith#26-Apr-06 4:05 
GeneralRe: hi agian i repeat my question about web part!! Pin
The Ladies' Man26-Apr-06 4:26
The Ladies' Man26-Apr-06 4:26 
AnswerRe: hi agian i repeat my question about web part!! Pin
J4amieC26-Apr-06 4:50
J4amieC26-Apr-06 4:50 
QuestionWeb services Pin
Mamphekgo26-Apr-06 3:32
Mamphekgo26-Apr-06 3:32 
AnswerRe: Web services Pin
Rob Philpott26-Apr-06 6:51
Rob Philpott26-Apr-06 6:51 
AnswerRe: Web services Pin
Tom Larsen26-Apr-06 11:00
Tom Larsen26-Apr-06 11:00 
QuestionPlease Reply Me Pin
dayakar_dn26-Apr-06 3:30
dayakar_dn26-Apr-06 3:30 

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.