コード例 #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            Doente adm = new Doente(clientToEdit);

            this.Hide();
            adm.ShowDialog();
        }
コード例 #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();
            }
        }