I'm trying to do something very simple with c# and winforms, something i could easily do with WPF, but winforms seems so messy i'm pulling my hair off trying to make it (and yes, i have to use winforms).
Basically i have a button, when i click on it, i want to display an horizontal listview (or something else, but it has to be horizontal and allows me to bind a collection on it) which has 64*64px images as items, on a black 50% transparent background, and i want to handle click event on every image.
This has to be super-easy, but i can't find anything on the internet explaining more or less what i'm trying to achieve.
Can someone please help me ?
This has been answered before: Custom ListView in Winforms?
basically, you can implement a class that allows you to access the graphics device on that listview, from there, you can draw images, lines and other stuff.
Enjoy :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.