C# 클래스 Smrf.AppLib.ColorGradientPanel

Panel control that displays a color gradient across the width of the control.
When the panel is drawn, it has a gradient from MinimumColor on the left side to MaximumColor on the right side.
상속: System.Windows.Forms.Panel
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_oMaximumColor Color
m_oMinimumColor Color

공개 메소드들

메소드 설명
ColorGradientPanel ( ) : System

Initializes a new instance of the ColorGradientPanel class.

보호된 메소드들

메소드 설명
FillRectangleWithLinearGradient ( Graphics oGraphics, Rectangle oRectangle, Color oLeftColor, Color oRightColor ) : void
OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
AssertValid ( ) : void

메소드 상세

ColorGradientPanel() 공개 메소드

Initializes a new instance of the ColorGradientPanel class.
public ColorGradientPanel ( ) : System
리턴 System

FillRectangleWithLinearGradient() 보호된 메소드

protected FillRectangleWithLinearGradient ( Graphics oGraphics, Rectangle oRectangle, Color oLeftColor, Color oRightColor ) : void
oGraphics System.Drawing.Graphics
oRectangle System.Drawing.Rectangle
oLeftColor Color
oRightColor Color
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

프로퍼티 상세

m_oMaximumColor 보호되어 있는 프로퍼티

protected Color m_oMaximumColor
리턴 Color

m_oMinimumColor 보호되어 있는 프로퍼티

protected Color m_oMinimumColor
리턴 Color