public Shelf(EF.User u) { CurrentUser = u; InitializeComponent(); BooksList = new List <EF.Book>(); SelectedBook = new EF.Book(); LoadComboboxItems(); }
public Bookmark(EF.User user, EF.Book book) { CurrentUser = user; CurrentBook = book; DataContext = this; db = new EF.Context(); InitializeComponent(); BookmarksList = new List <EF.Bookmark>(); LoadBookmarks(); }
public Read(EF.User u, EF.Book book, string text) { InitializeComponent(); CurrentUser = u; CurrentBook = book; FlowDocument doc = new FlowDocument(new Paragraph(new Run(text))); AddRead(); Rtb.Document = doc; }