利用 GDI+可以很容易的描画出逼真的半透明效果的阴影。 void DrawShadow(Graphics & g, GraphicsPath ButtonPath ) ... { g.SetPageUnit(UnitPixel); //设置Graphics的坐标单位为像素