From 231c3c5fe0a87ef0f7f3b3487661097aab957b7c Mon Sep 17 00:00:00 2001 From: Kaustav Chaudhuri Date: Mon, 8 May 2023 11:11:27 +0530 Subject: [PATCH] Implementation of Cancelled Booking Page and Its View Model --- .../ViewModels/CancelledBookingViewModel.cs | 45 ++++++++++++++++ .../Views/CancelledBookingPage.xaml | 53 +++++++++++++++++++ .../Views/CancelledBookingPage.xaml.cs | 41 ++++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 GMCabsDriverAssistantSolution/ViewModels/CancelledBookingViewModel.cs create mode 100644 GMCabsDriverAssistantSolution/Views/CancelledBookingPage.xaml create mode 100644 GMCabsDriverAssistantSolution/Views/CancelledBookingPage.xaml.cs diff --git a/GMCabsDriverAssistantSolution/ViewModels/CancelledBookingViewModel.cs b/GMCabsDriverAssistantSolution/ViewModels/CancelledBookingViewModel.cs new file mode 100644 index 0000000..8191285 --- /dev/null +++ b/GMCabsDriverAssistantSolution/ViewModels/CancelledBookingViewModel.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GMCabsDriverAssistantSolution.ViewModels +{ + class CancelledBookingViewModel : BaseViewModel + { + #region Fields + public string pickUpAddress = ""; + public string dropUpAddress = ""; + #endregion + + #region Properties + public string PickUpAddress + { + get => pickUpAddress; + set + { + SetProperty(ref pickUpAddress, value); + } + } + public string DropUpAddress + { + get => dropUpAddress; + set + { + SetProperty(ref dropUpAddress, value); + } + } + #endregion + + #region Constructor + public CancelledBookingViewModel() + { + Title = "Booking Cancelled"; + } + #endregion + + #region Methods + #endregion + } +} diff --git a/GMCabsDriverAssistantSolution/Views/CancelledBookingPage.xaml b/GMCabsDriverAssistantSolution/Views/CancelledBookingPage.xaml new file mode 100644 index 0000000..5062581 --- /dev/null +++ b/GMCabsDriverAssistantSolution/Views/CancelledBookingPage.xaml @@ -0,0 +1,53 @@ + + + + +