Exemple #1
0
        private async void bntAgregarRadio_click(object sender, EventArgs e)
        {
            var serial  = txtSerial.Text.ToString();
            var numero  = Int32.Parse(txtNumero.Text.ToString());
            var estatus = txtObservacion.Text.ToString();

            try
            {
                UseManager manager = new UseManager();
                manager.registrarEquipo(serial, numero, estatus);

                await DisplayAlert("Registro", "Registro Exitoso", "Aceptar", "Cancelar");

                await Navigation.PushAsync(new MenuEquipos(servidor, acceso, usuario));
            }
            catch (Exception e1) { Console.WriteLine(e1.Message.ToString()); }
        }