Ejemplo n.º 1
0
        private void button5_Click(object sender, EventArgs e)
        {
            Form2 f = new Form2();

            try
            {
                f.EditS(dataGridView1.SelectedCells[0].Value.ToString());
            }
            catch
            {
                MessageBox.Show("Vui long chon Sach de edit");
                return;
            }
            f.d = Edit;
            f.Show();
        }