C# Class Notpod.ConfigurationForm

Form for modifying settings for the application.
Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: notpod/Notpod-1.x Class Usage Examples

Public Methods

Method Description
ConfigurationForm ( Notpod.Configuration12.Configuration &configuration, DeviceConfiguration &deviceConfiguration, iTunesApp &itunes ) : System

Create a new instance of configuration form.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ConfigurationForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Event handler for "form closing" events.

DisableEditFields ( ) : void

Disable all edit fields.

EnableEditFields ( bool forNewDevice ) : void

Enable the edit fields.

InitializeComponent ( ) : void

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

PrepareForNewDeviceConfiguration ( ) : void
SaveConfiguration ( ) : void

Save the configuration.

SaveDeviceConfiguration ( ) : void

Save the device configuration.

buttonBrowseMediaRoot_Click ( object sender, EventArgs e ) : void

Event handler for browse for media root button.

buttonCreateUniqueFile_Click ( object sender, EventArgs e ) : void

Event handler for buttonCreateUniqueFile clicks. Lets the user select a folder and creates a unique file in this folder which is used to identify the device.

buttonDelete_Click ( object sender, EventArgs e ) : void

Event handler for the delete button

buttonNew_Click ( object sender, EventArgs e ) : void

Event handler for the "new" button.

buttonOK_Click ( object sender, EventArgs e ) : void

Event handler for OK button.

buttonSave_Click ( object sender, EventArgs e ) : void

Event handler for the save button.

checkAutocloseSyncWindow_Click ( object sender, EventArgs e ) : void

Event handler for clicks on checkAutocloseSyncWindow.

checkConfirmMusicLocation_Click ( object sender, EventArgs e ) : void
checkNotifications_Click ( object sender, EventArgs e ) : void

Event handler for clicks on checkNotifications.

checkUseListFolder_Click ( object sender, EventArgs e ) : void

Event handler for clicks on checkUseListFolder.

checkWarnOnSystemDrives_Click ( object sender, EventArgs e ) : void
comboStructure_SelectionChangeCommitted ( object sender, EventArgs e ) : void

Event handler for when changes are made to the Device file structure combo.

comboSyncPatterns_SelectedIndexChanged ( object sender, EventArgs e ) : void
listDevices_ItemActivate ( object sender, EventArgs e ) : void

Event handler for when an item is activated.

Method Details

ConfigurationForm() public method

Create a new instance of configuration form.
public ConfigurationForm ( Notpod.Configuration12.Configuration &configuration, DeviceConfiguration &deviceConfiguration, iTunesApp &itunes ) : System
configuration Notpod.Configuration12.Configuration Configuration containing the configuration for the application.
deviceConfiguration Notpod.Configuration12.DeviceConfiguration DeviceConfiguration containing all the configured devices.
itunes iTunesApp Reference to iTunes interface.
return System

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