We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

xpTaskBarBox: OnDoubleClick()

Thread ID:

Created:

Updated:

Platform:

Replies:

7009 Sep 9,2003 02:32 PM Sep 11,2003 12:44 PM Windows Forms 4
loading
Tags: Tools
keith
Asked On September 9, 2003 02:32 PM

Does the control support double click event and how to user if there is? Thansk Keith

Administrator [Syncfusion]
Replied On September 9, 2003 04:44 PM

Hi Keith, XPTaskBarBox does support the DoubleClick event. It can accomplished by using the following code : this.xpTaskBarBox1.DoubleClick += new System.EventHandler(this.xpTaskBarBox1_DoubleClick); private void xpTaskBarBox1_DoubleClick(object sender, System.EventArgs e) { // event handler code } Please let me know if this is the information you are looking for. Thanks, Guru Patwal

keith
Replied On September 9, 2003 05:00 PM

> Does the control support double click event > and how to user if there is? > > Thansk > Keith

keith
Replied On September 9, 2003 05:07 PM

> Hi Keith, > > XPTaskBarBox does support the DoubleClick event. It can accomplished by using the following code : > > this.xpTaskBarBox1.DoubleClick += new System.EventHandler(this.xpTaskBarBox1_DoubleClick); > > private void xpTaskBarBox1_DoubleClick(object sender, System.EventArgs e) > { > // event handler code > } > Please let me know if this is the information you are looking for. > > Thanks, > Guru Patwal Guru, What I want is to add a event method for double click into XPTaskBarBox class like that OnMouseDown() method. I put the codes protected override OnDoubleClick(MouseEventArgs e) { ... } into the box class. When compiling it, got error. I want to capture the event inside the class. Thanks Keith

Administrator [Syncfusion]
Replied On September 11, 2003 12:44 PM

Hi Keith, The format of the OnDoubleClick event handler of the Control class is as follows : protected virtual void OnDoubleClick(EventArgs e) { // code } But you are using MouseEventArgs as the argument instead EventArgs and this in all probability is resulting in the compilation error. Please let me know if this helps. Regards, Guru Patwal.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;