Пример #1
0
        private void btnEditar_Click(object sender, EventArgs e)
        {
            Curso c = cbNome.SelectedItem as Curso;

            FormularioCurso fc = new FormularioCurso();

            fc.PopulaCampos(c);
            fc.ShowDialog();
        }
Пример #2
0
        public void cursoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormularioCurso fc = new FormularioCurso();

            fc.ShowDialog(this);
        }