public Bookshelf(User user) { this.user = user; this.list = user.savedBooks; InitializeComponent(); populateForm(); }
public User(string Username, string Password, bool isAdmin) { savedBooks = new BookList(); this.username = Username; this.password = Password; this.isAdmin = isAdmin; getSavedBooks(); }