Beispiel #1
0
        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);
 }
Beispiel #3
0
 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);
 }