private void button3_Click(object sender, EventArgs e) { AgregarSoft mostrar = new AgregarSoft(this,a,false,"Agregar","" ,"",""); mostrar.ShowDialog(); }
private void button6_Click(object sender, EventArgs e) { AgregarSoft mostrar = new AgregarSoft(this,a, true, "Guardar", id_soft.Rows[dataGridView1.CurrentRow.Index]["sft_id"].ToString(), dataGridView1.CurrentRow.Cells["Nombre"].Value.ToString(), dataGridView1.CurrentRow.Cells["Versión"].Value.ToString()); mostrar.ShowDialog(); }