21 lines
466 B
C#
21 lines
466 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
using DispenserUI.ViewModels.Product;
|
|
|
|
namespace DispenserUI.Views.Product;
|
|
|
|
public partial class ProductIndexView : UserControl
|
|
{
|
|
public ProductIndexVM ViewModel { get; } = App.GetService<ProductIndexVM>();
|
|
|
|
public ProductIndexView()
|
|
{
|
|
DataContext = ViewModel;
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void InitializeComponent()
|
|
{
|
|
AvaloniaXamlLoader.Load(this);
|
|
}
|
|
} |