Demka_kur/OknaFunciy/ActivityWindow.axaml.cs

20 lines
486 B
C#
Raw Permalink Normal View History

2025-03-05 09:12:58 +00:00
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);
}
}