20 lines
486 B
C#
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);
|
|
}
|
|
} |