Esempio n. 1
0
        private void Image_MouseDown(object sender, MouseButtonEventArgs e)
        {
            GoogleMapPage googleMapPage = new GoogleMapPage();

            googleMapPage.setHike(hikeName.Content.ToString());
            Segue.Switch(googleMapPage);
        }
Esempio n. 2
0
        //public static List<Hike> allHikes = null;
        public MainWindow()
        {
            InitializeComponent();
            //initialize MainWindow to Login page by default
            Segue.pageSwitchWindow = this;
            loadCSV.stuff();

            Segue.Switch(new LoadingPage());


            //this.DataContext = new MWVM();
        }
Esempio n. 3
0
 /// <summary>
 /// send filter results here
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void Apply_Filter_Button(object sender, RoutedEventArgs e)
 {
     SaveSettings();
     GetSettings();
     if (Check_Location() && Check_Radio() && Check_Slider())
     {
         Segue.Switch(new HikeListPage());
     }
     else
     {
         filterResults.Clear();
     }
 }
Esempio n. 4
0
 private void Help_Filter(object sender, RoutedEventArgs e)
 {
     Segue.Switch(new FilterPage());
 }
Esempio n. 5
0
 private void Find_Hike(object sender, RoutedEventArgs e)
 {
     Segue.Switch(new HikeListPage());
 }
Esempio n. 6
0
        //private void WebBrowser_Loaded(object sender, RoutedEventArgs e)
        //{
        //    webMap.Navigate(new Uri("https://www.google.ca/maps"));
        //    //WebBrowser.Navigating += OnNavigating;

        //}
        private void Home_Button(object sender, MouseEventArgs e)
        {
            Segue.Switch(new FilterPage());
        }
Esempio n. 7
0
 private void Back_MouseDown(object sender, MouseEventArgs e)
 {
     Segue.Switch(new HikeListPage());
 }
Esempio n. 8
0
 private void aPicture_MouseDown(object sender, MouseEventArgs e)
 {
     Segue.Switch(new GuidePage());
 }
Esempio n. 9
0
 private void Image_MouseDown(object sender, MouseButtonEventArgs e)
 {
     Segue.Switch(new FilterPage());
 }
Esempio n. 10
0
 private void Image_MouseDown(object sender, MouseButtonEventArgs e)
 {
     Segue.Switch(new HikeProfilePage());
 }
Esempio n. 11
0
 private void Background_MouseDown(object sender, MouseButtonEventArgs e)
 {
     Segue.Switch(new HikeProfilePage(parkNameDisplayLabel.Content.ToString()));
 }