protected virtual void DrawRibbonTabSelectedRightDraw2007(Rectangle rect,
MementoRibbonTabSelected2007 cache,
Graphics g)
{
// Fill in the bottom two lines that the 'FillPath' above missed
g.DrawLine(cache.insidePen, rect.Left, rect.Bottom - 2, rect.Left, rect.Top + 1);
g.DrawLine(cache.insidePen, rect.Left + 1, rect.Bottom - 3, rect.Left + 1, rect.Top + 2);
g.DrawLine(cache.centerPen, rect.Left, rect.Bottom - 4, rect.Left, rect.Top + 3);
using (AntiAlias aa = new AntiAlias(g))
{
// Draw a line on the inside of the left and right border edges
g.DrawLine(cache.middlePen, rect.Left, rect.Bottom - 1.5f, rect.Left + 2, rect.Bottom - 3);
g.DrawLine(cache.middlePen, rect.Left + 2, rect.Bottom - 3, rect.Right - 3, rect.Bottom - 3);
g.DrawLine(cache.middlePen, rect.Left, rect.Top + 0.5f, rect.Left + 2, rect.Top + 2);
g.DrawLine(cache.middlePen, rect.Left + 2, rect.Top + 2, rect.Right - 3, rect.Top + 2);
// Draw shadow lines on the outside of the left and right edges
g.DrawLine(_paleShadowPen, rect.Left + 1, rect.Bottom, rect.Right - 9, rect.Bottom);
g.DrawLine(_lightShadowPen, rect.Left + 2, rect.Bottom - 1, rect.Right - 6, rect.Bottom - 1);
g.DrawLine(_darkShadowPen, rect.Left + 2, rect.Top, rect.Right - 4, rect.Top);
g.DrawLine(_mediumShadowPen, rect.Left + 1, rect.Top - 1, rect.Right - 8, rect.Top - 1);
}
}