C# Class MPTagThat.Organise.OrganiseFiles

Inheritance: System.Windows.Forms.UserControl
ファイルを表示 Open project: MediaPortal/MPTagThat Class Usage Examples

Public Methods

Method Description
OrganiseFiles ( Main main ) : System

Protected Methods

Method Description
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

A Key has been pressed

Private Methods

Method Description
DeleteFolder ( string folder ) : void
DeleteParentFolders ( string folder ) : void
DeleteSubFolders ( string folder ) : void
FillPreview ( ) : void

Fill the Preview Grid with the selected rows

LoadSettings ( ) : void
LocaliseScreen ( ) : void

Localise the Screen

Organise ( string parameter ) : void

Organise Files

OrganiseFilesPreview ( string parameters ) : void

Loop through all the selected rows and set the Preview

ProgressCancel_Executed ( object sender, CommandExecutedEventArgs e ) : void

The Progress Cancel has been fired from the Statusbar Button

ProgressCancel_Hover ( object sender, EventArgs e ) : void

We're hovering over the Progress Cancel button. If the Wait Cursor is active, change it to Default

ProgressCancel_Leave ( object sender, EventArgs e ) : void

We are leaving the Button again. If WaitCursor is active, we should set it back again

ResetProgressBar ( ) : void

Reset the Progressbar to Initiaövfalue

ResetWaitCursor ( ) : void

Resets the WaitCursor to the default

SetProgressBar ( int maxCount ) : void

Sets the maximum value of Progressbar

SetWaitCursor ( ) : void

Sets the WaitCursor during various operations

btAddFormat_Click ( object sender, EventArgs e ) : void

Adds the current Format to the list

btApply_Click ( object sender, EventArgs e ) : void

Apply the changes to the selected files.

btCancel_Click ( object sender, EventArgs e ) : void

Handle the Cancel button. Close Form without applying any changes

btRemoveFormat_Click ( object sender, EventArgs e ) : void

Removes the current selected format from the list

btReview_Click ( object sender, EventArgs e ) : void

Toggle the Review window display

buttonBrowseRootDir_Click ( object sender, EventArgs e ) : void

Open a folder browser dialog

cbFormat_Keypress ( object sender, KeyPressEventArgs e ) : void

Don't allow invalid characters to be entered into the Format Field

cbFormat_TextChanged ( object sender, EventArgs e ) : void

Text in the Combo is been changed, Update the Preview Value

cbRootDir_KeyDown ( object sender, KeyEventArgs e ) : void

Check for the Delete Key pressed, while the Combo is dropped down and delete the selected folder

cbRootDir_Leave ( object sender, EventArgs e ) : void

The user has left the Control, now let's see, if there's a new folder in the combo and add it to the list

cbRootDir_SelectedIndexChanged ( object sender, EventArgs e ) : void

A folder has been selected from the combo box, set the text

lblParm_Click ( object sender, EventArgs e ) : void

User clicked on a parameter label. Update combo box with value.

tabControl1_SelectedTabPageChanged ( object sender, Elegant e ) : void

Tabpage select event to invoke Preview

Method Details

OrganiseFiles() public method

public OrganiseFiles ( Main main ) : System
main Main
return System

ProcessCmdKey() protected method

A Key has been pressed
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
return bool