Click here to Skip to main content
15,881,248 members
Home / Discussions / C#
   

C#

 
QuestionProblem with Excel WorksheetFunction.Growth in c# Pin
Ross R4-Nov-12 23:17
Ross R4-Nov-12 23:17 
Questionavoid double click Pin
neeraj@max4-Nov-12 20:06
neeraj@max4-Nov-12 20:06 
AnswerRe: avoid double click Pin
OriginalGriff4-Nov-12 20:34
mveOriginalGriff4-Nov-12 20:34 
GeneralRe: avoid double click Pin
neeraj@max4-Nov-12 21:09
neeraj@max4-Nov-12 21:09 
GeneralRe: avoid double click Pin
J4amieC4-Nov-12 21:27
J4amieC4-Nov-12 21:27 
GeneralRe: avoid double click Pin
neeraj@max4-Nov-12 23:25
neeraj@max4-Nov-12 23:25 
GeneralRe: avoid double click Pin
Pete O'Hanlon5-Nov-12 0:30
mvePete O'Hanlon5-Nov-12 0:30 
GeneralRe: avoid double click Pin
J4amieC5-Nov-12 1:27
J4amieC5-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 Pin
neeraj@max5-Nov-12 1:43
neeraj@max5-Nov-12 1:43 
GeneralRe: avoid double click Pin
J4amieC5-Nov-12 1:52
J4amieC5-Nov-12 1:52 
GeneralRe: avoid double click Pin
neeraj@max5-Nov-12 19:34
neeraj@max5-Nov-12 19:34 
GeneralRe: avoid double click Pin
J4amieC5-Nov-12 21:43
J4amieC5-Nov-12 21:43 
GeneralRe: avoid double click Pin
neeraj@max6-Nov-12 0:08
neeraj@max6-Nov-12 0:08 
AnswerRe: avoid double click Pin
neeraj@max22-Nov-12 20:02
neeraj@max22-Nov-12 20:02 
QuestionHow to call C++ parameterised function from C# using thread Pin
sjs4u4-Nov-12 4:09
sjs4u4-Nov-12 4:09 
AnswerRe: How to call C++ parameterised function from C# using thread Pin
Richard MacCutchan4-Nov-12 5:14
mveRichard MacCutchan4-Nov-12 5:14 
AnswerRe: How to call C++ parameterised function from C# using thread Pin
DaveyM694-Nov-12 5:29
professionalDaveyM694-Nov-12 5:29 
QuestionHow to declare events? Pin
Andy_L_J3-Nov-12 20:41
Andy_L_J3-Nov-12 20:41 
AnswerRe: How to declare events? Pin
Richard MacCutchan3-Nov-12 21:32
mveRichard MacCutchan3-Nov-12 21:32 
GeneralRe: How to declare events? Pin
Andy_L_J3-Nov-12 22:09
Andy_L_J3-Nov-12 22:09 
GeneralRe: How to declare events? Pin
Richard MacCutchan4-Nov-12 2:03
mveRichard MacCutchan4-Nov-12 2:03 
AnswerRe: How to declare events? Pin
OriginalGriff3-Nov-12 21:33
mveOriginalGriff3-Nov-12 21:33 
GeneralRe: How to declare events? Pin
Andy_L_J3-Nov-12 22:01
Andy_L_J3-Nov-12 22:01 
GeneralRe: How to declare events? Pin
OriginalGriff3-Nov-12 22:10
mveOriginalGriff3-Nov-12 22:10 
GeneralRe: How to declare events? Pin
Andy_L_J3-Nov-12 22:26
Andy_L_J3-Nov-12 22:26 

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.