private void addBookButton_Click(object sender, EventArgs e) { AddNewBookForm form = new AddNewBookForm(repo); form.ShowDialog(); }