C# Class Nuaj.Cirrus.Utility.FloatTrackbarControl

Inheritance: System.Windows.Forms.Panel
Show file Open project: Patapom/GodComplex Class Usage Examples

Protected Properties

Property Type Description
m_BackgroundBrush System.Drawing.SolidBrush
m_BackgroundBrushDisabled System.Drawing.SolidBrush
m_BrushTrackbarMiddle System.Drawing.TextureBrush
m_DefaultVisibleRangeMax float
m_DefaultVisibleRangeMin float
m_RangeMax float
m_RangeMin float
m_SliderBrush System.Drawing.SolidBrush
m_SliderRectangle System.Drawing.RectangleF
m_StartValue float
m_Value float
m_VisibleRangeMax float
m_VisibleRangeMin float
m_bInternalChange bool
m_bSliderDragging bool

Private Properties

Property Type Description
InitializeComponent void
textBox_KeyDown void
textBox_Validating void

Public Methods

Method Description
CancelDrag ( ) : void

Cancels the current drag

FloatTrackbarControl ( ) : System
SimulateValueChange ( ) : void

Simulates a change of value

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DisposeGraphics ( ) : void
DrawSlider ( PaintEventArgs e ) : void
InitializeGraphics ( ) : void
OnEnabledChanged ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnResize ( EventArgs eventargs ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

textBox_KeyDown ( object sender, KeyEventArgs e ) : void
textBox_Validating ( object sender, CancelEventArgs e ) : void

Method Details

CancelDrag() public method

Cancels the current drag
public CancelDrag ( ) : void
return void

Dispose() protected method

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

DisposeGraphics() protected method

protected DisposeGraphics ( ) : void
return void

DrawSlider() protected method

protected DrawSlider ( PaintEventArgs e ) : void
e PaintEventArgs
return void

FloatTrackbarControl() public method

public FloatTrackbarControl ( ) : System
return System

InitializeGraphics() protected method

protected InitializeGraphics ( ) : void
return void

OnEnabledChanged() protected method

protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs eventargs ) : void
eventargs System.EventArgs
return void

SimulateValueChange() public method

Simulates a change of value
public SimulateValueChange ( ) : void
return void

Property Details

m_BackgroundBrush protected property

protected SolidBrush,System.Drawing m_BackgroundBrush
return System.Drawing.SolidBrush

m_BackgroundBrushDisabled protected property

protected SolidBrush,System.Drawing m_BackgroundBrushDisabled
return System.Drawing.SolidBrush

m_BrushTrackbarMiddle protected property

protected TextureBrush,System.Drawing m_BrushTrackbarMiddle
return System.Drawing.TextureBrush

m_DefaultVisibleRangeMax protected property

protected float m_DefaultVisibleRangeMax
return float

m_DefaultVisibleRangeMin protected property

protected float m_DefaultVisibleRangeMin
return float

m_RangeMax protected property

protected float m_RangeMax
return float

m_RangeMin protected property

protected float m_RangeMin
return float

m_SliderBrush protected property

protected SolidBrush,System.Drawing m_SliderBrush
return System.Drawing.SolidBrush

m_SliderRectangle protected property

protected RectangleF,System.Drawing m_SliderRectangle
return System.Drawing.RectangleF

m_StartValue protected property

protected float m_StartValue
return float

m_Value protected property

protected float m_Value
return float

m_VisibleRangeMax protected property

protected float m_VisibleRangeMax
return float

m_VisibleRangeMin protected property

protected float m_VisibleRangeMin
return float

m_bInternalChange protected property

protected bool m_bInternalChange
return bool

m_bSliderDragging protected property

protected bool m_bSliderDragging
return bool