Exemplo n.º 1
0
        private async void Main_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (Main.SelectedIndex == 0)
            {
                Ani2.Stop();
                Ani1.Begin();
                return;
            }
            if (Main.SelectedIndex == 1)
            {
                Ani2.Begin();
                Ani1.Stop();
                return;
            }

            Ani1.Stop();
            Ani2.Stop();

            if (Main.SelectedIndex == Main.Items.Count - 1 && !searchBegined)
            {
                Settings.Current.WelcomeFinished = true;
                Settings.Current.Save();
                await StartSearching();
            }
        }
Exemplo n.º 2
0
 public WelcomePage()
 {
     this.InitializeComponent();
     AddFolderFrame.Navigate(typeof(AddFoldersView), new object());
     Ani2.Stop();
     Ani1.Begin();
 }
Exemplo n.º 3
0
 public WelcomePage()
 {
     this.InitializeComponent();
     AddFolderFrame.Navigate(typeof(AddFoldersView), new object());
     Ani2.Stop();
     Ani1.Begin();
     Main.SelectionChanged += Main_SelectionChanged;
 }