Avalonia Boilerplate
This commit is contained in:
parent
a6d5a3eb72
commit
0d32e6a5c3
14 changed files with 117 additions and 23 deletions
9
app/InkForge.Desktop/Views/MainWindow.axaml
Normal file
9
app/InkForge.Desktop/Views/MainWindow.axaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="InkForge.Desktop.Views.MainWindow"
|
||||
Title="InkForge">
|
||||
|
||||
</Window>
|
||||
13
app/InkForge.Desktop/Views/MainWindow.axaml.cs
Normal file
13
app/InkForge.Desktop/Views/MainWindow.axaml.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using Avalonia.ReactiveUI;
|
||||
|
||||
using InkForge.Common.ViewModels;
|
||||
|
||||
namespace InkForge.Desktop.Views;
|
||||
|
||||
public partial class MainWindow : ReactiveWindow<AppViewModel>
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue