private void player_MediaResume(object sender, EventArgs e) { isPlaying = true; if (Resume != null) Resume(this, new EventArgs()); }