public CreateTrip()
 {
     this.InitializeComponent();
     this.ViewModel = new HomeViewModel();
     HistoryDatePicker.DateChanged += HistoryDatePicker_DateChanged;
     submitButton.Click += submitButton_Click;
     cancelButton.Click += CancelButton_Click;
 }
 public MyTripsItem()
 {
     this.InitializeComponent();
     this.ViewModel = new HomeViewModel();
     this.Loaded += MyTripsItem_Loaded;
     endTripBtn.Click += EndTripBtn_Click;
     delTripBtn.Click += DelTripBtn_Click;
 }