Click here to Skip to main content
12,359,701 members (67,296 online)
   

C#

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


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 1 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid