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