Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: Connection String Pin
Mazdak8-Mar-04 10:28
Mazdak8-Mar-04 10:28 
GeneralRe: Connection String Pin
Heath Stewart8-Mar-04 10:34
protectorHeath Stewart8-Mar-04 10:34 
GeneralRaise Event Pin
laptop_018-Mar-04 9:51
laptop_018-Mar-04 9:51 
GeneralRe: Raise Event Pin
Yasir Memon8-Mar-04 10:19
Yasir Memon8-Mar-04 10:19 
GeneralRe: Raise Event Pin
laptop_018-Mar-04 10:27
laptop_018-Mar-04 10:27 
GeneralRe: Raise Event Pin
Heath Stewart8-Mar-04 10:37
protectorHeath Stewart8-Mar-04 10:37 
GeneralRe: Raise Event Pin
laptop_018-Mar-04 11:07
laptop_018-Mar-04 11:07 
GeneralRe: Raise Event Pin
LongRange.Shooter9-Mar-04 7:38
LongRange.Shooter9-Mar-04 7:38 
You can easily solve this -- if the third party control exposes the Click event AND you are already handling the DoubleClick event.....
C#
control_DoubleClick += new EventHandler(myProcessEvent);
control_Click       += new EventHandler(myProcessEvent);

In this case you are handling both double and single click events equally.

If the control automatically handles the DoubleClick (instead of you) then you need the Click event as well as a method to execute the DropDownBox process as well. Then you would be doing this:
control_Click += new EventHandler(myProcessEvent);
              ...
private void myProcessEvent(object sender, EventArgs args)
{
     control.DropDownBox();
}


If the vendor does not outwardly offer these options, then you need to ask them directly. You may have to wait for a new release to get the features or you may have to inherit the control and try hooking into its' base control object events.

_____________________________________________
Of all the senses I could possibly lose,
It is most often the one called 'common' that gets lost.

GeneralContext Menu - Display Member, Value member Pin
Ruchi Gupta8-Mar-04 9:08
Ruchi Gupta8-Mar-04 9:08 
GeneralRe: Context Menu - Display Member, Value member Pin
Heath Stewart8-Mar-04 10:31
protectorHeath Stewart8-Mar-04 10:31 
GeneralRe: Context Menu - Display Member, Value member Pin
Ruchi Gupta8-Mar-04 10:36
Ruchi Gupta8-Mar-04 10:36 
GeneralRe: Context Menu - Display Member, Value member Pin
Heath Stewart8-Mar-04 10:39
protectorHeath Stewart8-Mar-04 10:39 
GeneralRe: Context Menu - Display Member, Value member Pin
Ruchi Gupta8-Mar-04 10:43
Ruchi Gupta8-Mar-04 10:43 
GeneralIE Snapshot ...Is this possible with C# Pin
AWebDude8-Mar-04 8:05
AWebDude8-Mar-04 8:05 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Heath Stewart8-Mar-04 10:17
protectorHeath Stewart8-Mar-04 10:17 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Russell Morris8-Mar-04 10:18
Russell Morris8-Mar-04 10:18 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Heath Stewart8-Mar-04 10:44
protectorHeath Stewart8-Mar-04 10:44 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Russell Morris8-Mar-04 10:56
Russell Morris8-Mar-04 10:56 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Heath Stewart8-Mar-04 11:00
protectorHeath Stewart8-Mar-04 11:00 
Questionhow do you use string from WWW-Authenticate header? Pin
godzooky8-Mar-04 7:42
godzooky8-Mar-04 7:42 
AnswerRe: how do you use string from WWW-Authenticate header? Pin
Heath Stewart8-Mar-04 8:44
protectorHeath Stewart8-Mar-04 8:44 
GeneralI want Enter key to act like Tab key on a DataGrid Pin
mud778-Mar-04 7:26
mud778-Mar-04 7:26 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
Heath Stewart8-Mar-04 8:49
protectorHeath Stewart8-Mar-04 8:49 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
mud778-Mar-04 10:02
mud778-Mar-04 10:02 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
Heath Stewart8-Mar-04 10:27
protectorHeath Stewart8-Mar-04 10:27 

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.