ATMLCommonLibrary.controls.awb.AWBTabControl.DrawControl C# (CSharp) Method

DrawControl() private method

private DrawControl ( Graphics g ) : void
g System.Drawing.Graphics
return void
        internal void DrawControl( Graphics g )
        {
            if (!Visible)
                return;

            Rectangle tabControlArea = ClientRectangle;
            Rectangle tabArea = DisplayRectangle;

            FillControlClientArea( g, ref tabControlArea );
            DrawControlBorder( g, ref tabArea );
            Region rsaved = SetControlClippingArea( g, ref tabArea, ref tabControlArea );
            DrawTabs( g );
            g.Clip = rsaved;
            DrawBackgroundFix( g, ref tabArea );
        }