private void MpcMessageReceived(MpchcLocalMediaPlayer.MpcMessage m) { if (_localMediaPlayer.State == PlayState.Playing) mpcStatusLabel.Text = "Playing"; if (_localMediaPlayer.State == PlayState.Stopped) mpcStatusLabel.Text = "Stopped"; if (_localMediaPlayer.State == PlayState.Paused) mpcStatusLabel.Text = "Paused"; }
public MainWindow() { InitializeComponent(); _localMediaPlayer = new MpchcLocalMediaPlayer(Handle); }