private void b_mas_Click(object sender, EventArgs e)
 {
     frm_comestible comestibles = new frm_comestible();
     comestibles.accion = "Insertar";
     comestibles.Show();
 }
 private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex > -1)
     {
         frm_comestible comestible = new frm_comestible();
         comestible.accion = "Editar";
         comestible.codigo = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString().Replace(" ", "");
         comestible.ShowDialog();
     }
 }