有哪位大哥知道windows地址栏中的combox中加图片是如何实现的啊还有那个前进后退是如何记下的

有哪位大哥知道windows地址栏中的combox中加图片是怎么实现的啊?还有那个前进后退是怎么记下的?
有哪位大哥知道windows地址栏中的combox中加图片是怎么实现的啊?还有那个前进后退是怎么记下的?

------解决方案--------------------
public class ImageComboBox : System.Windows.Forms.ComboBox
{
protected override void OnDrawItem(System.Windows.Forms.DrawItemEventArgs e)
{
e.Graphics.FillRectangle((e.State & DrawItemState.Focus) == DrawItemState.Focus ? SystemBrushes.Highlight : Brushes.White, e.Bounds);
e.Graphics.DrawImage(...);
e.Graphics.DrawString()
}
}
------解决方案--------------------
关注
------解决方案--------------------
自己继承ComboBox,提供只定义的绘制代码就可以了,很简单的