MySubjects.axaml.cs 535 B

1234567891011121314151617181920
  1. using Avalonia.Controls;
  2. using AvaloniaApplication4.AdditionalModels;
  3. using AvaloniaApplication4.Models;
  4. using AvaloniaApplication4.ViewModels;
  5. namespace AvaloniaApplication4.Views.ActionPages
  6. {
  7. public partial class MySubjects : UserControl
  8. {
  9. public MySubjects(User? user, ref GlobalsData globalsData)
  10. {
  11. DataContext = new MySubjectsViewModel(user, globalsData);
  12. InitializeComponent();
  13. }
  14. public MySubjects()
  15. {
  16. InitializeComponent();
  17. }
  18. }
  19. }