private void button6_Click(object sender, EventArgs e) { Doente adm = new Doente(clientToEdit); this.Hide(); adm.ShowDialog(); }
private void dataGridViewClient_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { int index = dataGridViewClient.CurrentCell.RowIndex; if (index > -1) { Client client = Client.readOnDataBase(dataHelper, index); Doente formTerapeutica = new Doente(client); formTerapeutica.Show(); } }