Пример #1
0
 //-----------------------------------------------------------------------------------------------
 public CompanyPage(String cedula, String nombre, String apellidos)//Constructor
 {
     InitializeComponent();
     entCedula.Text = cedula;
     entNombre.Text = nombre + " " + apellidos;
     scan           = new Escaner(entryScan);
     stNombre       = nombre;
     stApellidos    = apellidos;
 }
Пример #2
0
        //---------------------------------------------------------------------------

        public MainPage()//Constructor
        {
            Device.StartTimer(TimeSpan.FromSeconds(5), () =>
            {
                Device.BeginInvokeOnMainThread(() => refreshPage());
                Debug.WriteLine("Refreshed");
                return(true);
            });

            InitializeComponent();
            scanner = new Escaner(cedulaScanned);

            DeviceDisplay.KeepScreenOn = false;
        }
Пример #3
0
        public GrupoPage(string empresa, string visita, string cedula, string nombres)//Constructor
        {
            InitializeComponent();
            this.empresa.Text = empresa;
            this.visitaA.Text = visita;
            //this.cedula.Text = cedula;
            this.Nombres.Text      = nombres;
            Nombres.Completed     += Nombres_Completed;
            this.cedula.Completed += Cedula_Completed;


            using (var datos = new DataAccess())
            {
                listaGrupo.ItemsSource = datos.GetVisitas(); // Obtetiendo las visitas agregadas
            }
            scanner = new Escaner(cedulaScanned);            // obteniendo el scanner
        }