Ejemplo n.º 1
0
 private void btModificar_Click(object sender, EventArgs e)
 {
     try
     {
         DataGridViewRow Renglon = dataGridView1.SelectedRows[0];
         string LibroID = (string)Renglon.Cells[0].Value;
         Libro vModificar = new Libro(LibroID,this);
         vModificar.ShowDialog(this);
     }
     catch { MessageBox.Show("Porfovor Seleccione Una Opcion", "Error De Seleccion", MessageBoxButtons.OK, MessageBoxIcon.Error); }
   
 }
 private void nuevoLibroToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Libro Libro = new Libro();
   
     Libro.ShowDialog();
 }