Add Avalonia gui

This commit is contained in:
2022-01-08 13:17:02 +01:00
parent fb05d8887f
commit c317ab897f
19 changed files with 775 additions and 80 deletions

View File

@@ -0,0 +1,15 @@
<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"
xmlns:kMeansGui="clr-namespace:KMeansGui" x:Name="LayoutRoot"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="KMeansGui.ShellView"
Title="KMeansGui">
<Window.DataContext>
<kMeansGui:ShellViewModel />
</Window.DataContext>
<Grid RowDefinitions="*,*" ColumnDefinitions="*,*">
<Button Command="{Binding OpenCsvFileAsync}" CommandParameter="{Binding ElementName=LayoutRoot}" >Load CSV file</Button>
</Grid>
</Window>