PageforRegularUser.axaml.cs 473 B

123456789101112131415161718
  1. using Avalonia;
  2. using Avalonia.Controls;
  3. using Avalonia.Markup.Xaml;
  4. using AvaloniaApplicationKuzminIV.Models;
  5. using AvaloniaApplicationKuzminIV.ViewModels;
  6. using System.Collections.Generic;
  7. namespace AvaloniaApplicationKuzminIV;
  8. public partial class PageforRegularUser : UserControl
  9. {
  10. public PageforRegularUser()
  11. {
  12. InitializeComponent();
  13. DataContext = new PageStartAdminViewModel();
  14. //DataContext = new MainWindowViewModel(users);
  15. }
  16. }