C# 클래스 MeshExplorer.Controls.DarkSlider

Encapsulates control that visualy displays certain integer value and allows user to change it within desired range. It imitates System.Windows.Forms.TrackBar as far as mouse usage is concerned.
상속: System.Windows.Forms.Control
파일 보기 프로젝트 열기: filipkunc/GLGraphics

공개 메소드들

메소드 설명
DarkSlider ( ) : System

Initializes a new instance of the ColorSlider control.

보호된 메소드들

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

Clean up any resources being used.

OnEnabledChanged ( EventArgs e ) : void

Raises the event.

OnMouseDown ( MouseEventArgs e ) : void

Raises the event.

OnMouseLeave ( EventArgs 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 ( Graphics g ) : void

Draws the colorslider control using passed colors.

DrawDisabledSlider ( Graphics g ) : void
InitializeComponent ( ) : void

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

OnValueChanged ( ) : void
OnValueChanging ( ) : void
SetProperValue ( int val ) : void

Sets the trackbar value so that it wont exceed allowed range.

메소드 상세

DarkSlider() 공개 메소드

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

Dispose() 보호된 메소드

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

OnEnabledChanged() 보호된 메소드

Raises the event.
protected OnEnabledChanged ( 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

OnMouseLeave() 보호된 메소드

Raises the event.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An 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