C# Class WpfMpdClient.MainWindow

Inheritance: System.Windows.Window
Exibir arquivo Open project: sakya/wpfmpdclient Class Usage Examples

Public Properties

Property Type Description
CurrentTrackIdProperty System.Windows.DependencyProperty

Public Methods

Method Description
MainWindow ( ) : System
MpdVersion ( ) : string
NextTrack ( ) : void
PlayPause ( ) : void
PreviousTrack ( ) : void
Quit ( ) : void
Stop ( ) : void

Private Methods

Method Description
ChannelItem_DoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
CheckCompleted ( CsUpdater.UpdaterApp app ) : void
CheckMpdConnection ( ) : bool
CloseHandler ( object sender, CancelEventArgs e ) : void
Connect ( ) : void
ContextMenu_Click ( object sender, RoutedEventArgs args ) : void
Expander_Loaded ( object sender, RoutedEventArgs e ) : void
Expander_Unloaded ( object sender, RoutedEventArgs e ) : void
GetAlbumInfo ( object state ) : void
GetArtistInfo ( object state ) : void
GetChannel ( string name ) : MpdChannel
GetExpander ( string name ) : System.Windows.Controls.Expander
GetLyrics ( object state ) : void
HasSubdirectories ( string path ) : Task
LisboxItem_Loaded ( object sender, RoutedEventArgs e ) : void
MpcConnected ( Mpc connection ) : void
MpcDisconnected ( Mpc connection ) : void
MpcIdleConnected ( Mpc connection ) : void
MpcIdleSubsystemsChanged ( Mpc connection, Mpc subsystems ) : void
NotifyIcon_MouseDown ( object sender, System e ) : void
PopulateArtists ( ) : Task
PopulateChannels ( ) : void
PopulateFileSystemTree ( ) : Task
PopulateFileSystemTree ( System.Windows.Controls.ItemCollection items, string path ) : Task
PopulateGenres ( ) : Task
PopulateMessages ( ) : void
PopulatePlaylist ( ) : Task
PopulatePlaylists ( ) : Task
ReconnectTimerHandler ( object sender, System.Timers.ElapsedEventArgs e ) : void
ScrollTracksToLeft ( ) : void
SelectedAlbum ( System.Windows.Controls.ListBox listbox ) : string
SelectedArtist ( ) : string
ShowException ( Exception ex ) : void
StartTimerHandler ( object sender, System.Timers.ElapsedEventArgs e ) : void
TrackChanged ( MpdFile track ) : void
TracksContextMenu_Click ( object sender, RoutedEventArgs args ) : void
TreeItemExpanded ( object sender, RoutedEventArgs e ) : void
UpdateDbFinished ( ) : void
Window_StateChanged ( object sender, EventArgs e ) : void
btnApplySettings_Click ( object sender, RoutedEventArgs e ) : void
btnCheckUpdates_Click ( object sender, RoutedEventArgs e ) : void
btnClear_Click ( object sender, RoutedEventArgs e ) : void
btnSave_Click ( object sender, RoutedEventArgs e ) : void
btnScrobblerAuthorize_Click ( object sender, RoutedEventArgs e ) : void
btnSearchClear_Click ( object sender, RoutedEventArgs e ) : void
btnSearch_Click ( object sender, RoutedEventArgs e ) : void
btnSendMessage_Click ( object sender, RoutedEventArgs e ) : void
btnUpdate_Click ( object sender, RoutedEventArgs e ) : void
chkTray_Changed ( object sender, RoutedEventArgs e ) : void
dragMgr_ProcessDrop ( object sender, ProcessDropEventArgs e ) : void
hyperlink_RequestNavigate ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void
lstAlbums_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
lstArtist_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
lstChannels_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
lstGenres_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
lstPlaylistContextMenu_Click ( object sender, RoutedEventArgs args ) : void
lstPlaylist_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
lstPlaylist_Selected ( object sender, RoutedEventArgs e ) : void
lstPlaylists_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
lstTracks_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
mnuNext_Click ( object sender, RoutedEventArgs e ) : void
mnuPause_Click ( object sender, RoutedEventArgs e ) : void
mnuPlay_Click ( object sender, RoutedEventArgs e ) : void
mnuPrevious_Click ( object sender, RoutedEventArgs e ) : void
mnuQuit_Click ( object sender, RoutedEventArgs e ) : void
tabBrowse_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
tabControl_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
treeFileSystem_SelectedItemChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
txtPlaylist_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
txtServerPort_PreviewTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void

Method Details

MainWindow() public method

public MainWindow ( ) : System
return System

MpdVersion() public static method

public static MpdVersion ( ) : string
return string

NextTrack() public static method

public static NextTrack ( ) : void
return void

PlayPause() public static method

public static PlayPause ( ) : void
return void

PreviousTrack() public static method

public static PreviousTrack ( ) : void
return void

Quit() public method

public Quit ( ) : void
return void

Stop() public static method

public static Stop ( ) : void
return void

Property Details

CurrentTrackIdProperty public_oe static_oe property

public static DependencyProperty,System.Windows CurrentTrackIdProperty
return System.Windows.DependencyProperty