Ejemplo n.º 1
0
        private void connect_Click(object sender, RoutedEventArgs e)
        {
            Frame_Login.Visibility = Visibility.Visible;
            ContinuumNavigationTransitionInfo n = new ContinuumNavigationTransitionInfo();

            Frame_Login.Navigate(typeof(LoginView), null, n);
        }
Ejemplo n.º 2
0
 private void NagivateAbout_Me(object sender, EventArgs e)
 {
     lock (lockObject)
     {
         if (Frame_Login.CanGoBack)
         {
             Frame_Login.GoBack();
         }
         if (Frame_Login.Visibility == Visibility.Visible)
         {
             Frame_Login.Visibility = Visibility.Collapsed;
         }
     }
 }
Ejemplo n.º 3
0
 private void login_Click(object sender, RoutedEventArgs e)
 {
     if (App.IsConnect == false)
     {
         if (Frame_Login.Visibility == Visibility.Collapsed)
         {
             Frame_Login.Visibility = Visibility.Visible;
             SuppressNavigationTransitionInfo n = new SuppressNavigationTransitionInfo();
             Frame_Login.Navigate(typeof(LoginView), null, n);
         }
         else if (Frame_Login.Visibility == Visibility.Visible)
         {
             Frame_Login.Visibility = Visibility.Collapsed;
         }
     }
 }