protected virtual void DrawRibbonTabSelectedLeftDraw2007(Rectangle rect,
MementoRibbonTabSelected2007 cache,
Graphics g)
{
// Fill in the bottom two lines that the 'FillPath' above missed
g.DrawLine(cache.insidePen, rect.Right - 1, rect.Bottom - 2, rect.Right - 1, rect.Top + 1);
g.DrawLine(cache.insidePen, rect.Right - 2, rect.Bottom - 3, rect.Right - 2, rect.Top + 2);
g.DrawLine(cache.centerPen, rect.Right - 1, rect.Bottom - 4, rect.Right - 1, 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.Right - 1, rect.Bottom - 1.5f, rect.Right - 3, rect.Bottom - 3);
g.DrawLine(cache.middlePen, rect.Right - 3, rect.Bottom - 3, rect.Left + 2, rect.Bottom - 3);
g.DrawLine(cache.middlePen, rect.Right - 1, rect.Top + 0.5f, rect.Right - 3, rect.Top + 2);
g.DrawLine(cache.middlePen, rect.Right - 3, rect.Top + 2, rect.Left + 2, rect.Top + 2);
// Draw shadow lines on the outside of the left and right edges
g.DrawLine(_paleShadowPen, rect.Right - 2, rect.Bottom, rect.Left + 8, rect.Bottom);
g.DrawLine(_lightShadowPen, rect.Right - 3, rect.Bottom - 1, rect.Left + 5, rect.Bottom - 1);
g.DrawLine(_darkShadowPen, rect.Right - 3, rect.Top, rect.Left + 3, rect.Top);
g.DrawLine(_mediumShadowPen, rect.Right - 2, rect.Top - 1, rect.Left + 7, rect.Top - 1);
}
}