This is a migrated thread and some comments may be shown as answers.

Event Handler Trouble

0 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dr
Top achievements
Rank 1
Dr asked on 09 Apr 2011, 07:08 PM
EDIT: Nevermind, I figured out I was using MouseWheel event args >.>.

I am trying to use the telerik "mouseup" event handler with a shape.
public Home()
{
    InitializeComponent();
    Telerik.Windows.Input.Mouse.AddMouseUpHandler(m_oCircle,
       new System.EventHandler<Telerik.Windows.Input.MouseButtonEventArgs>(circle_DoubleClick));
}
 
private void circle_DoubleClick(object sender, Telerik.Windows.Input.MouseWheelEventArgs e)
{  
}

However, I am getting this error:

No overload for 'circle_DoubleClick' matches delegate 'System.EventHandler<Telerik.Windows.Input.MouseButtonEventArgs>'
Tags
General Discussions
Asked by
Dr
Top achievements
Rank 1
Share this question
or