Exemple #1
0
 /// <summary>
 /// Handles ESC and ENTER keypresses for the feed name text box.
 /// </summary>
 private void NameTextBox_KeyDown(object sender, KeyRoutedEventArgs e) =>
 e.HandleEnterAndEscape(sender, ViewModel.CurrentFeed, () => ViewModel.CurrentFeed.Name);
Exemple #2
0
 /// <summary>
 /// Handles ESC and ENTER keypresses for the feed URI text box.
 /// </summary>
 private void LinkTextBox_KeyDown(object sender, KeyRoutedEventArgs e) =>
 e.HandleEnterAndEscape(sender, ViewModel.CurrentFeed, () => ViewModel.CurrentFeed.LinkAsString);