예제 #1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            int             index    = dgvBooks.CurrentRow.Index;
            FormAddEditBook editBook = new FormAddEditBook(dgvBooks.SelectedCells[0].Value.ToString());

            editBook.ShowDialog();
        }
예제 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormAddEditBook addbook = new FormAddEditBook();

            addbook.ShowDialog();
        }