C# Class Baka_MPlayer.Controls.PlaylistControl

Inheritance: System.Windows.Forms.UserControl
Exibir arquivo Open project: godly-devotion/Baka-MPlayer-old

Public Methods

Method Description
Init ( MainForm mainForm, IMPlayer mp ) : void
PlayFile ( int index ) : void
PlayNext ( ) : void
PlayPrevious ( ) : void
PlaylistControl ( ) : System
RefreshPlaylist ( bool forceAll ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DeleteFile ( int index ) : void

Deletes the playlist file permanently

FillPlaylist ( ) : void
InitializeComponent ( ) : void

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

OpenFile ( string url ) : void
RandomizeItems ( ) : void
RemoveAt ( int index ) : void
UpdateUI ( bool selectCurrentFile ) : void
currentFileButton_Click ( object sender, EventArgs e ) : void
currentFileLabel_MouseDown ( object sender, MouseEventArgs e ) : void
fileContextMenu_Popup ( object sender, EventArgs e ) : void
menuItem1_Click ( object sender, EventArgs e ) : void
menuItem2_Click ( object sender, EventArgs e ) : void
menuItem3_Click ( object sender, EventArgs e ) : void
playlistList_DoubleClick ( object sender, EventArgs e ) : void
playlistList_DragDrop ( object sender, DragEventArgs e ) : void
playlistList_DragEnter ( object sender, DragEventArgs e ) : void
playlistList_DragOver ( object sender, DragEventArgs e ) : void
playlistList_ItemDrag ( object sender, ItemDragEventArgs e ) : void
playlistList_KeyDown ( object sender, KeyEventArgs e ) : void
playlistList_KeyPress ( object sender, KeyPressEventArgs e ) : void
playlistList_SelectedIndexChanged ( object sender, EventArgs e ) : void
refreshPlaylistToolStripMenuItem_Click ( object sender, EventArgs e ) : void
searchTextBox_KeyDown ( object sender, KeyEventArgs e ) : void
searchTextBox_TextChanged ( object sender, EventArgs e ) : void
showAllFilesToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

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

Init() public method

public Init ( MainForm mainForm, IMPlayer mp ) : void
mainForm Baka_MPlayer.Forms.MainForm
mp IMPlayer
return void

PlayFile() public method

public PlayFile ( int index ) : void
index int
return void

PlayNext() public method

public PlayNext ( ) : void
return void

PlayPrevious() public method

public PlayPrevious ( ) : void
return void

PlaylistControl() public method

public PlaylistControl ( ) : System
return System

RefreshPlaylist() public method

public RefreshPlaylist ( bool forceAll ) : void
forceAll bool
return void