22 lines
592 B
C#
22 lines
592 B
C#
using System.Windows;
|
|
|
|
namespace XLAB2
|
|
{
|
|
public partial class VerificationReportsWindow : Window
|
|
{
|
|
private readonly VerificationReportsWindowViewModel _viewModel;
|
|
|
|
public VerificationReportsWindow()
|
|
{
|
|
InitializeComponent();
|
|
_viewModel = new VerificationReportsWindowViewModel(new VerificationReportsService(), new DialogService(this));
|
|
DataContext = _viewModel;
|
|
}
|
|
|
|
private async void Window_Loaded(object sender, RoutedEventArgs e)
|
|
{
|
|
await _viewModel.InitializeAsync();
|
|
}
|
|
}
|
|
}
|