Click here to Skip to main content
       

C#

 
QuestionProblem with Excel WorksheetFunction.Growth in c# [modified] PinmemberRoss R4-Nov-12 23:17 
Questionavoid double click Pinmemberneeraj@max4-Nov-12 20:06 
AnswerRe: avoid double click PinmvpOriginalGriff4-Nov-12 20:34 
GeneralRe: avoid double click Pinmemberneeraj@max4-Nov-12 21:09 
GeneralRe: avoid double click PinmemberJ4amieC4-Nov-12 21:27 
GeneralRe: avoid double click Pinmemberneeraj@max4-Nov-12 23:25 
GeneralRe: avoid double click PinprotectorPete O'Hanlon5-Nov-12 0:30 
GeneralRe: avoid double click PinmemberJ4amieC5-Nov-12 1:27 
You're missing the point. As a programmer, when you find a solution to the problem, but you have 25 problems - you dont implement the solution 25 times. You implement it once and re-use it 25 times.
 
Think of it this way - if you have 25 customers, you dont write 25 different classes to represent each customer, you implement once class called "Customer" and reuse it 25 times. The same thing applies here, you need a solution which stops a button being clicked within 500ms of another button (personally I think this is an awful solution to your original problem, but hey if it works for you go with it). Write a class which exhibits this behaviour and attach it to every button which requires it.
GeneralRe: avoid double click Pinmemberneeraj@max5-Nov-12 1:43 
GeneralRe: avoid double click PinmemberJ4amieC5-Nov-12 1:52 
GeneralRe: avoid double click Pinmemberneeraj@max5-Nov-12 19:34 
GeneralRe: avoid double click PinmemberJ4amieC5-Nov-12 21:43 
GeneralRe: avoid double click Pinmemberneeraj@max6-Nov-12 0:08 
AnswerRe: avoid double click Pinmemberneeraj@max22-Nov-12 20:02 
QuestionHow to call C++ parameterised function from C# using thread Pinmembersjs4u4-Nov-12 4:09 
AnswerRe: How to call C++ parameterised function from C# using thread PinmvpRichard MacCutchan4-Nov-12 5:14 
AnswerRe: How to call C++ parameterised function from C# using thread PinmentorDaveyM694-Nov-12 5:29 
QuestionHow to declare events? PinmemberAndy_L_J3-Nov-12 20:41 
AnswerRe: How to declare events? PinmvpRichard MacCutchan3-Nov-12 21:32 
GeneralRe: How to declare events? PinmemberAndy_L_J3-Nov-12 22:09 
GeneralRe: How to declare events? PinmvpRichard MacCutchan4-Nov-12 2:03 
AnswerRe: How to declare events? PinmvpOriginalGriff3-Nov-12 21:33 
GeneralRe: How to declare events? PinmemberAndy_L_J3-Nov-12 22:01 
GeneralRe: How to declare events? PinmvpOriginalGriff3-Nov-12 22:10 
GeneralRe: How to declare events? PinmemberAndy_L_J3-Nov-12 22:26 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 21 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid