trod999

trod999
- Name: [not set]
- Favorite Languages: [not set]
- Website: [not set]
- Location: [not set]
- About Me: [not set]
-
C# Tutorial - How To Use Custom Cursors
04/29/2009 - 16:31
Aerdanel, thanks a ton!
I'd like to add that not only does your function cure memory leaks, it makes the program rock solid as well.
As a "stress test" of this function, I added a MouseMove() event handler to the form, and then incremented a local integer, and then used that integer in a .ToString() method to make a cursor. 1243 cursors and the program dies every time. With your additions I was well over 50,000 cursors, and it was running just fine.
Thanks again.
-- Pete
Recent Comments