コード例 #1
0
ファイル: Exame.cs プロジェクト: AnaDuarte98/ElectroM
        //botao que serve para voltar atrás e esconde a página onde estavamos
        private void botaoRetroceder_Click(object sender, EventArgs e)
        {
            ListaExames listaexames = new ListaExames(cliente);

            this.Hide();
            listaexames.ShowDialog();
        }
コード例 #2
0
ファイル: REGISTO.CS プロジェクト: marcelo09714/trabalho
        //Carregar duas vezes no cliente e aparecer a form exame
        private void dataGridViewClientes_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            int index = dataGridViewClientes.CurrentCell.RowIndex; // listBoxClientes.SelectedIndex;

            if (index > -1)
            {
                Cliente cliente = Cliente.readOnDataBase(dados, index);

                ListaExames listaexames = new ListaExames(cliente);

                this.Hide();
                listaexames.ShowDialog();
            }
        }