Add Avalonia gui
This commit is contained in:
15
KMeansGui/Shell/ShellView.axaml
Normal file
15
KMeansGui/Shell/ShellView.axaml
Normal 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>
|
||||
Reference in New Issue
Block a user