Пример #1
0
 void WordListBox_OnKeyUp(object sender, KeyRoutedEventArgs e)
 {
     if (e.Key == Windows.System.VirtualKey.Enter)
     {
         string text = WordListBox.Text;
         if (text.Length > 0)
         {
             Windows.UI.ViewManagement.InputPane.GetForCurrentView().TryHide();
             ResultsTextBlock.Text = text;
             FadeOutResults.Begin();
         }
     }
 }
Пример #2
0
 protected override void OnNavigatedFrom(NavigationEventArgs e)
 {
     FadeOutResults.Stop();
 }