Rick Brewster Posted August 8, 2005 Share Posted August 8, 2005 Moved from General Discussion. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
bitsbird Posted August 9, 2005 Share Posted August 9, 2005 Dear Rick Can you help me? Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 9, 2005 Author Share Posted August 9, 2005 I don't understand your question at all. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
bitsbird Posted August 9, 2005 Share Posted August 9, 2005 sorry for my poor english in tool.cs class protected virtual void OnStylusDown(StylusEventArgs e) { } is your own definition but you haven't defined delegate to it what time does it take effect i want to develop a medical soft with lasso select function little person develop it,i only can ask it on the forum,please help me Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 9, 2005 Author Share Posted August 9, 2005 The events in Tool.cs do not call event delegates for external clients to handle -- they are meant to be overriden by derived classes. What will happen is that SurfaceBox or DocumentView will receive input, possibly via OnMouseDown or the stylus input plugin, and will then raise a corresponding event that is handled by DocumentWorkspace. This input event is then pushed to the current Tool via the Perform* methods. If you want to know how it works, you really should just use the excellent debugging facilities provided by Visual Studio and step through the code. Set a breakpoint where you want to investigate, and then go from there. Anyway I don't see how this is specifically related to Paint.NET -- it seems you need help or information on how to work with mouse input in general, correct? If so you may find better help at a more general C# developers' forum. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
bitsbird Posted August 9, 2005 Share Posted August 9, 2005 Thank you Rick,you are so patient,i know how it works now,due to you! wish you helthy and happy! :o Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.