项目初始化

This commit is contained in:
2025-09-30 14:35:09 +08:00
commit 0744b61f89
19 changed files with 977 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
using AvaloniaWebView;
using ReactiveUI;
using System;
namespace AvaloniaLinuxForm.ViewModels;
public class MainViewModel : ViewModelBase
{
private bool _canGoBack;
public bool CanGoBack
{
get => _canGoBack;
set => this.RaiseAndSetIfChanged(ref _canGoBack, value);
}
private bool _canGoForward;
public bool CanGoForward
{
get => _canGoForward;
set => this.RaiseAndSetIfChanged(ref _canGoForward, value);
}
}

View File

@@ -0,0 +1,7 @@
using ReactiveUI;
namespace AvaloniaLinuxForm.ViewModels;
public class ViewModelBase : ReactiveObject
{
}