private void button6_Click(object sender, EventArgs e)
        {
            Doente adm = new Doente(clientToEdit);

            this.Hide();
            adm.ShowDialog();
        }
Exemplo n.º 2
0
        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();
            }
        }