mzhifa 4 months ago
commit 909b897064

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

@ -4,7 +4,14 @@
<TargetFramework>net6.0-windows</TargetFramework> <TargetFramework>net6.0-windows</TargetFramework>
<UseWPF>true</UseWPF> <UseWPF>true</UseWPF>
<UseWindowsForms>True</UseWindowsForms> <UseWindowsForms>True</UseWindowsForms>
<ApplicationIcon>Assets\Upload Database.ico</ApplicationIcon>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<None Remove="Views\Upload Database.png" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Upload Database.ico" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Dapper" Version="2.1.21" /> <PackageReference Include="Dapper" Version="2.1.21" />
<PackageReference Include="HandyControl" Version="3.4.0" /> <PackageReference Include="HandyControl" Version="3.4.0" />
@ -13,6 +20,9 @@
<PackageReference Include="Prism.DryIoc" Version="8.1.97" /> <PackageReference Include="Prism.DryIoc" Version="8.1.97" />
<PackageReference Include="WebSocket4Net" Version="0.15.2" /> <PackageReference Include="WebSocket4Net" Version="0.15.2" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Resource Include="Views\Upload Database.png" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<None Update="systemconfig.json"> <None Update="systemconfig.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

@ -13,7 +13,7 @@ namespace Txgy.FilesWatcher.ViewModels
this._ea = ea; this._ea = ea;
_ea.GetEvent<LoadingEvent>().Subscribe(OnShowLoading, ThreadOption.UIThread); _ea.GetEvent<LoadingEvent>().Subscribe(OnShowLoading, ThreadOption.UIThread);
} }
private string _title = "Application"; private string _title = "FileWatch_20240509";
private readonly IEventAggregator _ea; private readonly IEventAggregator _ea;
public string Title public string Title

@ -4,7 +4,8 @@
xmlns:prism="http://prismlibrary.com/" xmlns:prism="http://prismlibrary.com/"
xmlns:local="clr-namespace:Txgy.FilesWatcher.Views" xmlns:local="clr-namespace:Txgy.FilesWatcher.Views"
prism:ViewModelLocator.AutoWireViewModel="True" prism:ViewModelLocator.AutoWireViewModel="True"
Title="{Binding Title}" Height="500" Width="960" > Title="{Binding Title}" Height="500" Width="960"
Icon="/Views/Upload Database.png">
<Grid> <Grid>
<ContentControl prism:RegionManager.RegionName="MainContentRegion" /> <ContentControl prism:RegionManager.RegionName="MainContentRegion" />
<Grid Background="WhiteSmoke" Opacity="0.5" Visibility="{Binding IsLoadingVisibile}"> <Grid Background="WhiteSmoke" Opacity="0.5" Visibility="{Binding IsLoadingVisibile}">

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Loading…
Cancel
Save