void HyperlinkPublicStatus_Click(object sender, RoutedEventArgs e) { Library library = this.DataContext as Library; if (null != library) { MessageBoxes.Info( "" + "You can make this library publicly available. Others will be able to see your paper properties (title, authors, bibtex, tags), but not download the actual PDFs." + "\n\nYou will get a permanent web address to share by email or link to from your homepage that allows others to explore and follow your up-to-date reading list." ); WebsiteAccess.ChangeLibraryPublicStatus(library.WebLibraryDetail.ShortWebId); } }
void ButtonPublicStatus_Click(object sender, RoutedEventArgs e) { WebsiteAccess.ChangeLibraryPublicStatus(this.library.WebLibraryDetail.ShortWebId); }