Exemple #1
0
        private void Inserir_Click(object sender, EventArgs e)
        {
            VagaController c = new VagaController();
            Vaga           p = new Vaga();

            c.ExecutarOpBD('i', p);
        }
Exemple #2
0
        private void Atualizar_Click(object sender, EventArgs e)
        {
            VagaController c = new VagaController();
            Vaga           p = new Vaga();

            c.ExecutarOpBD('a', p);
        }
Exemple #3
0
        private void listarToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            FormVagaListar form = new FormVagaListar();

            VagaController c = new VagaController();
            Vaga           p = new Vaga();

            c.ExecutarOpBD('l', p);

            form.ShowDialog();
        }