C# Class MPTagThat.MiscInfoControl

Inheritance: System.Windows.Forms.UserControl
Show file Open project: MediaPortal/MPTagThat Class Usage Examples

Public Methods

Method Description
ActivateNonMusicTab ( ) : void

Activate the Non Music Files Tab

AddNonMusicFiles ( List files ) : void

Add Non Music Files to the List View

ClearNonMusicFiles ( ) : void

Clear the Non Music Files View

MiscInfoControl ( ) : System

Protected Methods

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

Capture the delete key in the list view. Will delete the selected item

Private Methods

Method Description
GetImageFromFile ( string fileName, Size &size ) : Image

Return an image from a given filename

OnMessageReceive ( MPTagThat.Core.QueueMessage message ) : void

Handle Messages

SetColorBase ( ) : void
listViewNonMusicFiles_AfterLabelEdit ( object sender, System.Windows.Forms.LabelEditEventArgs e ) : void

Rename the file, if the name has changed

listViewNonMusicFiles_BeforeLabelEdit ( object sender, System.Windows.Forms.LabelEditEventArgs e ) : void

Save the Old file Name and set indicator that we are in label edit, so that the delete key can be used while editing.

listViewNonMusicFiles_DeleteFiles ( object o, EventArgs e ) : void

Deelete Context Menu entry has been selected

listViewNonMusicFiles_DoubleClick ( object sender, EventArgs e ) : void

A double click occured´in the list view If an item was selected, open it with the default program

listViewNonMusicFiles_MouseDown ( object sender, MouseEventArgs e ) : void
listViewNonMusicFiles_MouseMove ( object sender, MouseEventArgs e ) : void
listViewNonMusicFiles_MouseUp ( object sender, MouseEventArgs e ) : void
listViewNonMusicFiles_RenameToFolderJpg ( object o, EventArgs e ) : void

Rename Context Menu entry has been selected

Method Details

ActivateNonMusicTab() public method

Activate the Non Music Files Tab
public ActivateNonMusicTab ( ) : void
return void

AddNonMusicFiles() public method

Add Non Music Files to the List View
public AddNonMusicFiles ( List files ) : void
files List
return void

ClearNonMusicFiles() public method

Clear the Non Music Files View
public ClearNonMusicFiles ( ) : void
return void

MiscInfoControl() public method

public MiscInfoControl ( ) : System
return System

ProcessCmdKey() protected method

Capture the delete key in the list view. Will delete the selected item
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
return bool