private void BCrear_Click(object sender, EventArgs e) { receta form = new receta("a", ""); form.ShowDialog(); Lee_Datos(); }
void Modificar() { int i = Fila_Actual(); Id = DG_Datos.Rows[i].Cells[0].Value.ToString().Trim(); receta form = new receta("m", Id); if (form.ShowDialog() == DialogResult.OK) { Lee_Datos(); } }
private void crearToolStripMenuItem5_Click(object sender, EventArgs e) { receta CP = new receta("a", ""); CP.ShowDialog(); }