Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone!

Im workin on a WinForms application, in which I have to perform multiple different tasks on images.

I made a WinForms where I can load images and I can display these imaes in a PictureBoxIpl. This PictureBoxIpl is made by the opencvsharps Userinterface.dll.
The application is working nicely, I can load the images.
I want to achieve that I can mark squares in this PictureBoxIpl with the mouse, but I dont know how to "track"
the mouse movements inside PictureBoxIpl.
If you know, please tell me which are the methods to perform this operation.
I thought it would be something like this :
C#
wImage.OnMouseCallback += delegate(MouseEvent ev, int x, int y, MouseEvent flags)

but in this PictureBoxIpl I cant find the PictureBoxIpl.OnMouseCallback method.
Posted
Updated 1-Apr-12 3:01am
v3

1 solution

Since it looks like the control is inherited from PictureBox you should be able to use normal PictureBox events, such as: Control.MouseMove Event[^]
 
Share this answer
 
Comments
nagyervin89 1-Apr-12 9:15am    
I think You'r right I try it!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900