private void btnSalvarContato_Click(object sender, EventArgs e)
 {
     contato._nome     = txtNome.Text;
     contato._telefone = mskTelefone.Text;
     contato._endereco = txtEndereco.Text;
     contato._email    = txtEmail.Text;
     contato._codigo   = int.Parse(txtCodigo.Text);
     repositoriocontato.Update(contato);
 }