C# Class MPTagThat.FileNameToTag.FileNameToTag

Inheritance: System.Windows.Forms.UserControl
显示文件 Open project: MediaPortal/MPTagThat Class Usage Examples

Public Methods

Method Description
FileNameToTag ( Main main ) : System

Protected Methods

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

A Key has been pressed

Private Methods

Method Description
FileName2Tag ( List parameters ) : void

Convert File Name to Tag

FileName2TagPreview ( List parameters ) : void

Loop through all the selected rows and set the Preview

FillPreview ( ) : void

Fill the Preview Grid with the selected rows

LoadSettings ( ) : void
LocaliseScreen ( ) : void

Localise the Screen

ReplaceParametersWithValues ( List parameters, bool preview ) : void
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

R>emoves the current selected format from the list

btReview_Click ( object sender, EventArgs e ) : void

Toggle the Review window display

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 Values

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

FileNameToTag() public method

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

ProcessCmdKey() protected method

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