C# 클래스 Baka_MPlayer.Controls.ColorSlider

상속: System.Windows.Forms.Control
파일 보기 프로젝트 열기: godly-devotion/Baka-MPlayer-old

Private Properties

프로퍼티 타입 설명
DrawColorSlider void
InitializeComponent void

공개 메소드들

메소드 설명
AddMarks ( List marks, double maxMarkValue ) : void

Creates marks on the bar

ClearMarks ( ) : void
ColorSlider ( ) : System

Initializes a new instance of the ColorSlider class.

ColorSlider ( int min, int max, int value ) : System

Initializes a new instance of the ColorSlider class.

CreateRoundRectPath ( Rectangle rect, Size size ) : GraphicsPath

Creates the round rect path.

DesaturateColors ( ) : Color[]

Desaturates colors from given array.

LightenColors ( ) : Color[]

Lightens colors from given array.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnGotFocus ( EventArgs e ) : void

Raises the event.

OnKeyDown ( KeyEventArgs e ) : void

Raises the event.

OnLostFocus ( EventArgs e ) : void

Raises the event.

OnMouseDown ( MouseEventArgs e ) : void

Raises the event.

OnMouseMove ( MouseEventArgs e ) : void

Raises the event.

OnMouseUp ( MouseEventArgs e ) : void

Raises the event.

OnPaint ( PaintEventArgs e ) : void

Raises the event.

비공개 메소드들

메소드 설명
DrawColorSlider ( PaintEventArgs e, Color thumbFirstColorPaint, Color thumbSecondColorPaint, Color thumbBorderColorPaint, Color barColorPaint, Color elapsedBarColorPaint ) : void

Draws the colorslider control using passed colors.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

메소드 상세

AddMarks() 공개 메소드

Creates marks on the bar
public AddMarks ( List marks, double maxMarkValue ) : void
marks List
maxMarkValue double
리턴 void

ClearMarks() 공개 메소드

public ClearMarks ( ) : void
리턴 void

ColorSlider() 공개 메소드

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

ColorSlider() 공개 메소드

Initializes a new instance of the ColorSlider class.
public ColorSlider ( int min, int max, int value ) : System
min int The minimum value.
max int The maximum value.
value int The current value.
리턴 System

CreateRoundRectPath() 공개 정적인 메소드

Creates the round rect path.
public static CreateRoundRectPath ( Rectangle rect, Size size ) : GraphicsPath
rect System.Drawing.Rectangle The rectangle on which graphics path will be spanned.
size System.Drawing.Size The size of rounded rectangle edges.
리턴 System.Drawing.Drawing2D.GraphicsPath

DesaturateColors() 공개 정적인 메소드

Desaturates colors from given array.
public static DesaturateColors ( ) : Color[]
리턴 Color[]

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

LightenColors() 공개 정적인 메소드

Lightens colors from given array.
public static LightenColors ( ) : Color[]
리턴 Color[]

OnGotFocus() 보호된 메소드

Raises the event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnKeyDown() 보호된 메소드

Raises the event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A that contains the event data.
리턴 void

OnLostFocus() 보호된 메소드

Raises the event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnMouseDown() 보호된 메소드

Raises the event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnMouseMove() 보호된 메소드

Raises the event.
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnMouseUp() 보호된 메소드

Raises the event.
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnPaint() 보호된 메소드

Raises the event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
리턴 void