private void refreshTable()
        {
            var planRideDetails = DatabaseSingleton.GetInstance().Rides.Where(x => x.RideStatus_.Contains("Waiting") || x.RideStatus_.Contains("In Progress")).ToList();

            EventTable.ItemsSource = planRideDetails;
            var rideDetails = DatabaseSingleton.GetInstance().Rides.Where(x => x.RideStatus_.Equals("Actived")).ToList();

            EventTable.ItemsSource = rideDetails;
        }
Ejemplo n.º 2
0
        private void refreshTable()
        {
            var data = (from x in DatabaseSingleton.GetInstance().Advertisements.Where(x => x.AdvertisementStatus != "Deleted")
                        select new {
                AdvertisementID = x.AdvertisementID,
                AdvertisementDescription = x.AdvertisementDescription,
                AdvertisementDeadline = x.Deadline,
                EmployeeID = x.EmployeeID
            }).ToList();

            adsTable.ItemsSource = data;
        }
Ejemplo n.º 3
0
        private void refreshTableAttraction()
        {
            var requestAttractionDetails = DatabaseSingleton.GetInstance().RequestAttractions.Where(x => x.AttractionStatus.Contains("Pending")).ToList();

            EventTable.ItemsSource = requestAttractionDetails;
        }
Ejemplo n.º 4
0
        private void refreshTableRide()
        {
            var requestRideDetails = DatabaseSingleton.GetInstance().RequestRides.Where(x => x.RideStatus_.Contains("Pending")).ToList();

            EventTable.ItemsSource = requestRideDetails;
        }
 private void RefreshTable()
 {
     IngredientTable.ItemsSource = DatabaseSingleton.GetInstance().Ingredients.Where(x => x.IngredientStatus != "Deleted").ToList();
 }
Ejemplo n.º 6
0
        private void LoadTableData()
        {
            var attractionDetails = DatabaseSingleton.GetInstance().Attractions.ToList();

            attractionTable.ItemsSource = attractionDetails;
        }
Ejemplo n.º 7
0
        private void refreshTableResponse()
        {
            var data = DatabaseSingleton.GetInstance().FundRequests.ToList();

            EventTable.ItemsSource = data;
        }
Ejemplo n.º 8
0
        private void refreshTablePurchasing()
        {
            var data = DatabaseSingleton.GetInstance().PurchaseRequests.ToList();

            EventTable.ItemsSource = data;
        }
        private void ViewRidePlan_Checked(object sender, RoutedEventArgs e)
        {
            var planRideDetails = DatabaseSingleton.GetInstance().Rides.Where(x => x.RideStatus_.Contains("Waiting") || x.RideStatus_.Contains("In Progress")).ToList();

            EventTable.ItemsSource = planRideDetails;
        }
        private void ViewAllRide_Checked(object sender, RoutedEventArgs e)
        {
            var rideDetails = DatabaseSingleton.GetInstance().Rides.Where(x => x.RideStatus_.Equals("Actived")).ToList();

            EventTable.ItemsSource = rideDetails;
        }
Ejemplo n.º 11
0
        private void AttractionRadioButton_Checked(object sender, RoutedEventArgs e)
        {
            var requestAttractionDetails = DatabaseSingleton.GetInstance().RequestAttractions.ToList();

            EventTable.ItemsSource = requestAttractionDetails;
        }
        private void LoadTableData()
        {
            var rideDetails = DatabaseSingleton.GetInstance().Rides.ToList();

            rideTable.ItemsSource = rideDetails;
        }
Ejemplo n.º 13
0
        private void refreshTable()
        {
            var data = DatabaseSingleton.GetInstance().TicketTransactions.Where(x => x.TransactionStauts != "Deleted").ToList();

            TicketTransactionTable.ItemsSource = data;
        }
 private void RefreshTable()
 {
     EventTable.ItemsSource = DatabaseSingleton.GetInstance().FundRequests.Where(x => x.FundStatus.Contains("Pending")).ToList();
 }