protected virtual void OnPaintHeaderPanel(object sender, PaintEventArgs e) { DrawHeaderPanel(e.Graphics, this.ClientRectangle, _clrPanelStart, _clrPanelEnd); VistaMenuControl.DrawInnerBorder(e.Graphics, this.pnlHeader.ClientRectangle, _clrInnerBorder); VistaMenuControl.DrawOuterBorder(e.Graphics, this.pnlHeader.ClientRectangle, _clrOuterBorder); }
protected void OnPaintBottomPanel(object sender, PaintEventArgs e) { VistaMenuControl.DrawInnerBorder(e.Graphics, this.pnlBottom.ClientRectangle, _header.BorderColorInner); VistaMenuControl.DrawOuterBorder(e.Graphics, this.pnlBottom.ClientRectangle, _header.BorderColorOuter); }
protected void OnPaintExtendedPanel(object sender, PaintEventArgs e) { VistaMenuControl.DrawGradientBckground(e.Graphics, this.pnlBottom.ClientRectangle, _clrMenuPanelStart, _clrMenuPanelEnd); VistaMenuControl.DrawInnerBorder(e.Graphics, this.pnlBottom.ClientRectangle, _header.BorderColorInner); VistaMenuControl.DrawOuterBorder(e.Graphics, this.pnlBottom.ClientRectangle, _header.BorderColorOuter); }