private void SubmitWatchedEps(object sender, KeyRoutedEventArgs e)
 {
     if (e.Key == VirtualKey.Enter)
     {
         ViewModel.ChangeWatchedCommand.Execute(null);
         WatchedEpsFlyout.Hide();
         e.Handled = true;
     }
 }
Esempio n. 2
0
        private void TxtBoxWatchedEps_OnKeyDown(object sender, KeyRoutedEventArgs e)
        {
            if (e.Key != VirtualKey.Enter)
            {
                return;
            }

            (DataContext as AnimeItemViewModel).OnFlyoutEpsKeyDown.Execute(e);
            WatchedEpsFlyout.Hide();
        }
 private void QuickSelectionGrid_OnItemClick(object sender, ItemClickEventArgs e)
 {
     ViewModel.WatchedEpsInput = e.ClickedItem as string;
     ViewModel.ChangeWatchedCommand.Execute(null);
     WatchedEpsFlyout.Hide();
 }
 private void WatchedEpsButton_OnClick(object sender, RoutedEventArgs e)
 {
     WatchedEpsFlyout.Hide();
 }
Esempio n. 5
0
 private void BtnSubmitOnClick(object sender, RoutedEventArgs e)
 {
     ViewModel.OnFlyoutEpsKeyDown.Execute(null);
     WatchedEpsFlyout.Hide();
 }
 private void BtnSubmitOnClick(object sender, RoutedEventArgs e)
 {
     WatchedEpsFlyout.Hide();
 }