Exemple #1
0
 private void buttonAgregar_Click(object sender, EventArgs e)
 {
     if (_service.AddAmigo1(idamigo, temp))
     {
         buttonEliminar.Visible = true;
         buttonAgregar.Visible  = false;
         buttonEliminar.BringToFront();
     }
     else
     {
         MessageBox.Show("Problemas al agregar\n a tu amigo");
     }
 }