C# Class PowerScheduler.Setup.PowerSettingsForm

Datei anzeigen Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Public Methods

Method Description
PowerSettingsForm ( PowerSettings recommendedSettingsAC, PowerSettings recommendedSettingsDC ) : System

Init power settings form

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Verwendete Ressourcen bereinigen.

Private Methods

Method Description
InitializeComponent ( ) : void

Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.

LoadRecommendedSettings ( ) : void

Load recommended power setting values to form

LoadSystemSettings ( ) : void

Load power setting values from system settings to form

SaveSettings ( ) : void

Set system power settings from form values

buttonCancel_Click ( object sender, EventArgs e ) : void
buttonOK_Click ( object sender, EventArgs e ) : void
buttonRecommendedSettings_Click ( object sender, EventArgs e ) : void
buttonReloadSettings_Click ( object sender, EventArgs e ) : void
valueChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Verwendete Ressourcen bereinigen.
protected Dispose ( bool disposing ) : void
disposing bool True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
return void

PowerSettingsForm() public method

Init power settings form
public PowerSettingsForm ( PowerSettings recommendedSettingsAC, PowerSettings recommendedSettingsDC ) : System
recommendedSettingsAC PowerSettings
recommendedSettingsDC PowerSettings
return System