private void btnEditar_Click(object sender, EventArgs e) { Curso c = cbNome.SelectedItem as Curso; FormularioCurso fc = new FormularioCurso(); fc.PopulaCampos(c); fc.ShowDialog(); }
public void cursoToolStripMenuItem_Click(object sender, EventArgs e) { FormularioCurso fc = new FormularioCurso(); fc.ShowDialog(this); }