C# Class MPTagThat.CaseConversion.CaseConversion

Inheritance: System.Windows.Forms.UserControl
Exibir arquivo Open project: MediaPortal/MPTagThat Class Usage Examples

Public Methods

Method Description
CaseConversion ( Main main ) : System
CaseConversion ( Main main, bool batchMode ) : System
CaseConvert ( TrackData track, int rowIndex ) : void

Do Case Conversion for the given track. Called internally by the Convert button and by the Save clause, if set in Preferences

CaseConvertSelectedTracks ( ) : void

Protected Methods

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

A Key has been pressed

Private Methods

Method Description
ConvertCase ( string strText ) : string
InitForm ( bool batchMode ) : void

The form is used in Batch Mode, when saving tags

LocaliseScreen ( ) : void

Localise the Screen

RegexReplaceCallback ( Match Match ) : string

Callback Method for every Match of the Regex

buttonAddException_Click ( object sender, EventArgs e ) : void

Add the Exception to the List

buttonCancel_Click ( object sender, EventArgs e ) : void

Cancel Has been pressed. Close Form

buttonConvert_Click ( object sender, EventArgs e ) : void

Do the Conversion

buttonRemoveException_Click ( object sender, EventArgs e ) : void

Remove the selected Exception from the List

Method Details

CaseConversion() public method

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

CaseConversion() public method

public CaseConversion ( Main main, bool batchMode ) : System
main Main
batchMode bool
return System

CaseConvert() public method

Do Case Conversion for the given track. Called internally by the Convert button and by the Save clause, if set in Preferences
public CaseConvert ( TrackData track, int rowIndex ) : void
track MPTagThat.Core.TrackData
rowIndex int
return void

CaseConvertSelectedTracks() public method

public CaseConvertSelectedTracks ( ) : void
return void

ProcessCmdKey() protected method

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