Пример #1
0
        private void btbPesquisar1_Click(object sender, EventArgs e)
        {
            FrmAluno frm = new FrmAluno();

            frm.ShowDialog();

            txtAluno.Text = frm.txtNome1.Text;
        }
Пример #2
0
        private void alunoToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FrmAluno frm = new FrmAluno();

            frm.ShowDialog();
        }