Demka_kur/OknaFunciy/ActivityWindow.axaml.cs
2025-03-05 12:12:58 +03:00

20 lines
486 B
C#

using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Demka_Snova_1.Hardik.Conect.Dao;
using System.Collections.Generic;
namespace Demka_Snova_1.OknaFunciy;
public partial class ActivityWindow : Window
{
public ActivityWindow(List<historyDao> activityList)
{
InitializeComponent();
this.FindControl<DataGrid>("ActivityDataGrid").ItemsSource = activityList;
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}