30 lines
1.7 KiB
XML
30 lines
1.7 KiB
XML
<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:viewModels="clr-namespace:DotNetSolutionTools.App.ViewModels"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="DotNetSolutionTools.App.Views.MainWindow"
|
|
x:DataType="viewModels:MainWindowViewModel"
|
|
Icon="/Assets/avalonia-logo.ico"
|
|
Title="FileOps">
|
|
<Design.DataContext>
|
|
<!-- This only sets the DataContext for the previewer in an IDE,
|
|
to set the actual DataContext for runtime, set the DataContext property in code (look at App.axaml.cs) -->
|
|
<viewModels:MainWindowViewModel />
|
|
</Design.DataContext>
|
|
<Panel>
|
|
<StackPanel>
|
|
<TextBlock>Welcome to Avalonia!</TextBlock>
|
|
<Button Command="{Binding LoadSolutionFolderCommand}" >Select Solution Folder</Button>
|
|
<Button Command="{Binding LoadSolutionFileCommand}">Select Solution File</Button>
|
|
<Button Command="{Binding ExecuteParityCheckerCommand}">Check Solution Parity</Button>
|
|
<Button Command="{Binding FormatCsProjFileCommand}">Format CSharp Project File</Button>
|
|
<TextBlock Name="SolutionFilePath" Text="{Binding SolutionFilePath}" />
|
|
<TextBlock Name="SolutionFolderPath" Text="{Binding SolutionFolderPath}" />
|
|
<ListBox Name="Results" ItemsSource="{Binding ParityResults}"/>
|
|
<ListBox ItemsSource="{Binding ErrorMessages}"/>
|
|
</StackPanel>
|
|
</Panel>
|
|
|
|
</Window> |