Smoothly Fading Controls
问题 I am trying to fade a label but it doesn't seem to have the opacity property like the form itself. Is there another way to fade controls? 回答1: You can use my Transparent control that accept transparent color and have opacity property(0 - 100): public class TranspCtrl : Control { public bool drag = false; public bool enab = false; private int m_opacity = 100; private int alpha; public TranspCtrl() { SetStyle(ControlStyles.SupportsTransparentBackColor, true); SetStyle(ControlStyles.Opaque, true