protected override void OnRenderArrow(ToolStripArrowRenderEventArgs e)
{
Graphics g = e.Graphics;
Image arrow = AssemblyHelper.GetImage("QQ.ContextMenu.menu_arrow.png");
Rectangle imgPoint = new Rectangle(
e.ArrowRectangle.X + 4,
(e.ArrowRectangle.Height - arrow.Height) / 2,
arrow.Width,
arrow.Height);//图片的位置和显示的大小
Rectangle imgRect = new Rectangle(0, 0, arrow.Width, arrow.Height);
g.DrawImage(arrow, imgPoint, imgRect, GraphicsUnit.Pixel);
}