protected virtual void DrawRibbonTabSelectedTopDraw2010(Rectangle rect,
MementoRibbonTabSelected2010 cache,
Graphics g)
{
// Fill in the bottom two lines that the 'FillPath' above missed
g.DrawLine(cache.centerPen, rect.Left + 2, rect.Bottom - 2, rect.Right - 3, rect.Bottom - 2);
g.DrawLine(cache.centerPen, rect.Left + 1, rect.Bottom - 1, rect.Right - 2, rect.Bottom - 1);
using (AntiAlias aa = new AntiAlias(g))
{
// Draw shadow lines on the outside of the left and right edges
g.DrawLine(_mediumShadowPen, rect.Left, rect.Bottom - 3, rect.Left, rect.Top + 2);
g.DrawLine(_mediumShadowPen, rect.Right - 1, rect.Bottom - 3, rect.Right - 1, rect.Top + 2);
}
}