Exemple #1
0
        public Login()
        {
            InitializeComponent();

            usersManager = new UsersManager();

            NavigationPage.SetHasNavigationBar(this, false);
        }
Exemple #2
0
        public Profile()
        {
            InitializeComponent();


            manager     = new UsersManager();
            currentUser = (Users)Application.Current.Properties["user"];

            loadData();

            genderPicker.SelectedIndexChanged += (sender, args) =>
            {
                genderPicker.BackgroundColor = Color.FromHex("#009688");
            };
        }
        public RoutesDetail(Routes route)
        {
            InitializeComponent();
            this.route = route;

            userRoute = new Users
            {
                ID = route.ID_User
            };

            usersManager        = new UsersManager();
            reservationsManager = new ReservationsManager();
            currentUser         = (Users)Application.Current.Properties["user"];

            this.LoadReservation();
            this.LoadData();
        }
        public MyRoutesDetail(Routes route)
        {
            this.route          = route;
            usersList           = new List <Users>();
            currentUser         = (Users)Application.Current.Properties["user"];
            reservationsManager = new ReservationsManager();
            routeManager        = new RouteManager();
            reservationResult   = new List <Reservations>();
            InitializeComponent();

            this.IsBusy = true;
            userRoute   = new Users
            {
                ID = this.route.ID_User
            };

            usersManager = new UsersManager();

            this.LoadData();
        }
Exemple #5
0
        public SignUp()
        {
            InitializeComponent();

            manager = new UsersManager();
        }