protected override void OnPaint (PaintEventArgs e)
{
base.OnPaint (e);
if (this.Owner != null)
{
//if (this.IsOnDropDown)
// this.Owner.Renderer.DrawSeparator (new ToolStripSeparatorRenderEventArgs (e.Graphics, this, this.Owner.Orientation == Orientation.Horizontal ? false : true));
//else
// this.Owner.Renderer.DrawSeparator (new ToolStripSeparatorRenderEventArgs (e.Graphics, this, this.Owner.Orientation == Orientation.Horizontal ? true : false));
}
}