private void Btn_ShowConfiguration_Tapped(object sender, TappedRoutedEventArgs e)
        {
            Frame_Main.Visibility = Visibility.Visible;
            Lbl_Time.Visibility   = Visibility.Collapsed;
            Lbl_Date.Visibility   = Visibility.Collapsed;

            Pages.Page_Configuration _PC = new Pages.Page_Configuration();
            Frame_Main.Navigate(_PC.GetType());
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Invoked when this page is about to be displayed in a Frame.
        /// </summary>
        /// <param name="e">Event data that describes how this page was reached.
        /// This parameter is typically used to configure the page.</param>
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            LocalDatabase.SetDatabase();

            if (!Frame_Main.Navigate(typeof(Intro)))
            {
                throw new Exception("Failed to create scenario list");
            }
        }
        private void Btn_ShowRooms_Tapped(object sender, TappedRoutedEventArgs e)
        {
            Frame_Main.Visibility = Visibility.Visible;
            Lbl_Time.Visibility   = Visibility.Collapsed;
            Lbl_Date.Visibility   = Visibility.Collapsed;

            Pages.Page_Room ShowRoom = new Pages.Page_Room();
            Frame_Main.Navigate(ShowRoom.GetType());
        }