Exemplo n.º 1
0
 public Shelf(EF.User u)
 {
     CurrentUser = u;
     InitializeComponent();
     BooksList    = new List <EF.Book>();
     SelectedBook = new EF.Book();
     LoadComboboxItems();
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
        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;
        }