public override void OnBackPressed()
 {
     if (FromStationSearchDialog.DialogShowing)
         FromStationSearchDialog.CloseDialog();
     else if (ToStationSearchDialog.DialogShowing)
         ToStationSearchDialog.CloseDialog();
     else
         base.OnBackPressed();
 }
 public override void OnBackPressed()
 {
     if (StationSearchDialog.DialogShowing)
     {
         StationSearchDialog.CloseDialog();
     }
     else
     {
         base.OnBackPressed();
     }
 }