2019-11-14 18:08:21 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
using Avalonia;
|
|
|
|
|
using Avalonia.Collections;
|
|
|
|
|
using Avalonia.Controls;
|
|
|
|
|
|
|
|
|
|
using BFR.DataModels;
|
2019-11-13 22:01:08 +00:00
|
|
|
|
|
|
|
|
|
namespace BFR
|
|
|
|
|
{
|
|
|
|
|
public partial class MainWindow : Window
|
|
|
|
|
{
|
2019-11-14 18:08:21 +00:00
|
|
|
|
private readonly AvaloniaProperty<string> workingDirectoryProperty =
|
|
|
|
|
AvaloniaProperty.Register<MainWindow, string>(nameof(WorkingDirectory));
|
|
|
|
|
public string WorkingDirectory { get => GetValue(workingDirectoryProperty); set => SetValue(workingDirectoryProperty, value); }
|
|
|
|
|
|
|
|
|
|
public AvaloniaList<FileModel> AllFiles { get; } = new AvaloniaList<FileModel>();
|
|
|
|
|
public AvaloniaList<FileModel> Files { get; } = new AvaloniaList<FileModel>();
|
2019-11-13 22:01:08 +00:00
|
|
|
|
}
|
|
|
|
|
}
|