private void dgvRegistros_DoubleClick(object sender, EventArgs e) { TipoSaida _frm = new TipoSaida(dgvRegistros.CurrentRow.Cells["id"].Value.ToString()); _frm.ShowDialog(); ListRegistros(); }
private void btnNovoCadastro_Click(object sender, EventArgs e) { TipoSaida frm = new TipoSaida("novo"); frm.ShowDialog(); ListRegistros(); }