Ejemplo n.º 1
0
        private void BtnSalvarContato_Click(object sender, EventArgs e)
        {
            AgendaBll agendaObj = new AgendaBll();

            agendaObj.Nome     = txtbxNome.Text;
            agendaObj.Telefone = txtbxTelefone.Text;
            agendaObj.Adicionar_Contato(agendaObj.Nome, agendaObj.Telefone);
            txtbxNome.Text     = String.Empty;
            txtbxTelefone.Text = "";
        }