2025-08-13 20:13:40 -07:00
|
|
|
<UserControl 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:progRing="clr-namespace:AvaloniaProgressRing;assembly=AvaloniaProgressRing"
|
2025-08-19 01:47:03 -07:00
|
|
|
xmlns:local="clr-namespace:MercuryConverter.UI.Dialogs"
|
2025-08-19 00:27:53 -07:00
|
|
|
x:Class="MercuryConverter.UI.Dialogs.DataScanning"
|
2025-08-13 20:13:40 -07:00
|
|
|
>
|
2025-08-18 00:32:10 -07:00
|
|
|
<Panel Margin="12">
|
2025-08-19 00:27:53 -07:00
|
|
|
<StackPanel>
|
|
|
|
|
<TextBlock Name="ScanStatus" FontSize="24" FontWeight="Light" Text="select your data folder..."/>
|
2025-08-19 01:03:06 -07:00
|
|
|
<TextBlock Name="ScanPath" IsVisible="false"/>
|
2025-08-19 00:27:53 -07:00
|
|
|
|
|
|
|
|
<StackPanel Margin="0 6 0 0" Name="ScanError" IsVisible="False">
|
|
|
|
|
<TextBlock>
|
|
|
|
|
<Run FontWeight="DemiBold" Text="ERROR" Foreground="Red"/>
|
|
|
|
|
<LineBreak/>
|
|
|
|
|
<Run Name="ErrorText" Text="Data pooped its pants"/>
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
2025-08-19 01:03:06 -07:00
|
|
|
<StackPanel Name="ScanInfo" Margin="0 12 0 12">
|
|
|
|
|
<TextBlock>
|
|
|
|
|
<Run FontWeight="Bold" Name="ScanInfoCountText"/>
|
|
|
|
|
<Run Text="songs added."/>
|
|
|
|
|
</TextBlock>
|
2025-08-19 00:27:53 -07:00
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<Grid ColumnDefinitions="Auto, *" HorizontalAlignment="Stretch">
|
2025-08-18 00:32:10 -07:00
|
|
|
<progRing:ProgressRing Foreground="{DynamicResource SystemBaseMediumColor}"
|
2025-08-19 00:27:53 -07:00
|
|
|
Name="ProgressAnimation"
|
|
|
|
|
Grid.Column="0"
|
2025-08-18 00:32:10 -07:00
|
|
|
Width="36"
|
|
|
|
|
Height="36"
|
|
|
|
|
IsActive="True"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
Margin="0,15,0,0"/>
|
2025-08-19 00:27:53 -07:00
|
|
|
<StackPanel Margin="0 12 0 0" Name="ButtonGroup" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Right" IsVisible="false">
|
|
|
|
|
<Button Name="BtnClose" Margin="6 0 0 0" Content="Close" Click="CloseHandler"/>
|
|
|
|
|
<Button Name="BtnSelectFolder" Margin="6 0 0 0" Content="Open Data Folder" Click="OpenDataHandler"/>
|
2025-08-18 00:32:10 -07:00
|
|
|
</StackPanel>
|
2025-08-19 00:27:53 -07:00
|
|
|
</Grid>
|
2025-08-18 00:32:10 -07:00
|
|
|
</StackPanel>
|
|
|
|
|
<!-- <StackPanel Name="SelectErrorView" IsVisible="true">
|
|
|
|
|
<TextBlock FontSize="24" FontWeight="Light" Text="couldn't fully open data folder"/>
|
|
|
|
|
<TextBlock Text="Unable to open PATH: ERROR"/>
|
|
|
|
|
<Button HorizontalAlignment="Right" Margin="0 12 0 0" Content="Open Data Folder" />
|
|
|
|
|
</StackPanel> -->
|
|
|
|
|
</Panel>
|
2025-08-13 20:13:40 -07:00
|
|
|
</UserControl>
|