MainWindow.axaml.cs 474 B

123456789101112131415161718192021
  1. using Avalonia.Controls;
  2. using Avalonia.Interactivity;
  3. namespace AvaloniaApplication3.Views
  4. {
  5. public partial class MainWindow : Window
  6. {
  7. public MainWindow()
  8. {
  9. InitializeComponent();
  10. }
  11. private void NextImage(object source, RoutedEventArgs args)
  12. {
  13. Slides.Next();
  14. }
  15. private void PreviousImage(object source, RoutedEventArgs args)
  16. {
  17. Slides.Previous();
  18. }
  19. }
  20. }