Exemplo n.º 1
0
        private void Form_NewBook(object sender, EventArgs e)
        {
            NewBookForm form = new NewBookForm(_library);

            form.FormClosed += NewBook_FormClosed;
            form.Show();
        }
Exemplo n.º 2
0
        private void addBookBtn_Click(object sender, EventArgs e)
        {
            var nbf = new NewBookForm(_database, this);

            nbf.ShowDialog();
        }