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
Показать файл Открыть проект

Открытые методы

Метод Описание
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