Paint.ToolBox.DrawBackground C# (CSharp) Method

DrawBackground() protected method

Draws the background (and border)
protected DrawBackground ( ) : void
return void
        protected virtual void DrawBackground()
        {
            // First fill the entire region with the border colour...
            this.GraphicsDisplay.DrawGraphic(ImageType.EmptySquare, this.toolboxBounds, this.BorderColor);

            // Then blank out the space for the toolbar...
            this.GraphicsDisplay.DrawGraphic(ImageType.EmptySquare, this.toolbarInnerBounds, this.BackgroundColor);

            // Classes inheriting from us may override this and do more
        }