Click here to Skip to main content
16,013,322 members
Home / Discussions / C#
   

C#

 
GeneralRe: Urgent Pin
[DK]KiloDunse26-Jun-06 7:49
[DK]KiloDunse26-Jun-06 7:49 
AnswerRe: Urgent Pin
Dave Kreskowiak26-Jun-06 9:04
mveDave Kreskowiak26-Jun-06 9:04 
QuestionHow to find which applications are running? Pin
smurfy3426-Jun-06 4:45
smurfy3426-Jun-06 4:45 
AnswerRe: How to find which applications are running? Pin
Jun Du26-Jun-06 4:56
Jun Du26-Jun-06 4:56 
AnswerRe: How to find which applications are running? [modified] Pin
Mike Poz26-Jun-06 13:20
Mike Poz26-Jun-06 13:20 
AnswerRe: How to find which applications are running? Pin
engsrini27-Jun-06 3:52
engsrini27-Jun-06 3:52 
QuestionHow can I implement Double click event for button Pin
For_IT26-Jun-06 4:18
For_IT26-Jun-06 4:18 
AnswerRe: How can I implement Double click event for button [modified] Pin
J4amieC26-Jun-06 4:58
J4amieC26-Jun-06 4:58 
For_IT wrote:
Can anyone suggest me whats going wrong here


Im afraid that my mind-reading AND my remote-debugging abilities are not working at the moment, so without details of any error message you receive I dont think I can tell you what went wrong.

You have also not mentioned which version of the framework you are programming against - but I can tell you that in v1.x the Button control did not contain a DoubleClick event (this may be different for the v2 framework but I dont have it in front of me to check).

Capturing a Double click in v1.x was done using the MouseDown event as follows
private void button1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
	if(e.Button == MouseButtons.Left && e.Clicks == 2)
	{
		MessageBox.Show("I was a double left button click");
	}
}


Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour


-- modified at 10:58 Monday 26th June, 2006
GeneralRe: How can I implement Double click event for button Pin
Jun Du26-Jun-06 5:22
Jun Du26-Jun-06 5:22 
GeneralRe: How can I implement Double click event for button Pin
For_IT27-Jun-06 9:38
For_IT27-Jun-06 9:38 
Question Showing a Control underneath another Control Pin
StyrofoamSUV26-Jun-06 3:58
StyrofoamSUV26-Jun-06 3:58 
AnswerRe: Showing a Control underneath another Control Pin
MatthewAnderson26-Jun-06 4:08
MatthewAnderson26-Jun-06 4:08 
GeneralRe: Showing a Control underneath another Control Pin
StyrofoamSUV26-Jun-06 4:17
StyrofoamSUV26-Jun-06 4:17 
QuestionProblem in accessing the VSS Pin
AnnnS26-Jun-06 3:47
AnnnS26-Jun-06 3:47 
QuestionCompact Access Database using C# Pin
sgrass-11126-Jun-06 3:13
sgrass-11126-Jun-06 3:13 
QuestionMultiple Tables in one XML file Pin
PBS_LKI26-Jun-06 3:12
PBS_LKI26-Jun-06 3:12 
AnswerRe: Multiple Tables in one XML file Pin
Dustin Metzgar26-Jun-06 3:25
Dustin Metzgar26-Jun-06 3:25 
GeneralRe: Multiple Tables in one XML file Pin
PBS_LKI26-Jun-06 3:38
PBS_LKI26-Jun-06 3:38 
GeneralRe: Multiple Tables in one XML file Pin
Dustin Metzgar26-Jun-06 4:08
Dustin Metzgar26-Jun-06 4:08 
GeneralRe: Multiple Tables in one XML file Pin
PBS_LKI26-Jun-06 4:26
PBS_LKI26-Jun-06 4:26 
GeneralRe: Multiple Tables in one XML file Pin
Dustin Metzgar26-Jun-06 5:07
Dustin Metzgar26-Jun-06 5:07 
AnswerRe: Multiple Tables in one XML file Pin
Rob Graham26-Jun-06 5:14
Rob Graham26-Jun-06 5:14 
GeneralRe: Multiple Tables in one XML file Pin
PBS_LKI26-Jun-06 23:17
PBS_LKI26-Jun-06 23:17 
QuestionCode performance Pin
Kasic Slobodan26-Jun-06 3:01
Kasic Slobodan26-Jun-06 3:01 
QuestionHow to use RTC Client with C#.Net? Pin
Divyang Mithaiwala26-Jun-06 2:48
Divyang Mithaiwala26-Jun-06 2:48 

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.