private void dgvPacientes_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { string item = dgvPacientes.SelectedRows[0].Cells[0].Value.ToString(); FormBancoDeCasosItem f = new FormBancoDeCasosItem(); f.setPaciente(data, item); f.ShowDialog(); this.Close(); }
private void button1_Click(object sender, EventArgs e) { FormBancoDeCasosItem f = new FormBancoDeCasosItem(); f.ShowDialog(); }