C# Class Geb.Utils.WinForm.ColorSccrollBarSkin

Inheritance: ScrollBarSkin
Show file Open project: xiaotie/GebCommon

Public Methods

Method Description
ColorSccrollBarSkin ( IntPtr hWnd ) : System

Protected Methods

Method Description
DrawHorizontalScrollBar ( Graphics g, int scrollBarWidth, int scrollBarHeight, int thumbTop, int thumbBottom, int arrowSize, bool isMouseOver, bool isClick ) : void
DrawSizer ( Graphics g, int sizerWidth, int sizerHeight ) : void
DrawVerticalScrollBar ( Graphics g, int scrollBarWidth, int scrollBarHeight, int thumbTop, int thumbBottom, int arrowSize, bool isMouseOver, bool isClick ) : void
FillPath ( Graphics g, PointF p0, PointF p1, PointF p2, Brush brush ) : void

Method Details

ColorSccrollBarSkin() public method

public ColorSccrollBarSkin ( IntPtr hWnd ) : System
hWnd System.IntPtr
return System

DrawHorizontalScrollBar() protected method

protected DrawHorizontalScrollBar ( Graphics g, int scrollBarWidth, int scrollBarHeight, int thumbTop, int thumbBottom, int arrowSize, bool isMouseOver, bool isClick ) : void
g System.Drawing.Graphics
scrollBarWidth int
scrollBarHeight int
thumbTop int
thumbBottom int
arrowSize int
isMouseOver bool
isClick bool
return void

DrawSizer() protected method

protected DrawSizer ( Graphics g, int sizerWidth, int sizerHeight ) : void
g System.Drawing.Graphics
sizerWidth int
sizerHeight int
return void

DrawVerticalScrollBar() protected method

protected DrawVerticalScrollBar ( Graphics g, int scrollBarWidth, int scrollBarHeight, int thumbTop, int thumbBottom, int arrowSize, bool isMouseOver, bool isClick ) : void
g System.Drawing.Graphics
scrollBarWidth int
scrollBarHeight int
thumbTop int
thumbBottom int
arrowSize int
isMouseOver bool
isClick bool
return void

FillPath() protected method

protected FillPath ( Graphics g, PointF p0, PointF p1, PointF p2, Brush brush ) : void
g System.Drawing.Graphics
p0 System.Drawing.PointF
p1 System.Drawing.PointF
p2 System.Drawing.PointF
brush System.Drawing.Brush
return void