private void link_ButtonPressed(QButton Button) { switch (this.View) { case AlbumDetailView.AlbumInfo: case AlbumDetailView.Lyrics: if (albumURL.Length > 0) { Net.BrowseTo(albumURL); } else { Net.BrowseTo(LastFM.GetLastFMAlbumURL(CurrentTrack)); } break; case AlbumDetailView.ArtistInfo: if (artistURL.Length > 0) { Net.BrowseTo(artistURL); } else { Net.BrowseTo(LastFM.GetLastFMArtistURL(CurrentTrack)); } break; } }
private void gotoAccount() { if (txtUserName.Text.Length > 0) { Net.BrowseTo("http://www.last.fm/user/" + HttpUtility.UrlEncode(txtUserName.Text)); } }
private void lvwSubscriptions_ContextMenuHook(ContextMenuStrip ContextMenu, PodcastSubscription PS) { ToolStripMenuItem tsi = new ToolStripMenuItem("&Restore Deleted Episode Entries"); tsi.Click += (s, ee) => { List <PodcastEpisode> ppe = PS.Episodes.ToList(); foreach (PodcastEpisode pe in ppe) { if (pe.IsDeleted) { if (pe.Track == null) { pe.SetDownloadStatus(PodcastDownloadStatus.NotDownloaded); } else { pe.SetDownloadStatus(PodcastDownloadStatus.Unplayed); } } } if (lvwSubscriptions.SelectedItem == PS) { populateEpisodes(PS); } }; tsi.Enabled = PS.HasDeletedEpisodes; ContextMenu.Items.Add(tsi); tsi = new ToolStripMenuItem("Check for New Episodes"); tsi.Click += (s, ee) => { checkForNewEpisodes(PS); //PS.UpdateEpisodeInfo(); //if (lvwSubscriptions.SelectedItem == PS) // populateEpisodes(PS); }; ContextMenu.Items.Add(tsi); ContextMenu.Items.Add(new ToolStripSeparator()); tsi = new ToolStripMenuItem("Visit Podcast Web Site..."); tsi.Click += (s, ee) => { Net.BrowseTo(PS.ReferenceURL); }; tsi.Enabled = PS.ReferenceURL.Length > 0; ContextMenu.Items.Add(tsi); }
private void viewOnWeb() { Net.BrowseTo("http://twitter.com/" + txtUserName.Text); }
private void mnuHelpOnlineHelp_Click(object sender, EventArgs e) { Net.BrowseTo(Lib.PRODUCT_URL + "/quuxplayerhelp.php"); }
private void mnuHelpOtherLanguages_Click(object sender, EventArgs e) { Net.BrowseTo(Lib.PRODUCT_URL + "/localization.php"); }
private void btnHelp_Click() { Net.BrowseTo(Lib.PRODUCT_URL + "/doc_auto_playlists.php"); }
private void help() { Net.BrowseTo(Lib.PRODUCT_URL + "/doc_organizer.php"); }