//斜面阴影部分
System.Drawing.PointF[] pShadow= new System.Drawing.PointF[4];
pShadow[0].X = CurrentX;
pShadow[0].Y = CurrentY;
pShadow[1].X = CurrentX + iBarWidth/2 ;
pShadow[1].Y = CurrentY - iBarWidth/2;
pShadow[2].X = CurrentX + iBarWidth/2 ;
pShadow[2].Y = CurrentY - iBarHeight - iBarWidth * 1/2;
pShadow[3].X = CurrentX ;
pShadow[3].Y = CurrentY - iBarHeight;
//绘制3D图形 包括正面、斜面、顶部
g.FillPolygon(tempBrush,pRect);
g.FillPolygon(new HatchBrush(HatchStyle.Percent50,tempBrush.Color),pTopFill);
g.FillPolygon(tempBrush,pShadow);
//如果设置了绘制边界线 则绘制






