Пример #1
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     if (isbn_grid != "")
     {
         frm_book_edit book_edit = new frm_book_edit(isbn_grid);
         book_edit.ShowDialog();
     }
     else
     {
         MessageBox.Show("Please select isbn number !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Пример #2
0
        private void btn_edit_Click(object sender, EventArgs e)
        {
            frm_book_edit book_edit = new frm_book_edit(isbn_grid);

            book_edit.ShowDialog();
        }