12345678910111213141516171819202122 |
- using Avalonia;
- using Avalonia.Controls;
- using Avalonia.Markup.Xaml;
- using TestRepeat.Models;
- using TestRepeat.ViewModels;
- namespace TestRepeat.Views;
- public partial class DateUser : UserControl
- {
- public DateUser()
- {
- InitializeComponent();
- DataContext = new DateUserViewModel();
- }
- public DateUser(User user)
- {
- InitializeComponent();
- DataContext = new DateUserViewModel(user);
- }
-
- }
|