简体   繁体   中英

How do I change the alpha channel of a color in a color picker dialog?

I've made a Color Picker in C#, but someone asked me to make an Alpha property. So far it works great, except for the part of the Alpha property itself.

The question is: How do I change the ColorDialog.Color.A by scrolling up and down a ScrollBar?

ScrollBar类上使用ValueChanged事件。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM