Reply to comment
While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?
While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?
Richard R.
#
How can I include the ImageBox class/control into my current solution (c# - WinForm) eliminating the need for the DLL dependency? I really want to find a way for this approach as distributing an additional DLL would be problematic.
Richard Moss
#
Hello,
Although the control has grown a bit (or a lot :)) beyond it's more humble beginnings, you can still just add all the files in the solution to your own project and go from there. You could probably exclude some files and delete code that you don't need. (For example the new Zoomed event, if you don't need it, delete it and drop the related event args class and support enum classes. I planned on adding conditional constants to the next update, but deleting code is just as easy!)
However, if you can I'd recommend you stick with a pre-built binary - the NuGet package will be updated with each new version. But, as you have the source you can embed it in your project and tweak it for your needs.
Hope this helps!
Regards; Richard Moss