C# Class BrrrBayBay.PwmGUIControl.GenericPwmControl

The control allowing the user to change asynchronous PWM settings
Inheritance: System.Windows.Forms.UserControl, IPwmGeneratorUserControl
Mostra file Open project: joosthaverkort/PWMLogic

Public Methods

Method Description
Dispose ( ) : void
GenericPwmControl ( ) : System
GenericPwmControl ( PwmGeneratorModes controlMode ) : System
deInitialize ( ) : void
initialize ( LogicPWMConnector connector ) : void
loadSettings ( System pwmSettings ) : void
saveSettings ( ) : XmlElement

Private Methods

Method Description
AsynchronousPwmControl_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
applyButton_Click ( object sender, EventArgs e ) : void
applyChanges ( System.Boolean forceAll ) : void
createSettingsObject ( ) : SettingsTemplate
ctl_KeyDown ( object sender, KeyEventArgs e ) : void
ctl_SettingsChanged ( object sender, EventArgs e ) : void
frequencyChangedHandler ( Object sender, EventArgs e ) : void
frequencySettings_KeyDown ( object sender, KeyEventArgs e ) : void
initFrequencyBox ( int xPos, int yPos ) : void

Loads the frequency edit controls

setFrequencyBoxValue ( int freq ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GenericPwmControl() public method

public GenericPwmControl ( ) : System
return System

GenericPwmControl() public method

public GenericPwmControl ( PwmGeneratorModes controlMode ) : System
controlMode PwmGeneratorModes
return System

deInitialize() public method

public deInitialize ( ) : void
return void

initialize() public method

public initialize ( LogicPWMConnector connector ) : void
connector LogicPWMConnector
return void

loadSettings() public method

public loadSettings ( System pwmSettings ) : void
pwmSettings System
return void

saveSettings() public method

public saveSettings ( ) : XmlElement
return System.Xml.XmlElement