C# Class AnimatGuiCtrls.Controls.PropertySlider

Summary description for PropertySlider.
Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: NeuroRoboticTech/AnimatLabPublicSource

Protected Properties

Property Type Description
m_PropertySpec PropertySpec
m_dblCurrentValue double
m_dblSliderMax double
m_dblSliderMin double
m_strPropertyName string

Public Methods

Method Description
GetValues ( ) : void
PropertySlider ( ) : System

Protected Methods

Method Description
CalculateSliderValue ( double dblVal ) : int
CalculateValueFromSlider ( ) : double
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnGetValue ( PropertySpecEventArgs e ) : void

Raises the GetValue event.

OnSetValue ( PropertySpecEventArgs e ) : void

Raises the SetValue event.

SetSliderValue ( double dblVal ) : void
ctrlSlider_Scroll ( object sender, System e ) : void
ctrlValue_Changed ( object sender, System e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

Method Details

CalculateSliderValue() protected method

protected CalculateSliderValue ( double dblVal ) : int
dblVal double
return int

CalculateValueFromSlider() protected method

protected CalculateValueFromSlider ( ) : double
return double

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GetValues() public method

public GetValues ( ) : void
return void

OnGetValue() protected method

Raises the GetValue event.
protected OnGetValue ( PropertySpecEventArgs e ) : void
e PropertySpecEventArgs A PropertySpecEventArgs that contains the event data.
return void

OnSetValue() protected method

Raises the SetValue event.
protected OnSetValue ( PropertySpecEventArgs e ) : void
e PropertySpecEventArgs A PropertySpecEventArgs that contains the event data.
return void

PropertySlider() public method

public PropertySlider ( ) : System
return System

SetSliderValue() protected method

protected SetSliderValue ( double dblVal ) : void
dblVal double
return void

ctrlSlider_Scroll() protected method

protected ctrlSlider_Scroll ( object sender, System e ) : void
sender object
e System
return void

ctrlValue_Changed() protected method

protected ctrlValue_Changed ( object sender, System e ) : void
sender object
e System
return void

Property Details

m_PropertySpec protected_oe property

protected PropertySpec,AnimatGuiCtrls.Controls m_PropertySpec
return PropertySpec

m_dblCurrentValue protected_oe property

protected double m_dblCurrentValue
return double

m_dblSliderMax protected_oe property

protected double m_dblSliderMax
return double

m_dblSliderMin protected_oe property

protected double m_dblSliderMin
return double

m_strPropertyName protected_oe property

protected string m_strPropertyName
return string