diff --git a/ImgMetadataRemover.sln b/ImgMetadataRemover.sln index 69bbf63..2dce599 100644 --- a/ImgMetadataRemover.sln +++ b/ImgMetadataRemover.sln @@ -9,8 +9,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleInterface", "Console EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ImageCore.Tests", "ImageCore.Tests\ImageCore.Tests.csproj", "{8EB81515-E62C-4408-84E0-6C27E0293902}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsApplication", "WindowsApplication\WindowsApplication.csproj", "{122A284C-5944-4AAF-B2CC-56180C882483}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -85,36 +83,6 @@ Global {8EB81515-E62C-4408-84E0-6C27E0293902}.Release|x64.Build.0 = Release|Any CPU {8EB81515-E62C-4408-84E0-6C27E0293902}.Release|x86.ActiveCfg = Release|Any CPU {8EB81515-E62C-4408-84E0-6C27E0293902}.Release|x86.Build.0 = Release|Any CPU - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|Any CPU.ActiveCfg = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|Any CPU.Build.0 = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|Any CPU.Deploy.0 = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|ARM.ActiveCfg = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|ARM.Build.0 = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|ARM.Deploy.0 = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|ARM64.ActiveCfg = Debug|arm64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|ARM64.Build.0 = Debug|arm64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|ARM64.Deploy.0 = Debug|arm64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|x64.ActiveCfg = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|x64.Build.0 = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|x64.Deploy.0 = Debug|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|x86.ActiveCfg = Debug|x86 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|x86.Build.0 = Debug|x86 - {122A284C-5944-4AAF-B2CC-56180C882483}.Debug|x86.Deploy.0 = Debug|x86 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|Any CPU.ActiveCfg = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|Any CPU.Build.0 = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|Any CPU.Deploy.0 = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|ARM.ActiveCfg = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|ARM.Build.0 = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|ARM.Deploy.0 = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|ARM64.ActiveCfg = Release|arm64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|ARM64.Build.0 = Release|arm64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|ARM64.Deploy.0 = Release|arm64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|x64.ActiveCfg = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|x64.Build.0 = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|x64.Deploy.0 = Release|x64 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|x86.ActiveCfg = Release|x86 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|x86.Build.0 = Release|x86 - {122A284C-5944-4AAF-B2CC-56180C882483}.Release|x86.Deploy.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/WindowsApplication/App.xaml b/WindowsApplication/App.xaml deleted file mode 100644 index 28b4038..0000000 --- a/WindowsApplication/App.xaml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/WindowsApplication/App.xaml.cs b/WindowsApplication/App.xaml.cs deleted file mode 100644 index 3f6cf7a..0000000 --- a/WindowsApplication/App.xaml.cs +++ /dev/null @@ -1,51 +0,0 @@ -using Microsoft.UI.Xaml; -using Microsoft.UI.Xaml.Controls; -using Microsoft.UI.Xaml.Controls.Primitives; -using Microsoft.UI.Xaml.Data; -using Microsoft.UI.Xaml.Input; -using Microsoft.UI.Xaml.Media; -using Microsoft.UI.Xaml.Navigation; -using Microsoft.UI.Xaml.Shapes; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; -using Windows.ApplicationModel; -using Windows.ApplicationModel.Activation; -using Windows.Foundation; -using Windows.Foundation.Collections; - -// To learn more about WinUI, the WinUI project structure, -// and more about our project templates, see: http://aka.ms/winui-project-info. - -namespace WindowsApplication -{ - /// - /// Provides application-specific behavior to supplement the default Application class. - /// - public partial class App : Application - { - /// - /// Initializes the singleton application object. This is the first line of authored code - /// executed, and as such is the logical equivalent of main() or WinMain(). - /// - public App() - { - this.InitializeComponent(); - } - - /// - /// Invoked when the application is launched normally by the end user. Other entry points - /// will be used such as when the application is launched to open a specific file. - /// - /// Details about the launch request and process. - protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args) - { - m_window = new MainWindow(); - m_window.Activate(); - } - - private Window m_window; - } -} diff --git a/WindowsApplication/Assets/LockScreenLogo.scale-200.png b/WindowsApplication/Assets/LockScreenLogo.scale-200.png deleted file mode 100644 index 7440f0d..0000000 Binary files a/WindowsApplication/Assets/LockScreenLogo.scale-200.png and /dev/null differ diff --git a/WindowsApplication/Assets/SplashScreen.scale-200.png b/WindowsApplication/Assets/SplashScreen.scale-200.png deleted file mode 100644 index 32f486a..0000000 Binary files a/WindowsApplication/Assets/SplashScreen.scale-200.png and /dev/null differ diff --git a/WindowsApplication/Assets/Square150x150Logo.scale-200.png b/WindowsApplication/Assets/Square150x150Logo.scale-200.png deleted file mode 100644 index 53ee377..0000000 Binary files a/WindowsApplication/Assets/Square150x150Logo.scale-200.png and /dev/null differ diff --git a/WindowsApplication/Assets/Square44x44Logo.scale-200.png b/WindowsApplication/Assets/Square44x44Logo.scale-200.png deleted file mode 100644 index f713bba..0000000 Binary files a/WindowsApplication/Assets/Square44x44Logo.scale-200.png and /dev/null differ diff --git a/WindowsApplication/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/WindowsApplication/Assets/Square44x44Logo.targetsize-24_altform-unplated.png deleted file mode 100644 index dc9f5be..0000000 Binary files a/WindowsApplication/Assets/Square44x44Logo.targetsize-24_altform-unplated.png and /dev/null differ diff --git a/WindowsApplication/Assets/StoreLogo.png b/WindowsApplication/Assets/StoreLogo.png deleted file mode 100644 index a4586f2..0000000 Binary files a/WindowsApplication/Assets/StoreLogo.png and /dev/null differ diff --git a/WindowsApplication/Assets/Wide310x150Logo.scale-200.png b/WindowsApplication/Assets/Wide310x150Logo.scale-200.png deleted file mode 100644 index 8b4a5d0..0000000 Binary files a/WindowsApplication/Assets/Wide310x150Logo.scale-200.png and /dev/null differ diff --git a/WindowsApplication/MainWindow.xaml b/WindowsApplication/MainWindow.xaml deleted file mode 100644 index 4971c46..0000000 --- a/WindowsApplication/MainWindow.xaml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - diff --git a/WindowsApplication/MainWindow.xaml.cs b/WindowsApplication/MainWindow.xaml.cs deleted file mode 100644 index 3db72e8..0000000 --- a/WindowsApplication/MainWindow.xaml.cs +++ /dev/null @@ -1,61 +0,0 @@ -using Microsoft.UI.Xaml; -using System; -using System.Collections.Generic; -using System.Runtime.InteropServices; - -// To learn more about WinUI, the WinUI project structure, -// and more about our project templates, see: http://aka.ms/winui-project-info. - -namespace WindowsApplication -{ - /// - /// An empty window that can be used on its own or navigated to within a Frame. - /// - public sealed partial class MainWindow : Window - { - public MainWindow() - { - this.InitializeComponent(); - UpdateNumberOfFilesText(0); - } - - private async void PickFilesButton_Click(object sender, RoutedEventArgs e) - { - var folderPicker = new Windows.Storage.Pickers.FolderPicker(); - - // Get the current window's HWND by passing in the Window object - var hwnd = WinRT.Interop.WindowNative.GetWindowHandle(this); - - // Associate the HWND with the file picker - WinRT.Interop.InitializeWithWindow.Initialize(folderPicker, hwnd); - - folderPicker.SuggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.Desktop; - folderPicker.FileTypeFilter.Add("*"); - - Windows.Storage.StorageFolder folder = await folderPicker.PickSingleFolderAsync(); - if (folder != null) - { - // Application now has read/write access to all contents in the picked folder - // (including other sub-folder contents) - Windows.Storage.AccessCache.StorageApplicationPermissions.FutureAccessList.AddOrReplace("PickedFolderToken", folder); - - List fileNames = new List(); - var folderItems = await folder.GetItemsAsync(); - foreach (var item in folderItems) - { - if (item.Attributes == Windows.Storage.FileAttributes.Archive || item.Attributes == Windows.Storage.FileAttributes.Normal) - { - fileNames.Add(item.Name); - } - } - FilesListView.ItemsSource = fileNames; - UpdateNumberOfFilesText(fileNames.Count); - } - } - - private void UpdateNumberOfFilesText(int nrOfFiles) - { - NumberOfFiles.Text = $"Total files {nrOfFiles}."; - } - } -} diff --git a/WindowsApplication/Package.appxmanifest b/WindowsApplication/Package.appxmanifest deleted file mode 100644 index 5b40ea0..0000000 --- a/WindowsApplication/Package.appxmanifest +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - WindowsApplication - nutiu - Assets\StoreLogo.png - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/WindowsApplication/Properties/launchSettings.json b/WindowsApplication/Properties/launchSettings.json deleted file mode 100644 index 65b7102..0000000 --- a/WindowsApplication/Properties/launchSettings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "profiles": { - "WindowsApplication (Package)": { - "commandName": "MsixPackage" - }, - "WindowsApplication (Unpackaged)": { - "commandName": "Project" - } - } -} \ No newline at end of file diff --git a/WindowsApplication/WindowsApplication.csproj b/WindowsApplication/WindowsApplication.csproj deleted file mode 100644 index 045346e..0000000 --- a/WindowsApplication/WindowsApplication.csproj +++ /dev/null @@ -1,37 +0,0 @@ - - - WinExe - net6.0-windows10.0.19041.0 - 10.0.17763.0 - WindowsApplication - app.manifest - x86;x64;arm64 - win10-x86;win10-x64;win10-arm64 - win10-$(Platform).pubxml - true - true - - - - - - - - - - - - - - - - - - - - - - - diff --git a/WindowsApplication/app.manifest b/WindowsApplication/app.manifest deleted file mode 100644 index cec8cae..0000000 --- a/WindowsApplication/app.manifest +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - true/PM - PerMonitorV2, PerMonitor - - -