diff --git a/Txgy.FilesWatcher/Assets/Upload Database.ico b/Txgy.FilesWatcher/Assets/Upload Database.ico new file mode 100644 index 0000000..810d206 Binary files /dev/null and b/Txgy.FilesWatcher/Assets/Upload Database.ico differ diff --git a/Txgy.FilesWatcher/Assets/Upload Database.png b/Txgy.FilesWatcher/Assets/Upload Database.png new file mode 100644 index 0000000..11eefd1 Binary files /dev/null and b/Txgy.FilesWatcher/Assets/Upload Database.png differ diff --git a/Txgy.FilesWatcher/Txgy.FilesWatcher.csproj b/Txgy.FilesWatcher/Txgy.FilesWatcher.csproj index 7ee1e47..087b00b 100644 --- a/Txgy.FilesWatcher/Txgy.FilesWatcher.csproj +++ b/Txgy.FilesWatcher/Txgy.FilesWatcher.csproj @@ -4,7 +4,14 @@ net6.0-windows true True + Assets\Upload Database.ico + + + + + + @@ -13,6 +20,9 @@ + + + PreserveNewest diff --git a/Txgy.FilesWatcher/ViewModels/MainWindowViewModel.cs b/Txgy.FilesWatcher/ViewModels/MainWindowViewModel.cs index 6f9b230..5945f98 100644 --- a/Txgy.FilesWatcher/ViewModels/MainWindowViewModel.cs +++ b/Txgy.FilesWatcher/ViewModels/MainWindowViewModel.cs @@ -13,7 +13,7 @@ namespace Txgy.FilesWatcher.ViewModels this._ea = ea; _ea.GetEvent().Subscribe(OnShowLoading, ThreadOption.UIThread); } - private string _title = "Application"; + private string _title = "FileWatch_20240509"; private readonly IEventAggregator _ea; public string Title diff --git a/Txgy.FilesWatcher/Views/MainWindow.xaml b/Txgy.FilesWatcher/Views/MainWindow.xaml index e143388..a4be574 100644 --- a/Txgy.FilesWatcher/Views/MainWindow.xaml +++ b/Txgy.FilesWatcher/Views/MainWindow.xaml @@ -4,7 +4,8 @@ xmlns:prism="http://prismlibrary.com/" xmlns:local="clr-namespace:Txgy.FilesWatcher.Views" prism:ViewModelLocator.AutoWireViewModel="True" - Title="{Binding Title}" Height="500" Width="960" > + Title="{Binding Title}" Height="500" Width="960" + Icon="/Views/Upload Database.png"> diff --git a/Txgy.FilesWatcher/Views/Upload Database.png b/Txgy.FilesWatcher/Views/Upload Database.png new file mode 100644 index 0000000..11eefd1 Binary files /dev/null and b/Txgy.FilesWatcher/Views/Upload Database.png differ