How can I gray-out a disabled PictureBox used as Button?
问题 I'm using Picturebox control as a Button in my app's main dashboard. The PictureBox has of course an Image that identifies the Button function. If I use normal Button controls, when disabled, the Buttons' Image it grayed out automatically. This doesn't happen using a PictureBox. How can I generated the same effect using a Picturebox. 回答1: Option 1: CustomControl (PictureBox) + ColorMatrix Since you don't want to use a Button, which would gray-out the Image for you when the Control is disabled