19 Commits
Author SHA1 Message Date
Stone-Red-Code fa225d7b6f Merge remote-tracking branch 'origin/main' 2021-08-16 18:29:27 +02:00
Stone-Red-Code 0aa8307e5b Merge branch 'develop' 2021-08-16 18:28:21 +02:00
Stone-Red-Code 60df188433 Fixed Installer 2021-08-16 18:27:03 +02:00
Stone-Red-Code 58572eb6f2 Updated version number 2021-08-16 18:21:38 +02:00
Stone-Red-Code d46976fec8 Plugin class name can now have any name. 2021-08-16 18:19:42 +02:00
Stone_Red af18375e6a Update README.md 2021-08-14 22:16:29 +02:00
Stone-Red-Code 544b838f2f Merge branch 'develop'
# Conflicts:
#	src/DesktopMagic/bin/Release/net5.0-windows/DesktopMagic.dll
#	src/DesktopMagic/bin/Release/net5.0-windows/DesktopMagic.exe
#	src/DesktopMagic/bin/Release/net5.0-windows/DesktopMagicPluginAPI.dll
2021-08-14 22:01:47 +02:00
Stone-Red-Code 14c6830f5e Update .gitignore 2021-08-14 21:52:07 +02:00
Stone-Red-Code 1e57ec1b6a Revert "Fix mistake"
This reverts commit e89b2981e7.
2021-08-14 21:42:06 +02:00
Stone-Red-Code e89b2981e7 Fix mistake 2021-08-14 21:33:24 +02:00
Stone-Red-Code f05b5783ba Added documentation to the DesktopMagicPluginAPI 2021-08-14 21:19:03 +02:00
Stone-Red-Code 883cc3a2fb Add optional contractor to Element attribute 2021-07-24 13:50:20 +02:00
Stone-Red-Code 83a6339a46 Plugin development QoL improvements 2021-07-19 19:22:11 +02:00
Stone-Red-Code 985a68b33e Added logger and fixed some bugs 2021-07-18 19:18:12 +02:00
Stone-Red-Code 4ea42f21de Small UI and code improvements 2021-07-18 17:37:39 +02:00
Stone_Red f79e9db4fa Update README.md 2021-07-16 23:46:50 +02:00
Stone-Red-Code 23a31ae5d0 Improved plugin settings support 2021-07-14 22:43:01 +02:00
Stone-Red-Code aaced7a569 Create .gitignore 2021-06-30 07:39:38 +02:00
Stone_Red 263f69a4ee Update README.md 2021-06-05 19:26:02 +02:00
218 changed files with 2920 additions and 1045 deletions
+392
View File
@@ -0,0 +1,392 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
src/
bin/
obj/
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Nuget personal access tokens and Credentials
nuget.config
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# Local History for Visual Studio Code
.history/
# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp
# JetBrains Rider
.idea/
*.sln.iml
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2021 Stone-Red-Code Copyright (c) 2021 Stone_Red
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
+3 -3
View File
@@ -4,13 +4,13 @@
> You can add useful elements to your desktop like a clock, a audio visualizer or even your own plugins! > You can add useful elements to your desktop like a clock, a audio visualizer or even your own plugins!
- [Releases](https://github.com/Stone-Red-Code/DesktopMagic/releases) - [Releases](https://github.com/Stone-Red-Code/DesktopMagic/releases)
- [Plugin Documentation](https://github.com/Stone-Red-Code/DesktopMagic/wiki) (coming soon) - [Plugin Documentation](https://github.com/Stone-Red-Code/DesktopMagic/wiki)
- [Licence](https://github.com/Stone-Red-Code/DesktopMagic/blob/main/LICENSE) - [Licence](https://github.com/Stone-Red-Code/DesktopMagic/blob/main/LICENSE)
## Usage ## Usage
1. [Download](https://github.com/Stone-Red-Code/DesktopMagic/releases) one of the releases 1. Download one of the [releases](https://github.com/Stone-Red-Code/DesktopMagic/releases)
2. Execute the `DesktopMagic.exe` installer file 2. Execute the `DesktopMagic-Installer.exe` file
3. (Optional) Put a shortcut to the `DesktopMagic.exe` file in the install directory into the `shell:startup` directory 3. (Optional) Put a shortcut to the `DesktopMagic.exe` file in the install directory into the `shell:startup` directory
## Preview ## Preview
+4
View File
@@ -0,0 +1,4 @@
[*.{cs,vb}]
# IDE0003: Qualifizierung entfernen
dotnet_diagnostic.IDE0003.severity = silent
Binary file not shown.
Binary file not shown.
+3 -4
View File
@@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "DesktopMagic" #define MyAppName "DesktopMagic"
#define MyAppVersion "0" #define MyAppVersion "0.0.2.0"
#define MyAppPublisher "Stone_Red" #define MyAppPublisher "Stone_Red"
#define MyAppExeName "DesktopMagic.exe" #define MyAppExeName "DesktopMagic.exe"
@@ -21,7 +21,7 @@ UsedUserAreasWarning=no
; Remove the following line to run in administrative install mode (install for all users.) ; Remove the following line to run in administrative install mode (install for all users.)
PrivilegesRequired=lowest PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog PrivilegesRequiredOverridesAllowed=dialog
OutputBaseFilename=DesktopMagic OutputBaseFilename=DesktopMagic-Installer
OutputDir=. OutputDir=.
Compression=lzma Compression=lzma
SolidCompression=yes SolidCompression=yes
@@ -37,7 +37,7 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
[Files] [Files]
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\AlwaysUpToDate.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Stone_Red-C-Sharp-Utilities.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.deps.json"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.deps.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion
@@ -64,7 +64,6 @@ Source: "..\DesktopMagic\bin\Release\net5.0-windows\NAudio.WinMM.dll"; DestDir:
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Drawing.Common.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Drawing.Common.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Management.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Management.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Text.Json.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Aero.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Aero.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Metro.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Metro.dll"; DestDir: "{app}"; Flags: ignoreversion
@@ -37,7 +37,7 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
[Files] [Files]
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\AlwaysUpToDate.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Stone_Red-C-Sharp-Utilities.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.deps.json"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.deps.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion
@@ -64,7 +64,6 @@ Source: "..\DesktopMagic\bin\Release\net5.0-windows\NAudio.WinMM.dll"; DestDir:
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Drawing.Common.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Drawing.Common.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Management.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Management.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Text.Json.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Aero.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Aero.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Metro.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Metro.dll"; DestDir: "{app}"; Flags: ignoreversion
@@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "DesktopMagic" #define MyAppName "DesktopMagic"
#define MyAppVersion "0" #define MyAppVersion "0.0.2.0"
#define MyAppPublisher "Stone_Red" #define MyAppPublisher "Stone_Red"
#define MyAppExeName "DesktopMagic.exe" #define MyAppExeName "DesktopMagic.exe"
@@ -21,7 +21,7 @@ UsedUserAreasWarning=no
; Remove the following line to run in administrative install mode (install for all users.) ; Remove the following line to run in administrative install mode (install for all users.)
PrivilegesRequired=lowest PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog PrivilegesRequiredOverridesAllowed=dialog
OutputBaseFilename=DesktopMagic OutputBaseFilename=DesktopMagic-Installer
OutputDir=. OutputDir=.
Compression=lzma Compression=lzma
SolidCompression=yes SolidCompression=yes
@@ -37,7 +37,7 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
[Files] [Files]
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\AlwaysUpToDate.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Stone_Red-C-Sharp-Utilities.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.deps.json"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.deps.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\DesktopMagic.exe"; DestDir: "{app}"; Flags: ignoreversion
@@ -64,7 +64,6 @@ Source: "..\DesktopMagic\bin\Release\net5.0-windows\NAudio.WinMM.dll"; DestDir:
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Drawing.Common.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Drawing.Common.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Management.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Management.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\System.Text.Json.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Aero.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Aero.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Metro.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\DesktopMagic\bin\Release\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Metro.dll"; DestDir: "{app}"; Flags: ignoreversion
@@ -1,4 +0,0 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
@@ -1,23 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DesktopMagic.Installer")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DesktopMagic.Installer")]
[assembly: System.Reflection.AssemblyTitleAttribute("DesktopMagic.Installer")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.
@@ -1 +0,0 @@
97028a0ce59685f32b0944a3e78d97cf8cd1f567
@@ -1,8 +0,0 @@
is_global = true
build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
@@ -1 +0,0 @@
0c66707734c17cf9e17a25d0d17e707ead577fd9
@@ -1,26 +0,0 @@
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Debug\net5.0\DesktopMagic.Installer.deps.json
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Debug\net5.0\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Debug\net5.0\ref\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Debug\net5.0\DesktopMagic.Installer.pdb
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.csprojAssemblyReference.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.AssemblyInfoInputs.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.AssemblyInfo.cs
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.csproj.CoreCompileInputs.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Debug\net5.0\ref\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.pdb
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Debug\net5.0\Installer.iss
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Debug\net5.0\Installer.iss
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Debug\net5.0\DesktopMagic.Installer.deps.json
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Debug\net5.0\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Debug\net5.0\ref\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Debug\net5.0\DesktopMagic.Installer.pdb
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.csprojAssemblyReference.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.AssemblyInfoInputs.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.AssemblyInfo.cs
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.csproj.CoreCompileInputs.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Debug\net5.0\ref\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Debug\net5.0\DesktopMagic.Installer.pdb
@@ -1,33 +1,32 @@
{ {
"format": 1, "format": 1,
"restore": { "restore": {
"C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj": {} "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj": {}
}, },
"projects": { "projects": {
"C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj": { "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj", "projectUniqueName": "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj",
"projectName": "DesktopMagic.Installer", "projectName": "DesktopMagic.Installer",
"projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj", "projectPath": "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj",
"packagesPath": "C:\\Users\\David\\.nuget\\packages\\", "packagesPath": "C:\\Users\\David\\.nuget\\packages\\",
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\obj\\", "outputPath": "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
], ],
"configFilePaths": [ "configFilePaths": [
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
], ],
"originalTargetFrameworks": [ "originalTargetFrameworks": [
"net5.0" "net5.0"
], ],
"sources": { "sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
"https://api.nuget.org/v3/index.json": {} "https://api.nuget.org/v3/index.json": {}
}, },
"frameworks": { "frameworks": {
@@ -60,7 +59,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.400\\RuntimeIdentifierGraph.json"
} }
} }
} }
@@ -5,14 +5,13 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.9.1</NuGetToolVersion> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.11.0</NuGetToolVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\David\.nuget\packages\" /> <SourceRoot Include="C:\Users\David\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" /> <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
@@ -1,4 +0,0 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
@@ -6,3 +6,5 @@ build_property.ProjectTypeGuids =
build_property.PublishSingleFile = build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract = build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
build_property.RootNamespace = DesktopMagic.Installer
build_property.ProjectDir = C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\
@@ -1,26 +1,12 @@
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.GeneratedMSBuildEditorConfig.editorconfig C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\Installer.iss
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.AssemblyInfoInputs.cache C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.deps.json
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.AssemblyInfo.cs C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.csproj.CoreCompileInputs.cache C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\ref\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.deps.json C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.pdb
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.dll C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Release\net5.0\ref\DesktopMagic.Installer.dll C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.AssemblyInfoInputs.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.pdb C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.AssemblyInfo.cs
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.dll C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.csproj.CoreCompileInputs.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Release\net5.0\ref\DesktopMagic.Installer.dll C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.pdb C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\ref\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.csprojAssemblyReference.cache C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.pdb
C:\Users\David\Google Drive\Programmieren\DesktopMagic\DesktopMagic.Installer\bin\Release\net5.0\Installer.iss
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\Installer.iss
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.deps.json
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\ref\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\bin\Release\net5.0\DesktopMagic.Installer.pdb
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.csprojAssemblyReference.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.AssemblyInfoInputs.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.AssemblyInfo.cs
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.csproj.CoreCompileInputs.cache
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\ref\DesktopMagic.Installer.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic.Installer\obj\Release\net5.0\DesktopMagic.Installer.pdb
@@ -9,33 +9,31 @@
}, },
"packageFolders": { "packageFolders": {
"C:\\Users\\David\\.nuget\\packages\\": {}, "C:\\Users\\David\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}, "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {}
}, },
"project": { "project": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj", "projectUniqueName": "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj",
"projectName": "DesktopMagic.Installer", "projectName": "DesktopMagic.Installer",
"projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj", "projectPath": "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj",
"packagesPath": "C:\\Users\\David\\.nuget\\packages\\", "packagesPath": "C:\\Users\\David\\.nuget\\packages\\",
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\obj\\", "outputPath": "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
], ],
"configFilePaths": [ "configFilePaths": [
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
], ],
"originalTargetFrameworks": [ "originalTargetFrameworks": [
"net5.0" "net5.0"
], ],
"sources": { "sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
"https://api.nuget.org/v3/index.json": {} "https://api.nuget.org/v3/index.json": {}
}, },
"frameworks": { "frameworks": {
@@ -68,7 +66,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.400\\RuntimeIdentifierGraph.json"
} }
} }
} }
@@ -1,8 +1,8 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "RMVg3g84xDKsW5P4i9dL+GsjVxpOKCGzERVoRzlk0KwX52UgF4vkE2yB9UlTxEXoQ6mBninswcRqGL2qm6GZ7g==", "dgSpecHash": "S2SSTiH9oDfmVBwTIyHj2/TbaJJ3f/T7hIDEaZd4bVbTBDEHTye5g0XRPRjrJt4DCgBJQJi4G11CGKAOt1g8ag==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj", "projectFilePath": "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagic.Installer\\DesktopMagic.Installer.csproj",
"expectedPackageFiles": [], "expectedPackageFiles": [],
"logs": [] "logs": []
} }
+6 -1
View File
@@ -12,7 +12,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DesktopMagicPluginAPI", "De
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DesktopMagicPlugin.Test", "DesktopMagicPlugin.Test\DesktopMagicPlugin.Test.csproj", "{EF8407AB-28AE-4B5E-AC2E-D4C4A575FBC7}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DesktopMagicPlugin.Test", "DesktopMagicPlugin.Test\DesktopMagicPlugin.Test.csproj", "{EF8407AB-28AE-4B5E-AC2E-D4C4A575FBC7}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DesktopMagic.Installer", "DesktopMagic.Installer\DesktopMagic.Installer.csproj", "{A06BD685-7F92-4799-846B-3EC38345108E}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DesktopMagic.Installer", "DesktopMagic.Installer\DesktopMagic.Installer.csproj", "{A06BD685-7F92-4799-846B-3EC38345108E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{10A138D6-41F0-4DBB-BC39-D93467B4D982}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
+3 -2
View File
@@ -12,8 +12,6 @@ namespace DesktopMagic
{ {
internal class CalendarManagment internal class CalendarManagment
{ {
// If Pluginifying these scopes, delete your previously saved credentials
// at ~/.credentials/calendar-dotnet-quickstart.json
private static string[] Scopes = { CalendarService.Scope.CalendarReadonly }; private static string[] Scopes = { CalendarService.Scope.CalendarReadonly };
private static string ApplicationName = "Google Calendar API .NET " + MainWindow.AppName; private static string ApplicationName = "Google Calendar API .NET " + MainWindow.AppName;
@@ -24,6 +22,9 @@ namespace DesktopMagic
List<string> upcomingEventTimes = new List<string>(); List<string> upcomingEventTimes = new List<string>();
UserCredential credential; UserCredential credential;
Console.WriteLine("1"); Console.WriteLine("1");
if (!File.Exists("credentials.json"))
return (new(), new());
using (var stream = using (var stream =
new FileStream("credentials.json", FileMode.Open, FileAccess.Read)) new FileStream("credentials.json", FileMode.Open, FileAccess.Read))
{ {
+1 -1
View File
@@ -15,12 +15,12 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AlwaysUpToDate" Version="1.0.0.2" />
<PackageReference Include="Extended.Wpf.Toolkit" Version="4.1.0" /> <PackageReference Include="Extended.Wpf.Toolkit" Version="4.1.0" />
<PackageReference Include="Google.Apis.Calendar.v3" Version="1.51.0.2312" /> <PackageReference Include="Google.Apis.Calendar.v3" Version="1.51.0.2312" />
<PackageReference Include="Hardcodet.NotifyIcon.Wpf" Version="1.1.0" /> <PackageReference Include="Hardcodet.NotifyIcon.Wpf" Version="1.1.0" />
<PackageReference Include="MaterialDesignThemes" Version="4.0.0" /> <PackageReference Include="MaterialDesignThemes" Version="4.0.0" />
<PackageReference Include="NAudio" Version="2.0.0" /> <PackageReference Include="NAudio" Version="2.0.0" />
<PackageReference Include="Stone_Red-C-Sharp-Utilities" Version="1.0.2.1" />
<PackageReference Include="System.Management" Version="5.0.0" /> <PackageReference Include="System.Management" Version="5.0.0" />
</ItemGroup> </ItemGroup>
+1 -1
View File
@@ -22,7 +22,7 @@
<Page Update="MainWindow.xaml"> <Page Update="MainWindow.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>
<Page Update="PluginWindow.xaml"> <Page Update="Plugin\PluginWindow.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>
<Page Update="MusicVisualizerWindow.xaml"> <Page Update="MusicVisualizerWindow.xaml">
+8
View File
@@ -0,0 +1,8 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Performance", "CA1822:Member als statisch markieren", Justification = "<Ausstehend>", Scope = "member", Target = "~M:DesktopMagic.PluginWindow.LoadOptions(System.Object)")]
+8 -4
View File
@@ -8,9 +8,13 @@
Title="InputDialog" Height="152.812" Width="322.812" Title="InputDialog" Height="152.812" Width="322.812"
ResizeMode="NoResize"> ResizeMode="NoResize">
<Grid> <Grid>
<Button x:Name="okButton" Content="Ok" HorizontalAlignment="Left" Margin="126,76,0,0" VerticalAlignment="Top" Width="76" Click="okButton_Click"/> <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Margin="10">
<Button x:Name="cancelButton" Content="Abbrechen" HorizontalAlignment="Left" Margin="213,76,0,0" VerticalAlignment="Top" Width="76" Click="cancelButton_Click"/> <Label x:Name="label" Content="Label" HorizontalAlignment="Left" VerticalAlignment="Top"/>
<Label x:Name="label" Content="Label" HorizontalAlignment="Left" Margin="10,15,0,0" VerticalAlignment="Top" Padding="0"/> <TextBox x:Name="textBox" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="279" VerticalContentAlignment="Center"/>
<TextBox x:Name="textBox" HorizontalAlignment="Left" Height="23" Margin="10,36,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="279" VerticalContentAlignment="Center"/> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,0,0">
<Button x:Name="okButton" Content="{DynamicResource ok }" HorizontalAlignment="Left" Margin="0,0,10,0" VerticalAlignment="Top" Width="100" Click="OkButton_Click" Cursor="Hand"/>
<Button x:Name="cancelButton" Content="{DynamicResource cancel }" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="100" Click="CancelButton_Click"/>
</StackPanel>
</StackPanel>
</Grid> </Grid>
</Window> </Window>
+22 -3
View File
@@ -1,4 +1,6 @@
using System.Windows; using System;
using System.Threading;
using System.Windows;
namespace DesktopMagic namespace DesktopMagic
{ {
@@ -12,6 +14,7 @@ namespace DesktopMagic
InitializeComponent(); InitializeComponent();
label.Content = content; label.Content = content;
this.Title = title; this.Title = title;
SetLanguageDictionary();
} }
public string ResponseText public string ResponseText
@@ -20,14 +23,30 @@ namespace DesktopMagic
set { textBox.Text = value; } set { textBox.Text = value; }
} }
private void okButton_Click(object sender, RoutedEventArgs e) private void OkButton_Click(object sender, RoutedEventArgs e)
{ {
DialogResult = true; DialogResult = true;
} }
private void cancelButton_Click(object sender, RoutedEventArgs e) private void CancelButton_Click(object sender, RoutedEventArgs e)
{ {
DialogResult = false; DialogResult = false;
} }
private void SetLanguageDictionary()
{
ResourceDictionary dict = new ResourceDictionary();
string currentCulture = Thread.CurrentThread.CurrentCulture.ToString();
if (currentCulture.Contains("de"))
{
dict.Source = new Uri("..\\Resources\\StringResources.de.xaml", UriKind.Relative);
}
else
{
dict.Source = new Uri("..\\Resources\\StringResources.en.xaml", UriKind.Relative);
}
this.Resources.MergedDictionaries.Add(dict);
}
} }
} }
+5 -5
View File
@@ -12,11 +12,11 @@
Width="550" Width="550"
MinHeight="520" MinHeight="520"
MinWidth="500" MinWidth="500"
WindowState="Minimized"
StateChanged="Window_StateChanged" StateChanged="Window_StateChanged"
Loaded="Window_Loaded"> Loaded="Window_Loaded">
<Grid x:Name="grid"> <Grid x:Name="grid">
<!--<tb:TaskbarIcon x:Name="taskbarIcon" Visibility="Visible" ToolTipText="Helfer V4" TrayLeftMouseUp="TaskbarIcon_TrayLeftMouseUp" IconSource="icons8_volunteering_26_85L_icon.ico" Grid.RowSpan="2" />-->
<TextBlock x:Name="textBlock" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" FontFamily="Comic Sans MS" Loaded="TextBlock_Loaded" Foreground="Transparent" /> <TextBlock x:Name="textBlock" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" FontFamily="Comic Sans MS" Loaded="TextBlock_Loaded" Foreground="Transparent" />
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
@@ -30,7 +30,7 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<DockPanel Margin="0,0,2.5,0"> <DockPanel Margin="0,0,2.5,0">
<Grid DockPanel.Dock="Top"> <Grid DockPanel.Dock="Top">
<Rectangle Grid.Row="1" Fill="#FFECECEC" Height="22" /> <Rectangle Grid.Row="1" Fill="#FFECECEC" Height="24" />
<CheckBox x:Name="EditCheckBox" VerticalAlignment="Center" Grid.Row="1" Content="{DynamicResource edit}" Click="EditCheckBox_Click" Foreground="Black" BorderBrush="#FF323232" Style="{StaticResource MaterialDesignDarkCheckBox}" IsChecked="True"/> <CheckBox x:Name="EditCheckBox" VerticalAlignment="Center" Grid.Row="1" Content="{DynamicResource edit}" Click="EditCheckBox_Click" Foreground="Black" BorderBrush="#FF323232" Style="{StaticResource MaterialDesignDarkCheckBox}" IsChecked="True"/>
</Grid> </Grid>
<ScrollViewer Background="#FFBBBBBB" PreviewMouseWheel="ScrollViewer_PreviewMouseWheel"> <ScrollViewer Background="#FFBBBBBB" PreviewMouseWheel="ScrollViewer_PreviewMouseWheel">
@@ -45,10 +45,10 @@
</DockPanel> </DockPanel>
<DockPanel Grid.Column="1" Margin="2.5,0,0,0"> <DockPanel Grid.Column="1" Margin="2.5,0,0,0">
<ComboBox x:Name="optionsComboBox" DockPanel.Dock="Top" Height="22" SelectedIndex="0" DisplayMemberPath="Item1" SelectionChanged="OptionsComboBox_SelectionChanged" Background="#FFECECEC" /> <ComboBox x:Name="optionsComboBox" DockPanel.Dock="Top" Height="24" SelectedIndex="0" DisplayMemberPath="Item1" SelectionChanged="OptionsComboBox_SelectionChanged" Background="#FFECECEC" />
<ScrollViewer Background="#FFBBBBBB"> <ScrollViewer Background="#FFBBBBBB">
<Grid> <Grid>
<StackPanel x:Name="optionsPanel" Margin="3,3,3,0" Visibility="Collapsed"> <StackPanel x:Name="optionsPanel" Margin="3,3,3,0" HorizontalAlignment="Stretch" Visibility="Collapsed" >
</StackPanel> </StackPanel>
<StackPanel x:Name="musicVisualizerOptionsPanel" Margin="3,3,3,0"> <StackPanel x:Name="musicVisualizerOptionsPanel" Margin="3,3,3,0">
<Label Content="{DynamicResource color}" HorizontalAlignment="Left" VerticalAlignment="Top" Padding="0,1" /> <Label Content="{DynamicResource color}" HorizontalAlignment="Left" VerticalAlignment="Top" Padding="0,1" />
@@ -61,7 +61,7 @@
<CheckBox x:Name="mirrorPlugineCheckBox" Content="{DynamicResource mirrorPlugine}" Click="MirrorPlugineCheckBox_Click" Style="{StaticResource MaterialDesignDarkCheckBox}" /> <CheckBox x:Name="mirrorPlugineCheckBox" Content="{DynamicResource mirrorPlugine}" Click="MirrorPlugineCheckBox_Click" Style="{StaticResource MaterialDesignDarkCheckBox}" />
<CheckBox x:Name="linePlugineCheckBox" Content="{DynamicResource linePlugine}" Click="LinePlugineCheckBox_Click" Style="{StaticResource MaterialDesignDarkCheckBox}" /> <CheckBox x:Name="linePlugineCheckBox" Content="{DynamicResource linePlugine}" Click="LinePlugineCheckBox_Click" Style="{StaticResource MaterialDesignDarkCheckBox}" />
<Label Content="{DynamicResource amplifier}" HorizontalAlignment="Left" VerticalAlignment="Top" Padding="0,1" /> <Label Content="{DynamicResource amplifier}" HorizontalAlignment="Left" VerticalAlignment="Top" Padding="0,1" />
<Slider x:Name="amplifierLevelSlider" Margin="-2,0,10,0" HorizontalAlignment="Stretch" VerticalAlignment="Top" ValueChanged="AmplifierLevelSlider_ValueChanged" Maximum="99" SmallChange="1" LargeChange="5" Foreground="Gray" /> <Slider x:Name="amplifierLevelSlider" Margin="-2,0,10,0" HorizontalAlignment="Stretch" VerticalAlignment="Top" ValueChanged="AmplifierLevelSlider_ValueChanged" Maximum="50" Minimum="-50" SmallChange="1" LargeChange="5" Foreground="Gray" />
<Label x:Name="amplifierLevelLabel" Content="Label" HorizontalAlignment="Left" VerticalAlignment="Top" Padding="0,1" /> <Label x:Name="amplifierLevelLabel" Content="Label" HorizontalAlignment="Left" VerticalAlignment="Top" Padding="0,1" />
</StackPanel> </StackPanel>
</Grid> </Grid>
+236 -186
View File
@@ -8,6 +8,8 @@ using System.Threading.Tasks;
using System.Windows; using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
using System.Windows.Media; using System.Windows.Media;
using System.Text.Json;
using Stone_Red_Utilities.Logging;
namespace DesktopMagic namespace DesktopMagic
{ {
@@ -38,15 +40,13 @@ namespace DesktopMagic
#region Plugins settings #region Plugins settings
public static List<Tuple<string, string[,]>> OptionsList { get; set; } = new List<Tuple<string, string[,]>>(); internal static Dictionary<string, List<SettingElement>> PluginsSettings { get; set; } = new Dictionary<string, List<SettingElement>>();
#endregion Plugins settings #endregion Plugins settings
#region App Name public const string AppName = "Desktop Magic";
public static string AppName { get; } = "Desktop Magic"; public static Logger Logger { get; private set; }
#endregion App Name
public static List<Window> Windows { get; protected set; } = new List<Window>(); public static List<Window> Windows { get; protected set; } = new List<Window>();
public static List<string> WindowNames { get; protected set; } = new List<string>(); public static List<string> WindowNames { get; protected set; } = new List<string>();
@@ -62,6 +62,7 @@ namespace DesktopMagic
public MainWindow() public MainWindow()
{ {
logFilePath = applicationDataPath + "\\Log.txt"; logFilePath = applicationDataPath + "\\Log.txt";
Logger = new Logger(LogTarget.File, logFilePath, "{<dateTime>:HH:mm:ss} | {<level>,-7} | {<source>,-15} | {<lineNumber>,-4} | {<memberName>,10} | {<message>}");
key = Registry.CurrentUser.CreateSubKey(@"Software\" + AppName); key = Registry.CurrentUser.CreateSubKey(@"Software\" + AppName);
Stream iconStream = Application.GetResourceStream(new Uri("pack://application:,,,/DesktopMagic;component/icon.ico")).Stream; Stream iconStream = Application.GetResourceStream(new Uri("pack://application:,,,/DesktopMagic;component/icon.ico")).Stream;
@@ -80,60 +81,50 @@ namespace DesktopMagic
private void Window_Loaded(object sender, RoutedEventArgs e) private void Window_Loaded(object sender, RoutedEventArgs e)
{ {
Logger.ClearLogFile();
Logger.Log("Create ApplicationData Folder", "Main");
if (!Directory.Exists(applicationDataPath)) if (!Directory.Exists(applicationDataPath))
{ {
Directory.CreateDirectory(applicationDataPath); _ = Directory.CreateDirectory(applicationDataPath);
} }
File.Create(logFilePath).Close(); Logger.Log("Create Plugins Folder", "Main");
File.WriteAllText(logFilePath, "");
File.AppendAllText(logFilePath, "\nCreate ApplicationData Folder");
File.AppendAllText(logFilePath, "\nCreate Plugins Folder");
if (!Directory.Exists(applicationDataPath + "\\Plugins")) if (!Directory.Exists(applicationDataPath + "\\Plugins"))
{ {
Directory.CreateDirectory(applicationDataPath + "\\Plugins"); _ = Directory.CreateDirectory(applicationDataPath + "\\Plugins");
} }
File.AppendAllText(logFilePath, "\nCreate layouts.save");
Logger.Log("Create layouts.save file", "Main");
if (!File.Exists(applicationDataPath + "\\layouts.save")) if (!File.Exists(applicationDataPath + "\\layouts.save"))
{ {
File.WriteAllText(applicationDataPath + "\\layouts.save", ";" + (string)FindResource("default")); File.WriteAllText(applicationDataPath + "\\layouts.save", ";" + (string)FindResource("default"));
} }
optionsComboBox.Items.Add(new Tuple<string, int>((string)FindResource("musicVisualizer"), 0)); _ = optionsComboBox.Items.Add(new Tuple<string, int>((string)FindResource("musicVisualizer"), 0));
//Write To Log File and Load Elements //Write To Log File and Load Elements
File.AppendAllText(logFilePath, "\nLoading Plugin names");
Logger.Log("Loading Plugin names", "Main");
LoadPlugins(); LoadPlugins();
File.AppendAllText(logFilePath, "\nLoading Layout names"); Logger.Log("Loading Layout names", "Main");
LoadLayoutNames(); LoadLayoutNames();
File.AppendAllText(logFilePath, "\nLoading Layout"); Logger.Log("Loading Layout", "Main");
LoadLayout(); LoadLayout();
File.AppendAllText(logFilePath, "\nWindow Loaded");
loaded = true; loaded = true;
Logger.Log("Window Loaded", "Main");
} }
private void LoadPlugins() private void LoadPlugins()
{ {
string PluginsPath = applicationDataPath + "\\Plugins"; string PluginsPath = applicationDataPath + "\\Plugins";
foreach (string fileName in Directory.GetFiles(PluginsPath, "*.cs"))
{
string PluginName = fileName[(fileName.LastIndexOf("\\") + 1)..].Replace(fileName[fileName.LastIndexOf(".")..], "");
try
{
Directory.CreateDirectory(PluginsPath + "\\" + PluginName);
File.Move(fileName, $"{PluginsPath}\\{PluginName}\\{PluginName}.cs");
}
catch (Exception ex) { Console.WriteLine(ex); }
}
foreach (string fileName in Directory.GetFiles(PluginsPath, "*.dll")) foreach (string fileName in Directory.GetFiles(PluginsPath, "*.dll"))
{ {
string PluginName = fileName[(fileName.LastIndexOf("\\") + 1)..].Replace(fileName[fileName.LastIndexOf(".")..], ""); string PluginName = fileName[(fileName.LastIndexOf("\\", StringComparison.InvariantCulture) + 1)..].Replace(fileName[fileName.LastIndexOf(".", StringComparison.InvariantCulture)..], "");
try try
{ {
Directory.CreateDirectory(PluginsPath + "\\" + PluginName); _ = Directory.CreateDirectory(PluginsPath + "\\" + PluginName);
File.Move(fileName, $"{PluginsPath}\\{PluginName}\\{PluginName}.dll"); File.Move(fileName, $"{PluginsPath}\\{PluginName}\\{PluginName}.dll");
} }
catch { } catch { }
@@ -141,13 +132,13 @@ namespace DesktopMagic
foreach (string directory in Directory.GetDirectories(PluginsPath)) foreach (string directory in Directory.GetDirectories(PluginsPath))
{ {
foreach (string fileName in Directory.GetFiles(directory).Where(s => s.EndsWith(".dll") || s.EndsWith(".cs"))) foreach (string fileName in Directory.GetFiles(directory).Where(s => s.EndsWith(".dll", StringComparison.InvariantCulture) || s.EndsWith(".cs", StringComparison.InvariantCulture)))
{ {
string badChars = ",#-<>?!=()*,. "; string badChars = ",#-<>?!=()*,. ";
string PluginName = fileName[(fileName.LastIndexOf("\\") + 1)..].Replace(fileName[fileName.LastIndexOf(".")..], ""); string PluginName = fileName[(fileName.LastIndexOf("\\", StringComparison.InvariantCulture) + 1)..].Replace(fileName[fileName.LastIndexOf(".", StringComparison.InvariantCulture)..], "");
string clearPluginName = PluginName; string clearPluginName = PluginName;
if (PluginName == directory[(directory.LastIndexOf("\\") + 1)..]) if (PluginName == directory[(directory.LastIndexOf("\\", StringComparison.InvariantCulture) + 1)..])
{ {
foreach (char c in badChars) foreach (char c in badChars)
{ {
@@ -174,8 +165,7 @@ namespace DesktopMagic
if (!exsists) if (!exsists)
{ {
stackPanel.Children.Add(checkBox); _ = stackPanel.Children.Add(checkBox);
OptionsList.Add(new Tuple<string, string[,]>(PluginName, new string[1, 5] { { (string)FindResource("noOptions"), "hed", "", "", "" } }));
} }
} }
} }
@@ -222,17 +212,36 @@ namespace DesktopMagic
if (!WindowNames.Contains(window.Title)) if (!WindowNames.Contains(window.Title))
{ {
Task.Run(() => _ = Task.Run(() =>
{ {
Dispatcher.Invoke(() => Dispatcher.Invoke(() =>
{ {
for (int i = 0; i < OptionsList.Count; i++) if (window is PluginWindow pluginWindow)
{ {
if (OptionsList[i].Item1 == checkBox.Content.ToString()) Action onPluginLoaded = null;
onPluginLoaded = () =>
{ {
if (!optionsComboBox.Items.Contains(new Tuple<string, int>(checkBox.Content.ToString(), i))) Dispatcher.Invoke(() =>
optionsComboBox.Items.Add(new Tuple<string, int>(checkBox.Content.ToString(), i)); {
if (!optionsComboBox.Items.Contains(new Tuple<string, int>(checkBox.Content.ToString(), 0)))
{
_ = optionsComboBox.Items.Add(new Tuple<string, int>(checkBox.Content.ToString(), 0));
} }
optionsComboBox.SelectedIndex = -1;
optionsComboBox.SelectedIndex = optionsComboBox.Items.IndexOf(new Tuple<string, int>(checkBox.Content.ToString(), 0));
pluginWindow.PluginLoaded -= onPluginLoaded;
});
};
pluginWindow.OnExit += () =>
{
checkBox.IsChecked = false;
CheckBox_Click(checkBox, null);
};
pluginWindow.PluginLoaded += onPluginLoaded;
}
else if (window is MusicVisualizerWindow musicVisualizerWindow)
{
optionsComboBox.SelectedIndex = optionsComboBox.Items.IndexOf(new Tuple<string, int>(checkBox.Content.ToString(), 0));
} }
window.ShowInTaskbar = false; window.ShowInTaskbar = false;
@@ -246,6 +255,7 @@ namespace DesktopMagic
else else
{ {
int index = WindowNames.IndexOf(window.Title); int index = WindowNames.IndexOf(window.Title);
Windows[index].Close(); Windows[index].Close();
Windows.RemoveAt(index); Windows.RemoveAt(index);
WindowNames.RemoveAt(index); WindowNames.RemoveAt(index);
@@ -264,14 +274,7 @@ namespace DesktopMagic
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{ {
MessageBoxResult msbRes = MessageBox.Show((string)FindResource("wantToCloseProgram"), AppName, MessageBoxButton.YesNo); MessageBoxResult msbRes = MessageBox.Show((string)FindResource("wantToCloseProgram"), AppName, MessageBoxButton.YesNo);
if (msbRes == MessageBoxResult.Yes) e.Cancel = msbRes != MessageBoxResult.Yes;
{
e.Cancel = false;
}
else
{
e.Cancel = true;
}
} }
private void Window_Closed(object sender, EventArgs e) private void Window_Closed(object sender, EventArgs e)
@@ -282,7 +285,6 @@ namespace DesktopMagic
{ {
window.Hide(); window.Hide();
} }
//taskbarIcon.Visibility = Visibility.Collapsed;
Environment.Exit(0); Environment.Exit(0);
} }
@@ -303,9 +305,9 @@ namespace DesktopMagic
private void AmplifierLevelSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e) private void AmplifierLevelSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
{ {
amplifierLevelLabel.Content = (int)amplifierLevelSlider.Value + 1; amplifierLevelLabel.Content = (int)amplifierLevelSlider.Value;
AmplifierLevel = (int)amplifierLevelSlider.Value; AmplifierLevel = (int)amplifierLevelSlider.Value;
key.SetValue("AmplifierLevel", (int)amplifierLevelSlider.Value); key.SetValue("AmplifierLevel", AmplifierLevel);
SaveLayout(); SaveLayout();
} }
@@ -325,7 +327,7 @@ namespace DesktopMagic
private void MusicVisualizerColorTextBox_TextChanged(object sender, TextChangedEventArgs e) private void MusicVisualizerColorTextBox_TextChanged(object sender, TextChangedEventArgs e)
{ {
if (!String.IsNullOrWhiteSpace(musicVisualizerColorTextBox.Text) && musicVisualizerColorTextBox.Text != "Default") if (!string.IsNullOrWhiteSpace(musicVisualizerColorTextBox.Text) && musicVisualizerColorTextBox.Text != "Default")
{ {
try try
{ {
@@ -409,152 +411,197 @@ namespace DesktopMagic
{ {
musicVisualizerOptionsPanel.Visibility = Visibility.Collapsed; musicVisualizerOptionsPanel.Visibility = Visibility.Collapsed;
optionsPanel.Visibility = Visibility.Visible; optionsPanel.Visibility = Visibility.Visible;
optionsPanel.Children.Clear();
optionsPanel.UpdateLayout(); optionsPanel.UpdateLayout();
string[,] options = OptionsList[((Tuple<string, int>)optionsComboBox.SelectedItem).Item2].Item2; bool succ = PluginsSettings.TryGetValue(((Tuple<string, int>)optionsComboBox.SelectedItem).Item1.ToString(), out List<SettingElement> settingElements);
if (!succ || settingElements?.Count == 0)
optionsPanel.Children.Clear();
//options array index:
// 0 1 2 3 4
//"Value", "Type", "Name", "min", "max"
for (int i = 0; i < options.GetLength(0); i++)
{ {
StackPanel stackPanel = new() _ = optionsPanel.Children.Add(new TextBlock() { Text = (string)FindResource("noOptions") });
return;
}
foreach (SettingElement settingElement in settingElements)
{ {
Orientation = Orientation.Horizontal DockPanel stackPanel = new()
{
LastChildFill = true,
HorizontalAlignment = HorizontalAlignment.Stretch
}; };
optionsPanel.Children.Add(stackPanel); _ = optionsPanel.Children.Add(stackPanel);
TextBlock label = new() TextBlock label = new()
{ {
Text = options[i, 2], Text = settingElement.Name,
Padding = new Thickness(0, 0, 3, 0) Padding = new Thickness(0, 0, 3, 0),
VerticalAlignment = VerticalAlignment.Center
}; };
stackPanel.Children.Add(label); _ = stackPanel.Children.Add(label);
stackPanel.UpdateLayout(); stackPanel.UpdateLayout();
label.UpdateLayout(); label.UpdateLayout();
if (options[i, 1] == "hed") if (settingElement.Element is DesktopMagicPluginAPI.Inputs.Label eLabel)
{ {
label.Text = options[i, 0]; label.Text = eLabel.Value;
label.Margin = new Thickness(0, 5, 3, 0); label.Margin = new Thickness(0, 5, 3, 0);
label.FontWeight = FontWeights.Bold; label.HorizontalAlignment = HorizontalAlignment.Stretch;
label.Width = optionsPanel.ActualWidth;
label.TextWrapping = TextWrapping.WrapWithOverflow; label.TextWrapping = TextWrapping.WrapWithOverflow;
}
else if (options[i, 1] == "bol")
{
CheckBox checkBox = new();
_ = bool.TryParse(options[i, 0], out bool isChecked);
checkBox.IsChecked = isChecked;
checkBox.Width = optionsPanel.ActualWidth - label.ActualWidth; if (eLabel.Bold)
checkBox.Click += Option_ValueChanged; {
checkBox.Name = "bol_" + i.ToString(); label.FontWeight = FontWeights.Bold;
stackPanel.Children.Add(checkBox);
} }
else if (options[i, 1] == "txt") eLabel.OnValueChanged += () =>
{
Dispatcher.Invoke(() =>
{
label.Text = eLabel.Value;
Option_ValueChanged();
});
};
}
else if (settingElement.Element is DesktopMagicPluginAPI.Inputs.Button eButton)
{
Button button = new()
{
Content = eButton.Value,
FontSize = 10,
Height = 20,
Margin = new Thickness(0, 10, 0, 10),
Padding = new Thickness(0),
VerticalAlignment = VerticalAlignment.Center,
HorizontalAlignment = HorizontalAlignment.Stretch
};
button.Click += (_s, _e) =>
{
eButton.Click();
};
eButton.OnValueChanged += () =>
{
Dispatcher.Invoke(() =>
{
button.Content = eButton.Value;
Option_ValueChanged();
});
};
_ = stackPanel.Children.Add(button);
}
else if (settingElement.Element is DesktopMagicPluginAPI.Inputs.CheckBox eCheckBox)
{
CheckBox checkBox = new()
{
IsChecked = eCheckBox.Value,
Style = (Style)FindResource("MaterialDesignDarkCheckBox"),
VerticalAlignment = VerticalAlignment.Center,
HorizontalAlignment = HorizontalAlignment.Stretch
};
checkBox.Click += (_s, _e) =>
{
eCheckBox.Value = checkBox.IsChecked.GetValueOrDefault();
};
eCheckBox.OnValueChanged += () =>
{
Dispatcher.Invoke(() =>
{
checkBox.IsChecked = eCheckBox.Value;
Option_ValueChanged();
});
};
_ = stackPanel.Children.Add(checkBox);
}
else if (settingElement.Element is DesktopMagicPluginAPI.Inputs.TextBox eTextBox)
{ {
TextBox textBox = new() TextBox textBox = new()
{ {
Text = options[i, 0], Text = eTextBox.Value,
TextWrapping = TextWrapping.Wrap, TextWrapping = TextWrapping.Wrap,
Width = optionsPanel.ActualWidth - label.ActualWidth VerticalAlignment = VerticalAlignment.Center,
HorizontalAlignment = HorizontalAlignment.Stretch
}; };
textBox.TextChanged += Option_ValueChanged; textBox.TextChanged += (_s, _e) =>
textBox.Name = "txt_" + i.ToString();
stackPanel.Children.Add(textBox);
}
else if (options[i, 1] == "num")
{ {
Xceed.Wpf.Toolkit.IntegerUpDown integerUpDown = new(); eTextBox.Value = textBox.Text;
};
_ = int.TryParse(options[i, 0], out int value); eTextBox.OnValueChanged += () =>
_ = int.TryParse(options[i, 3], out int min);
_ = int.TryParse(options[i, 4], out int max);
integerUpDown.Value = value;
integerUpDown.Minimum = min;
integerUpDown.Maximum = max;
integerUpDown.Width = optionsPanel.ActualWidth - label.ActualWidth;
integerUpDown.ValueChanged += Option_ValueChanged;
integerUpDown.Name = "num_" + i.ToString();
stackPanel.Children.Add(integerUpDown);
}
else if (options[i, 1] == "sld")
{ {
Slider slider = new(); Dispatcher.Invoke(() =>
{
textBox.Text = eTextBox.Value;
Option_ValueChanged();
});
};
_ = stackPanel.Children.Add(textBox);
}
else if (settingElement.Element is DesktopMagicPluginAPI.Inputs.IntegerUpDown eIntegerUpDown)
{
Xceed.Wpf.Toolkit.IntegerUpDown integerUpDown = new()
{
Value = eIntegerUpDown.Value,
Minimum = eIntegerUpDown.Minimum,
Maximum = eIntegerUpDown.Maximum,
VerticalAlignment = VerticalAlignment.Center,
HorizontalAlignment = HorizontalAlignment.Stretch
};
integerUpDown.ValueChanged += (_s, _e) =>
{
eIntegerUpDown.Value = integerUpDown.Value.GetValueOrDefault();
};
eIntegerUpDown.OnValueChanged += () =>
{
Dispatcher.Invoke(() =>
{
integerUpDown.Value = eIntegerUpDown.Value;
Option_ValueChanged();
});
};
_ = stackPanel.Children.Add(integerUpDown);
}
else if (settingElement.Element is DesktopMagicPluginAPI.Inputs.Slider eSlider)
{
Slider slider = new()
{
Value = eSlider.Value,
Minimum = eSlider.Minimum,
Maximum = eSlider.Maximum,
TickFrequency = 1,
IsSnapToTickEnabled = true,
VerticalAlignment = VerticalAlignment.Center,
HorizontalAlignment = HorizontalAlignment.Stretch
};
slider.ValueChanged += (_s, _e) =>
{
eSlider.Value = slider.Value;
};
eSlider.OnValueChanged += () =>
{
Dispatcher.Invoke(() =>
{
slider.Value = eSlider.Value;
Option_ValueChanged();
});
};
_ = int.TryParse(options[i, 0], out int value); _ = stackPanel.Children.Add(slider);
_ = int.TryParse(options[i, 3], out int min);
_ = int.TryParse(options[i, 4], out int max);
slider.Value = value;
slider.Minimum = min;
slider.Maximum = max;
slider.TickFrequency = 1;
slider.IsSnapToTickEnabled = true;
slider.Width = optionsPanel.ActualWidth - label.ActualWidth;
slider.ValueChanged += Option_ValueChanged;
slider.Name = "sld_" + i.ToString();
stackPanel.Children.Add(slider);
} }
} }
} }
} }
private void Option_ValueChanged(object sender, object e) private void Option_ValueChanged()
{ {
DependencyObject dpobj = (DependencyObject)sender; //Plugin settings save currenty disabled. Not sure if I want to add it back in the future.
string name = (string)dpobj.GetValue(FrameworkElement.NameProperty); /*
string value = ""; string pluginName = ((Tuple<string, int>)optionsComboBox.SelectedItem).Item1.ToString();
int index = int.Parse(name[(name.LastIndexOf("_") + 1)..]);
name = name.Replace(name[name.LastIndexOf("_")..], "");
if (name.Contains("txt")) if (PluginsSettings.ContainsKey(pluginName))
{ {
value = ((TextBox)sender).Text; string jsonSettings = JsonSerializer.Serialize(PluginsSettings[pluginName]);
File.WriteAllText($"{applicationDataPath}\\Plugins\\{pluginName}\\{pluginName}.save", jsonSettings);
} }
else if (name.Contains("num")) */
{
value = ((Xceed.Wpf.Toolkit.IntegerUpDown)sender).Text;
}
else if (name.Contains("sld"))
{
value = ((Slider)sender).Value.ToString();
}
else if (name.Contains("bol"))
{
value = ((CheckBox)sender).IsChecked.ToString();
}
OptionsList[((Tuple<string, int>)optionsComboBox.SelectedItem).Item2].Item2[index, 0] = value;
string PluginName = OptionsList[((Tuple<string, int>)optionsComboBox.SelectedItem).Item2].Item1;
string[,] options = OptionsList[((Tuple<string, int>)optionsComboBox.SelectedItem).Item2].Item2;
string optionsText = "";
try
{
int ind = WindowNames.FindIndex(x => x.StartsWith(PluginName));
((PluginWindow)Windows[ind]).OptionChanged(index);
}
catch { }
for (int i = 0; i < options.GetLength(0); i++)
{
for (int j = 0; j < options.GetLength(1); j++)
{
if (j != 0)
optionsText += "\t";
optionsText += options[i, j];
}
optionsText += "\n";
}
File.WriteAllText($"{applicationDataPath}\\Plugins\\{PluginName}\\{PluginName}.save", optionsText);
} }
#endregion options #endregion options
@@ -562,7 +609,7 @@ namespace DesktopMagic
private void TextBlock_Loaded(object sender, RoutedEventArgs e) private void TextBlock_Loaded(object sender, RoutedEventArgs e)
{ {
int index = 0; int index = 0;
char[] chars = { '1', '0' }; char[] chars = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };
foreach (FontFamily ff in Fonts.SystemFontFamilies) foreach (FontFamily ff in Fonts.SystemFontFamilies)
{ {
double charWidth = -1; double charWidth = -1;
@@ -586,14 +633,14 @@ namespace DesktopMagic
} }
charWidth = textBlock.ActualWidth; charWidth = textBlock.ActualWidth;
} }
if (monospace == true) if (monospace)
{ {
ComboBoxItem comboBoxItem = new() ComboBoxItem comboBoxItem = new()
{ {
FontFamily = ff, FontFamily = ff,
Content = ff.ToString() Content = ff.ToString()
}; };
fontComboBox.Items.Add(comboBoxItem); _ = fontComboBox.Items.Add(comboBoxItem);
if (ff.ToString() == GlobalFont) if (ff.ToString() == GlobalFont)
{ {
@@ -677,17 +724,12 @@ namespace DesktopMagic
private void LayoutsComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) private void LayoutsComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{ {
if (layoutsComboBox.SelectedIndex == 0) removeLayoutButton.IsEnabled = layoutsComboBox.SelectedIndex != 0;
{
removeLayoutButton.IsEnabled = false;
}
else
{
removeLayoutButton.IsEnabled = true;
}
if (layoutsComboBox.SelectedIndex == -1 || !loaded) if (layoutsComboBox.SelectedIndex == -1 || !loaded)
{
return; return;
}
key.SetValue("SelectedLayout", layoutsComboBox.SelectedIndex); key.SetValue("SelectedLayout", layoutsComboBox.SelectedIndex);
@@ -697,7 +739,7 @@ namespace DesktopMagic
{ {
if (dat.Contains(":")) if (dat.Contains(":"))
{ {
string value = dat[(dat.LastIndexOf(":") + 1)..]; string value = dat[(dat.LastIndexOf(":", StringComparison.InvariantCulture) + 1)..];
string name = dat.Replace(":" + value, ""); string name = dat.Replace(":" + value, "");
key.SetValue(name, value); key.SetValue(name, value);
} }
@@ -722,19 +764,25 @@ namespace DesktopMagic
foreach (string valueName in key.GetValueNames()) foreach (string valueName in key.GetValueNames())
{ {
if (valueName != "SelectedLayout") if (valueName != "SelectedLayout")
{
content += valueName + ":" + key.GetValue(valueName).ToString() + ";"; content += valueName + ":" + key.GetValue(valueName).ToString() + ";";
} }
}
content += inputDialog.ResponseText + "\n"; content += inputDialog.ResponseText + "\n";
File.AppendAllText(applicationDataPath + "\\layouts.save", content); File.AppendAllText(applicationDataPath + "\\layouts.save", content);
key.SetValue("SelectedLayout", -1);
LoadLayoutNames(); LoadLayoutNames();
layoutsComboBox.SelectedIndex = layoutsComboBox.Items.Count - 1;
} }
} }
private void RemoveLayoutButton_Click(object sender, RoutedEventArgs e) private void RemoveLayoutButton_Click(object sender, RoutedEventArgs e)
{ {
if (layoutsComboBox.SelectedIndex == -1) if (layoutsComboBox.SelectedIndex == -1)
{
return; return;
}
List<string> lines = File.ReadAllLines(applicationDataPath + "\\layouts.save").ToList(); List<string> lines = File.ReadAllLines(applicationDataPath + "\\layouts.save").ToList();
lines.RemoveAt(layoutsComboBox.SelectedIndex); lines.RemoveAt(layoutsComboBox.SelectedIndex);
@@ -745,7 +793,7 @@ namespace DesktopMagic
private void SaveLayout() private void SaveLayout()
{ {
Task.Run(() => _ = Task.Run(() =>
{ {
lock (applicationDataPath) lock (applicationDataPath)
{ {
@@ -754,8 +802,10 @@ namespace DesktopMagic
foreach (string valueName in key.GetValueNames()) foreach (string valueName in key.GetValueNames())
{ {
if (valueName != "SelectedLayout") if (valueName != "SelectedLayout")
{
content += valueName + ":" + key.GetValue(valueName).ToString() + ";"; content += valueName + ":" + key.GetValue(valueName).ToString() + ";";
} }
}
Dispatcher.Invoke(() => Dispatcher.Invoke(() =>
{ {
content += layoutsComboBox.SelectedItem.ToString(); content += layoutsComboBox.SelectedItem.ToString();
@@ -773,8 +823,8 @@ namespace DesktopMagic
foreach (string line in lines) foreach (string line in lines)
{ {
string name = line[(line.LastIndexOf(";") + 1)..]; string name = line[(line.LastIndexOf(";", StringComparison.InvariantCulture) + 1)..];
layoutsComboBox.Items.Add(name); _ = layoutsComboBox.Items.Add(name);
} }
layoutsComboBox.SelectedIndex = int.Parse(key.GetValue("SelectedLayout", "0").ToString()); layoutsComboBox.SelectedIndex = int.Parse(key.GetValue("SelectedLayout", "0").ToString());
} }
@@ -807,7 +857,7 @@ namespace DesktopMagic
Windows.Clear(); Windows.Clear();
WindowNames.Clear(); WindowNames.Clear();
var list = stackPanel.Children.OfType<CheckBox>(); IEnumerable<CheckBox> list = stackPanel.Children.OfType<CheckBox>();
bool showWindow = true; bool showWindow = true;
try try
@@ -829,15 +879,15 @@ namespace DesktopMagic
} }
catch (Exception ex) catch (Exception ex)
{ {
File.AppendAllText(logFilePath, "\n" + ex); Logger.Log(ex.ToString(), "Main");
MessageBox.Show(ex.ToString()); MessageBox.Show(ex.ToString());
} }
} }
} }
catch (Exception ex) catch (Exception ex)
{ {
File.AppendAllText(logFilePath, "\n" + ex); Logger.Log(ex.ToString(), "Main");
MessageBox.Show(ex.ToString()); _ = MessageBox.Show(ex.ToString());
} }
if (!showWindow && minimize) if (!showWindow && minimize)
@@ -868,7 +918,7 @@ namespace DesktopMagic
private void OpenPluginsFolderButton_Click(object sender, RoutedEventArgs e) private void OpenPluginsFolderButton_Click(object sender, RoutedEventArgs e)
{ {
System.Diagnostics.Process.Start("explorer.exe", applicationDataPath + "\\Plugins"); _ = System.Diagnostics.Process.Start("explorer.exe", applicationDataPath + "\\Plugins");
} }
private void ScrollViewer_PreviewMouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e) private void ScrollViewer_PreviewMouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e)
@@ -893,8 +943,8 @@ namespace DesktopMagic
private void SetLanguageDictionary() private void SetLanguageDictionary()
{ {
ResourceDictionary dict = new(); ResourceDictionary dict = new ResourceDictionary();
string currentCulture = (Thread.CurrentThread.CurrentCulture.ToString()); string currentCulture = Thread.CurrentThread.CurrentCulture.ToString();
if (currentCulture.Contains("de")) if (currentCulture.Contains("de"))
{ {
+11 -6
View File
@@ -5,6 +5,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Drawing; using System.Drawing;
using System.Drawing.Drawing2D; using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Linq; using System.Linq;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Timers; using System.Timers;
@@ -132,9 +133,13 @@ namespace DesktopMagic
{ {
int v = i; int v = i;
if (v < 20) if (v < 20)
{
v = 20; v = 20;
}
fft.Add(Math.Abs(e.Result[i].Y * v / (100 - MainWindow.AmplifierLevel))); int multiplier = 100 - MainWindow.AmplifierLevel * 2;
multiplier = multiplier == 0 ? 1 : multiplier;
fft.Add(Math.Abs(e.Result[i].Y * v / multiplier));
} }
if (lastFft.Count != 0) if (lastFft.Count != 0)
@@ -246,8 +251,8 @@ namespace DesktopMagic
if (!fftIndexReverse) if (!fftIndexReverse)
{ {
points[pointIndex + 1] = new PointF(bm.Width - 15 - 4 * pointIndex, bm.Height / 2 + value); points[pointIndex + 1] = new PointF(bm.Width - 4 * pointIndex, bm.Height / 2 + value);
points[points.Length / 2 + pointIndex + 1] = new PointF(bm.Width - 15 - 4 * pointIndex, bm.Height / 2 - value); points[points.Length / 2 + pointIndex + 1] = new PointF(bm.Width - 4 * pointIndex, bm.Height / 2 - value);
} }
break; break;
@@ -337,11 +342,11 @@ namespace DesktopMagic
private BitmapSource BitmapToImageSource(Bitmap bitmap) private BitmapSource BitmapToImageSource(Bitmap bitmap)
{ {
var bitmapData = bitmap.LockBits( BitmapData bitmapData = bitmap.LockBits(
new Rectangle(0, 0, bitmap.Width, bitmap.Height), new Rectangle(0, 0, bitmap.Width, bitmap.Height),
System.Drawing.Imaging.ImageLockMode.ReadOnly, bitmap.PixelFormat); ImageLockMode.ReadOnly, bitmap.PixelFormat);
var bitmapSource = BitmapSource.Create( BitmapSource bitmapSource = BitmapSource.Create(
bitmapData.Width, bitmapData.Height, bitmapData.Width, bitmapData.Height,
bitmap.HorizontalResolution, bitmap.VerticalResolution, bitmap.HorizontalResolution, bitmap.VerticalResolution,
System.Windows.Media.PixelFormats.Bgra32, null, System.Windows.Media.PixelFormats.Bgra32, null,
@@ -1,7 +1,9 @@
using DesktopMagicPluginAPI; using DesktopMagicPluginAPI;
using DesktopMagicPluginAPI.Inputs;
using Microsoft.Win32; using Microsoft.Win32;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing; using System.Drawing;
using System.Drawing.Imaging; using System.Drawing.Imaging;
using System.IO; using System.IO;
@@ -27,11 +29,14 @@ namespace DesktopMagic
private Plugin pluginClassInstance; private Plugin pluginClassInstance;
private readonly string pluginName = ""; private readonly string pluginName = "";
private int optionsIndex = 0;
private string pluginFolderPath = ""; private string pluginFolderPath = "";
private bool stop = false; private bool stop = false;
public PluginWindow(string _PluginName) public event Action PluginLoaded;
public event Action OnExit;
public PluginWindow(string pluginName)
{ {
InitializeComponent(); InitializeComponent();
@@ -54,7 +59,7 @@ namespace DesktopMagic
t.Elapsed += Elapsed; t.Elapsed += Elapsed;
t.Start(); t.Start();
pluginName = _PluginName; this.pluginName = pluginName;
key = Registry.CurrentUser.CreateSubKey(@"Software\" + MainWindow.AppName); key = Registry.CurrentUser.CreateSubKey(@"Software\" + MainWindow.AppName);
this.Top = double.Parse(key.GetValue(pluginName + "WindowTop", 100).ToString()); this.Top = double.Parse(key.GetValue(pluginName + "WindowTop", 100).ToString());
@@ -92,7 +97,7 @@ namespace DesktopMagic
{ {
panel.Visibility = Visibility.Visible; panel.Visibility = Visibility.Visible;
new WindowPos().SetIsLocked(this, false); new WindowPos().SetIsLocked(this, false);
tileBar.CaptionHeight = this.ActualHeight - 10; tileBar.CaptionHeight = tileBar.CaptionHeight = this.ActualHeight - 10 < 0 ? 0 : this.ActualHeight - 10;
this.ResizeMode = ResizeMode.CanResize; this.ResizeMode = ResizeMode.CanResize;
} }
else else
@@ -123,6 +128,7 @@ namespace DesktopMagic
else else
{ {
MessageBox.Show("File does not exist!", "Error", MessageBoxButton.OK, MessageBoxImage.Error); MessageBox.Show("File does not exist!", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Exit();
return; return;
} }
@@ -130,9 +136,11 @@ namespace DesktopMagic
{ {
sourceText = File.ReadAllText(PluginPath); sourceText = File.ReadAllText(PluginPath);
} }
catch (Exception e) catch (Exception ex)
{ {
MessageBox.Show("File could not be read:\n" + e.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error); MainWindow.Logger.Log(ex.ToString(), "Plugin");
MessageBox.Show("File could not be read:\n" + ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Exit();
return; return;
} }
@@ -140,22 +148,32 @@ namespace DesktopMagic
{ {
ExecuteSource(sourceText); ExecuteSource(sourceText);
} }
catch (Exception e) catch (Exception ex)
{ {
MessageBox.Show("File execution error:\n" + e, "Error", MessageBoxButton.OK, MessageBoxImage.Error); MainWindow.Logger.Log(ex.ToString(), "Plugin");
MessageBox.Show("File execution error:\n" + ex, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Exit();
return; return;
} }
PluginLoaded?.Invoke();
} }
private void ExecuteSource(string sourceText) private void ExecuteSource(string sourceText)
{ {
byte[] assemblyBytes = File.ReadAllBytes($"{pluginFolderPath}\\{pluginName}.dll"); byte[] assemblyBytes = File.ReadAllBytes($"{pluginFolderPath}\\{pluginName}.dll");
Assembly dll = Assembly.Load(assemblyBytes); Assembly dll = Assembly.Load(assemblyBytes);
Type instanceType = dll.GetTypes().FirstOrDefault(type => type.Name == "PluginScript"); Type instanceType = dll.GetTypes().FirstOrDefault(type => type.GetTypeInfo().BaseType == typeof(Plugin));
foreach (var item in dll.GetTypes())
{
Debug.WriteLine(item.Name);
Debug.WriteLine(typeof(Plugin).Name);
}
if (instanceType is null) if (instanceType is null)
{ {
MessageBox.Show($"The \"PluginScript\" class could not be found!", "Error", MessageBoxButton.OK, MessageBoxImage.Error); MessageBox.Show($"The \"Plugin\" class could not be found! It has to inherit from \"{typeof(Plugin).FullName}\"", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Exit();
return; return;
} }
@@ -167,31 +185,19 @@ namespace DesktopMagic
} }
else else
{ {
MessageBox.Show($"The \"PluginScript\" class has to inherit from \"{nameof(DesktopMagicPluginAPI)}.{nameof(Plugin)}\"", "Error", MessageBoxButton.OK, MessageBoxImage.Error); MessageBox.Show($"The \"Plugin\" class has to inherit from \"{typeof(Plugin).FullName}\"", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Exit();
return; return;
} }
if (instanceType.Namespace == nameof(DesktopMagic)) if (instanceType.Namespace == nameof(DesktopMagic))
{ {
MessageBox.Show("NO!", "Error", MessageBoxButton.OK, MessageBoxImage.Error); MessageBox.Show("NO!", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Exit();
return; return;
} }
string[,] optionsArray = pluginClassInstance.Inputs; LoadOptions(instance);
int index = 0;
List<Tuple<string, string[,]>> optionsList = new();
optionsList.AddRange(MainWindow.OptionsList);
foreach (Tuple<string, string[,]> option in optionsList)
{
if (option.Item1 == pluginName)
{
optionsIndex = index;
LoadOptions(optionsArray);
break;
}
index++;
}
valueTimer = new System.Timers.Timer(); valueTimer = new System.Timers.Timer();
valueTimer.Interval = 1000; valueTimer.Interval = 1000;
@@ -206,35 +212,41 @@ namespace DesktopMagic
} }
} }
private void LoadOptions(string[,] optionsArray) private void LoadOptions(object instance)
{ {
if (File.Exists($"{pluginFolderPath}\\{pluginName}.save")) Debug.WriteLine(instance.GetType().FullName);
{ FieldInfo[] props = instance.GetType().GetFields(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.GetField);
string[] lines = File.ReadAllLines($"{pluginFolderPath}\\{pluginName}.save");
for (int i = 0; i < lines.Length; i++) List<SettingElement> settingElements = new List<SettingElement>();
foreach (FieldInfo prop in props)
{ {
string[] splitOptions = lines[i].Split('\t'); if (prop.GetValue(instance) is Element element)
for (int j = 0; j < optionsArray.GetLength(0); j++)
{ {
if (optionsArray[j, 2] == splitOptions[2]) object[] attrs = prop.GetCustomAttributes(true);
foreach (object attr in attrs)
{ {
optionsArray[j, 0] = splitOptions[0]; if (attr is ElementAttribute elementAttribute)
{
settingElements.Add(new SettingElement(element, elementAttribute.Name, elementAttribute.OrderIndex));
break; break;
} }
} }
} }
} }
MainWindow.OptionsList[optionsIndex] = new Tuple<string, string[,]>(pluginName, optionsArray);
settingElements = settingElements.OrderBy(x => x.OrderIndex).ToList();
if (MainWindow.PluginsSettings.ContainsKey(pluginName))
{
MainWindow.PluginsSettings[pluginName] = settingElements;
}
else
{
MainWindow.PluginsSettings.Add(pluginName, settingElements);
}
} }
private void ValueTimer_Elapsed(object sender, ElapsedEventArgs e) private void ValueTimer_Elapsed(object sender, ElapsedEventArgs e)
{ {
if (MainWindow.OptionsList[optionsIndex].Item2.GetLength(0) > 0)
{
pluginClassInstance.Inputs = MainWindow.OptionsList[optionsIndex].Item2;
}
//Set Arguments //Set Arguments
SolidBrush newBrush = (SolidBrush)MainWindow.GlobalSystemColor; SolidBrush newBrush = (SolidBrush)MainWindow.GlobalSystemColor;
Color color = newBrush.Color; Color color = newBrush.Color;
@@ -270,6 +282,14 @@ namespace DesktopMagic
return bitmapSource; return bitmapSource;
} }
private void Exit()
{
Dispatcher.Invoke(() =>
{
OnExit?.Invoke();
});
}
#region Window Events #region Window Events
private void Window_LocationChanged(object sender, EventArgs e) private void Window_LocationChanged(object sender, EventArgs e)
@@ -304,11 +324,6 @@ namespace DesktopMagic
#region Plugin Methods #region Plugin Methods
public void OptionChanged(int optionIndex)
{
pluginClassInstance.OnOptionChanged(optionIndex);
}
private void Clicked(System.Drawing.Point positon) private void Clicked(System.Drawing.Point positon)
{ {
pluginClassInstance.OnMouseClick(positon); pluginClassInstance.OnMouseClick(positon);
+23
View File
@@ -0,0 +1,23 @@
using DesktopMagicPluginAPI.Inputs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesktopMagic
{
internal class SettingElement
{
public Element Element { get; }
public string Name { get; }
public int OrderIndex { get; }
public SettingElement(Element element, string name, int orderIndex)
{
Element = element;
Name = name;
OrderIndex = orderIndex;
}
}
}
@@ -21,6 +21,8 @@
<system:String x:Key="amplifier">Signalverstärkung:</system:String> <system:String x:Key="amplifier">Signalverstärkung:</system:String>
<system:String x:Key="newLayout">Neues Layout</system:String> <system:String x:Key="newLayout">Neues Layout</system:String>
<system:String x:Key="deleteLayout">Layout Löschen</system:String> <system:String x:Key="deleteLayout">Layout Löschen</system:String>
<system:String x:Key="ok">Ok</system:String>
<system:String x:Key="cancel">Abbrechen</system:String>
<col:ArrayList x:Key="musicVisualizerOptionsComboboxItems"> <col:ArrayList x:Key="musicVisualizerOptionsComboboxItems">
<system:String>Unten</system:String> <system:String>Unten</system:String>
<system:String>Mitte</system:String> <system:String>Mitte</system:String>
@@ -21,6 +21,8 @@
<system:String x:Key="amplifier">Signal Amplification:</system:String> <system:String x:Key="amplifier">Signal Amplification:</system:String>
<system:String x:Key="newLayout">New Layout</system:String> <system:String x:Key="newLayout">New Layout</system:String>
<system:String x:Key="deleteLayout">Delete Layout</system:String> <system:String x:Key="deleteLayout">Delete Layout</system:String>
<system:String x:Key="ok">Ok</system:String>
<system:String x:Key="cancel">Cancel</system:String>
<col:ArrayList x:Key="musicVisualizerOptionsComboboxItems"> <col:ArrayList x:Key="musicVisualizerOptionsComboboxItems">
<system:String>Bottom</system:String> <system:String>Bottom</system:String>
<system:String>Middle</system:String> <system:String>Middle</system:String>
@@ -8,30 +8,19 @@
".NETCoreApp,Version=v5.0": { ".NETCoreApp,Version=v5.0": {
"DesktopMagic/1.0.0": { "DesktopMagic/1.0.0": {
"dependencies": { "dependencies": {
"AlwaysUpToDate": "1.0.0.2", "DesktopMagicPluginAPI": "0.0.0.1",
"DesktopMagicPluginAPI": "1.0.0",
"Extended.Wpf.Toolkit": "4.1.0", "Extended.Wpf.Toolkit": "4.1.0",
"Google.Apis.Calendar.v3": "1.51.0.2312", "Google.Apis.Calendar.v3": "1.51.0.2312",
"Hardcodet.NotifyIcon.Wpf": "1.1.0", "Hardcodet.NotifyIcon.Wpf": "1.1.0",
"MaterialDesignThemes": "4.0.0", "MaterialDesignThemes": "4.0.0",
"NAudio": "2.0.0", "NAudio": "2.0.0",
"Stone_Red-C-Sharp-Utilities": "1.0.2.1",
"System.Management": "5.0.0" "System.Management": "5.0.0"
}, },
"runtime": { "runtime": {
"DesktopMagic.dll": {} "DesktopMagic.dll": {}
} }
}, },
"AlwaysUpToDate/1.0.0.2": {
"dependencies": {
"System.Text.Json": "5.0.2"
},
"runtime": {
"lib/netstandard2.1/AlwaysUpToDate.dll": {
"assemblyVersion": "1.0.0.2",
"fileVersion": "1.0.0.2"
}
}
},
"Extended.Wpf.Toolkit/4.1.0": { "Extended.Wpf.Toolkit/4.1.0": {
"runtime": { "runtime": {
"lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll": { "lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll": {
@@ -272,6 +261,14 @@
} }
} }
}, },
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
"runtime": {
"lib/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll": {
"assemblyVersion": "1.0.2.1",
"fileVersion": "1.0.2.1"
}
}
},
"System.CodeDom/5.0.0": {}, "System.CodeDom/5.0.0": {},
"System.Drawing.Common/5.0.2": { "System.Drawing.Common/5.0.2": {
"dependencies": { "dependencies": {
@@ -326,15 +323,7 @@
} }
}, },
"System.Security.Principal.Windows/5.0.0": {}, "System.Security.Principal.Windows/5.0.0": {},
"System.Text.Json/5.0.2": { "DesktopMagicPluginAPI/0.0.0.1": {
"runtime": {
"lib/netcoreapp3.0/System.Text.Json.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.521.16609"
}
}
},
"DesktopMagicPluginAPI/1.0.0": {
"dependencies": { "dependencies": {
"System.Drawing.Common": "5.0.2" "System.Drawing.Common": "5.0.2"
}, },
@@ -350,13 +339,6 @@
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
}, },
"AlwaysUpToDate/1.0.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-LUr8adUXFo86T3Ta2+U3YWVcn9bmjOCK/0QAPf2GvWLm0fLAfvsVzmZLZXVS5B01t88HAT0Ew2DH6b6M24UWzA==",
"path": "alwaysuptodate/1.0.0.2",
"hashPath": "alwaysuptodate.1.0.0.2.nupkg.sha512"
},
"Extended.Wpf.Toolkit/4.1.0": { "Extended.Wpf.Toolkit/4.1.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -490,6 +472,13 @@
"path": "newtonsoft.json/12.0.3", "path": "newtonsoft.json/12.0.3",
"hashPath": "newtonsoft.json.12.0.3.nupkg.sha512" "hashPath": "newtonsoft.json.12.0.3.nupkg.sha512"
}, },
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-QzwH0QvsDiBvCJTFroZBhN/pMEIiz0C8TNkQci+pxCbnjfTtVkxAYsgmlshCl5oHFJh7VYDLcGAULcMBARSb+w==",
"path": "stone_red-c-sharp-utilities/1.0.2.1",
"hashPath": "stone_red-c-sharp-utilities.1.0.2.1.nupkg.sha512"
},
"System.CodeDom/5.0.0": { "System.CodeDom/5.0.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -525,14 +514,7 @@
"path": "system.security.principal.windows/5.0.0", "path": "system.security.principal.windows/5.0.0",
"hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512" "hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512"
}, },
"System.Text.Json/5.0.2": { "DesktopMagicPluginAPI/0.0.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-I47dVIGiV6SfAyppphxqupertT/5oZkYLDCX6vC3HpOI4ZLjyoKAreUoem2ie6G0RbRuFrlqz/PcTQjfb2DOfQ==",
"path": "system.text.json/5.0.2",
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
},
"DesktopMagicPluginAPI/1.0.0": {
"type": "project", "type": "project",
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
@@ -3,8 +3,7 @@
"additionalProbingPaths": [ "additionalProbingPaths": [
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|", "C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\David\\.nuget\\packages", "C:\\Users\\David\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
] ]
} }
} }
@@ -8,30 +8,19 @@
".NETCoreApp,Version=v5.0": { ".NETCoreApp,Version=v5.0": {
"DesktopMagic/1.0.0": { "DesktopMagic/1.0.0": {
"dependencies": { "dependencies": {
"AlwaysUpToDate": "1.0.0.2", "DesktopMagicPluginAPI": "0.0.0.1",
"DesktopMagicPluginAPI": "1.0.0",
"Extended.Wpf.Toolkit": "4.1.0", "Extended.Wpf.Toolkit": "4.1.0",
"Google.Apis.Calendar.v3": "1.51.0.2312", "Google.Apis.Calendar.v3": "1.51.0.2312",
"Hardcodet.NotifyIcon.Wpf": "1.1.0", "Hardcodet.NotifyIcon.Wpf": "1.1.0",
"MaterialDesignThemes": "4.0.0", "MaterialDesignThemes": "4.0.0",
"NAudio": "2.0.0", "NAudio": "2.0.0",
"Stone_Red-C-Sharp-Utilities": "1.0.2.1",
"System.Management": "5.0.0" "System.Management": "5.0.0"
}, },
"runtime": { "runtime": {
"DesktopMagic.dll": {} "DesktopMagic.dll": {}
} }
}, },
"AlwaysUpToDate/1.0.0.2": {
"dependencies": {
"System.Text.Json": "5.0.2"
},
"runtime": {
"lib/netstandard2.1/AlwaysUpToDate.dll": {
"assemblyVersion": "1.0.0.2",
"fileVersion": "1.0.0.2"
}
}
},
"Extended.Wpf.Toolkit/4.1.0": { "Extended.Wpf.Toolkit/4.1.0": {
"runtime": { "runtime": {
"lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll": { "lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll": {
@@ -272,6 +261,14 @@
} }
} }
}, },
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
"runtime": {
"lib/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll": {
"assemblyVersion": "1.0.2.1",
"fileVersion": "1.0.2.1"
}
}
},
"System.CodeDom/5.0.0": {}, "System.CodeDom/5.0.0": {},
"System.Drawing.Common/5.0.2": { "System.Drawing.Common/5.0.2": {
"dependencies": { "dependencies": {
@@ -326,15 +323,7 @@
} }
}, },
"System.Security.Principal.Windows/5.0.0": {}, "System.Security.Principal.Windows/5.0.0": {},
"System.Text.Json/5.0.2": { "DesktopMagicPluginAPI/0.0.0.1": {
"runtime": {
"lib/netcoreapp3.0/System.Text.Json.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.521.16609"
}
}
},
"DesktopMagicPluginAPI/1.0.0": {
"dependencies": { "dependencies": {
"System.Drawing.Common": "5.0.2" "System.Drawing.Common": "5.0.2"
}, },
@@ -350,13 +339,6 @@
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
}, },
"AlwaysUpToDate/1.0.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-LUr8adUXFo86T3Ta2+U3YWVcn9bmjOCK/0QAPf2GvWLm0fLAfvsVzmZLZXVS5B01t88HAT0Ew2DH6b6M24UWzA==",
"path": "alwaysuptodate/1.0.0.2",
"hashPath": "alwaysuptodate.1.0.0.2.nupkg.sha512"
},
"Extended.Wpf.Toolkit/4.1.0": { "Extended.Wpf.Toolkit/4.1.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -490,6 +472,13 @@
"path": "newtonsoft.json/12.0.3", "path": "newtonsoft.json/12.0.3",
"hashPath": "newtonsoft.json.12.0.3.nupkg.sha512" "hashPath": "newtonsoft.json.12.0.3.nupkg.sha512"
}, },
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-QzwH0QvsDiBvCJTFroZBhN/pMEIiz0C8TNkQci+pxCbnjfTtVkxAYsgmlshCl5oHFJh7VYDLcGAULcMBARSb+w==",
"path": "stone_red-c-sharp-utilities/1.0.2.1",
"hashPath": "stone_red-c-sharp-utilities.1.0.2.1.nupkg.sha512"
},
"System.CodeDom/5.0.0": { "System.CodeDom/5.0.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -525,14 +514,7 @@
"path": "system.security.principal.windows/5.0.0", "path": "system.security.principal.windows/5.0.0",
"hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512" "hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512"
}, },
"System.Text.Json/5.0.2": { "DesktopMagicPluginAPI/0.0.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-I47dVIGiV6SfAyppphxqupertT/5oZkYLDCX6vC3HpOI4ZLjyoKAreUoem2ie6G0RbRuFrlqz/PcTQjfb2DOfQ==",
"path": "system.text.json/5.0.2",
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
},
"DesktopMagicPluginAPI/1.0.0": {
"type": "project", "type": "project",
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
@@ -3,8 +3,7 @@
"additionalProbingPaths": [ "additionalProbingPaths": [
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|", "C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\David\\.nuget\\packages", "C:\\Users\\David\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
] ]
} }
} }
@@ -50,7 +50,7 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
@@ -76,7 +76,7 @@ namespace DesktopMagic {
/// </summary> /// </summary>
[System.STAThreadAttribute()] [System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public static void Main() { public static void Main() {
DesktopMagic.App app = new DesktopMagic.App(); DesktopMagic.App app = new DesktopMagic.App();
app.InitializeComponent(); app.InitializeComponent();
@@ -50,7 +50,7 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
@@ -62,7 +62,7 @@ namespace DesktopMagic {
#line default #line default
#line hidden #line hidden
System.Uri resourceLocater = new System.Uri("/DesktopMagic;component/app.xaml", System.UriKind.Relative); System.Uri resourceLocater = new System.Uri("/DesktopMagic;V1.0.0.0;component/app.xaml", System.UriKind.Relative);
#line 1 "..\..\..\App.xaml" #line 1 "..\..\..\App.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater); System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -76,7 +76,7 @@ namespace DesktopMagic {
/// </summary> /// </summary>
[System.STAThreadAttribute()] [System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public static void Main() { public static void Main() {
DesktopMagic.App app = new DesktopMagic.App(); DesktopMagic.App app = new DesktopMagic.App();
app.InitializeComponent(); app.InitializeComponent();
@@ -79,7 +79,7 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
@@ -95,7 +95,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -79,13 +79,13 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
} }
_contentLoaded = true; _contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/DesktopMagic;component/calendarwindow.xaml", System.UriKind.Relative); System.Uri resourceLocater = new System.Uri("/DesktopMagic;V1.0.0.0;component/calendarwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\CalendarWindow.xaml" #line 1 "..\..\..\CalendarWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater); System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -95,7 +95,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -79,7 +79,7 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
@@ -95,7 +95,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -79,13 +79,13 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
} }
_contentLoaded = true; _contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/DesktopMagic;component/cpuusagewindow.xaml", System.UriKind.Relative); System.Uri resourceLocater = new System.Uri("/DesktopMagic;V1.0.0.0;component/cpuusagewindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\CpuUsageWindow.xaml" #line 1 "..\..\..\CpuUsageWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater); System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -95,7 +95,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -79,7 +79,7 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
@@ -95,7 +95,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -79,13 +79,13 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
} }
_contentLoaded = true; _contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/DesktopMagic;component/datewindow.xaml", System.UriKind.Relative); System.Uri resourceLocater = new System.Uri("/DesktopMagic;V1.0.0.0;component/datewindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\DateWindow.xaml" #line 1 "..\..\..\DateWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater); System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -95,7 +95,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -6,3 +6,5 @@ build_property.ProjectTypeGuids =
build_property.PublishSingleFile = build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract = build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
build_property.RootNamespace = DesktopMagic
build_property.ProjectDir = C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\
@@ -1 +1 @@
fad992f78c9897474b900604791c7e23772a784d 82202d5e43edd6abdb9836ebc428b7da1496c4ef
@@ -162,3 +162,85 @@ C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debu
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\ref\DesktopMagic.dll C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\ref\DesktopMagic.dll
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.pdb C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.pdb
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.genruntimeconfig.cache C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.genruntimeconfig.cache
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagic.exe
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagic.deps.json
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagic.runtimeconfig.json
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagic.runtimeconfig.dev.json
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagic.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\ref\DesktopMagic.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagic.pdb
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Aero.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.Metro.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Xceed.Wpf.AvalonDock.Themes.VS2010.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Xceed.Wpf.AvalonDock.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Xceed.Wpf.Toolkit.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Google.Apis.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Google.Apis.Auth.PlatformServices.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Google.Apis.Auth.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Google.Apis.Calendar.v3.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Google.Apis.Core.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Hardcodet.NotifyIcon.Wpf.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\MaterialDesignColors.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\MaterialDesignThemes.Wpf.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\NAudio.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\NAudio.Asio.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\NAudio.Core.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\NAudio.Midi.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\NAudio.Wasapi.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\NAudio.WinForms.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\NAudio.WinMM.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Newtonsoft.Json.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\System.Drawing.Common.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\System.Management.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\cs-CZ\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\de\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\es\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\fr\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\hu\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\it\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\ja-JP\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\pt-BR\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\ro\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\ru\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\sv\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\zh-Hans\Xceed.Wpf.AvalonDock.resources.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\runtimes\win\lib\netcoreapp2.0\System.Management.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagicPluginAPI.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagicPluginAPI.pdb
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.csproj.AssemblyReference.cache
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\CalendarWindow.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\CpuUsageWindow.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DateWindow.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\MainWindow.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\MusicVisualizerWindow.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\Resources\StringResources.de.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\Resources\StringResources.en.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\TimeWindow.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\App.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\CalendarWindow.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\CpuUsageWindow.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DateWindow.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\InputDialog.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\MainWindow.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\MusicVisualizerWindow.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\Plugin\PluginWindow.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\TimeWindow.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\App.g.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic_MarkupCompile.cache
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic_MarkupCompile.lref
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\InputDialog.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\Plugin\PluginWindow.baml
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.g.resources
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.AssemblyInfoInputs.cache
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.AssemblyInfo.cs
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.csproj.CoreCompileInputs.cache
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.csproj.CopyComplete
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\ref\DesktopMagic.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.pdb
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\DesktopMagic.genruntimeconfig.cache
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\Stone_Red-C-Sharp-Utilities.dll
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\bin\Debug\net5.0-windows\DesktopMagicPluginAPI.xml
@@ -6,17 +6,6 @@
"compilationOptions": {}, "compilationOptions": {},
"targets": { "targets": {
".NETCoreApp,Version=v5.0": { ".NETCoreApp,Version=v5.0": {
"AlwaysUpToDate/1.0.0.2": {
"dependencies": {
"System.Text.Json": "5.0.2"
},
"runtime": {
"lib/netstandard2.1/AlwaysUpToDate.dll": {
"assemblyVersion": "1.0.0.2",
"fileVersion": "1.0.0.2"
}
}
},
"Extended.Wpf.Toolkit/4.1.0": { "Extended.Wpf.Toolkit/4.1.0": {
"runtime": { "runtime": {
"lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll": { "lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll": {
@@ -285,6 +274,14 @@
} }
} }
}, },
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
"runtime": {
"lib/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll": {
"assemblyVersion": "1.0.2.1",
"fileVersion": "1.0.2.1"
}
}
},
"System.CodeDom/5.0.0": { "System.CodeDom/5.0.0": {
"runtime": { "runtime": {
"lib/netstandard2.0/System.CodeDom.dll": { "lib/netstandard2.0/System.CodeDom.dll": {
@@ -380,25 +377,10 @@
"fileVersion": "5.0.20.51904" "fileVersion": "5.0.20.51904"
} }
} }
},
"System.Text.Json/5.0.2": {
"runtime": {
"lib/netcoreapp3.0/System.Text.Json.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.521.16609"
}
}
} }
} }
}, },
"libraries": { "libraries": {
"AlwaysUpToDate/1.0.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-LUr8adUXFo86T3Ta2+U3YWVcn9bmjOCK/0QAPf2GvWLm0fLAfvsVzmZLZXVS5B01t88HAT0Ew2DH6b6M24UWzA==",
"path": "alwaysuptodate/1.0.0.2",
"hashPath": "alwaysuptodate.1.0.0.2.nupkg.sha512"
},
"Extended.Wpf.Toolkit/4.1.0": { "Extended.Wpf.Toolkit/4.1.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -532,6 +514,13 @@
"path": "newtonsoft.json/12.0.3", "path": "newtonsoft.json/12.0.3",
"hashPath": "newtonsoft.json.12.0.3.nupkg.sha512" "hashPath": "newtonsoft.json.12.0.3.nupkg.sha512"
}, },
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-QzwH0QvsDiBvCJTFroZBhN/pMEIiz0C8TNkQci+pxCbnjfTtVkxAYsgmlshCl5oHFJh7VYDLcGAULcMBARSb+w==",
"path": "stone_red-c-sharp-utilities/1.0.2.1",
"hashPath": "stone_red-c-sharp-utilities.1.0.2.1.nupkg.sha512"
},
"System.CodeDom/5.0.0": { "System.CodeDom/5.0.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -566,13 +555,6 @@
"sha512": "sha512-t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==", "sha512": "sha512-t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==",
"path": "system.security.principal.windows/5.0.0", "path": "system.security.principal.windows/5.0.0",
"hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512" "hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512"
},
"System.Text.Json/5.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-I47dVIGiV6SfAyppphxqupertT/5oZkYLDCX6vC3HpOI4ZLjyoKAreUoem2ie6G0RbRuFrlqz/PcTQjfb2DOfQ==",
"path": "system.text.json/5.0.2",
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
} }
} }
} }
@@ -8,8 +8,7 @@
"additionalProbingPaths": [ "additionalProbingPaths": [
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|", "C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\David\\.nuget\\packages", "C:\\Users\\David\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
], ],
"configProperties": { "configProperties": {
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
@@ -1 +1 @@
a6b3c04ef8e616f7009fb6b97aec46015cf10813 1b78c62ccd4bd7611f1b36a873f8433dd37da59a
@@ -4,17 +4,17 @@
winexe winexe
C# C#
.cs .cs
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\ C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\
DesktopMagic DesktopMagic
none none
false false
TRACE;DEBUG;NET;NET5_0;NETCOREAPP TRACE;DEBUG;NET;NET5_0;NETCOREAPP
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\App.xaml C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\App.xaml
10-1821104012 10-291818503
15283295026 17-911440499
226-2034942167 226605658444
CalendarWindow.xaml;CpuUsageWindow.xaml;DateWindow.xaml;InputDialog.xaml;MainWindow.xaml;MusicVisualizerWindow.xaml;PluginWindow.xaml;Resources\StringResources.de.xaml;Resources\StringResources.en.xaml;TimeWindow.xaml; CalendarWindow.xaml;CpuUsageWindow.xaml;DateWindow.xaml;InputDialog.xaml;MainWindow.xaml;MusicVisualizerWindow.xaml;Plugin\PluginWindow.xaml;Resources\StringResources.de.xaml;Resources\StringResources.en.xaml;TimeWindow.xaml;
False False
@@ -4,17 +4,17 @@
winexe winexe
C# C#
.cs .cs
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\ C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\obj\Debug\net5.0-windows\
DesktopMagic DesktopMagic
none none
false false
TRACE;DEBUG;NET;NET5_0;NETCOREAPP TRACE;DEBUG;NET;NET5_0;NETCOREAPP
C:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\App.xaml C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\App.xaml
10-1821104012 10-291818503
171141795125 19-52940400
226-2034942167 226605658444
CalendarWindow.xaml;CpuUsageWindow.xaml;DateWindow.xaml;InputDialog.xaml;MainWindow.xaml;MusicVisualizerWindow.xaml;PluginWindow.xaml;Resources\StringResources.de.xaml;Resources\StringResources.en.xaml;TimeWindow.xaml; CalendarWindow.xaml;CpuUsageWindow.xaml;DateWindow.xaml;InputDialog.xaml;MainWindow.xaml;MusicVisualizerWindow.xaml;Plugin\PluginWindow.xaml;Resources\StringResources.de.xaml;Resources\StringResources.en.xaml;TimeWindow.xaml;
False False
@@ -1,5 +1,5 @@
FC:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\InputDialog.xaml;; FC:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\InputDialog.xaml;;
FC:\Users\David\Google Drive\Programmieren\DesktopMagic\src\DesktopMagic\PluginWindow.xaml;; FC:\Users\David\Programmieren\DesktopMagic\src\DesktopMagic\Plugin\PluginWindow.xaml;;
@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\InputDialog.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "69003CAB3985612DB9AB987164994394DEC44BA3" #pragma checksum "..\..\..\InputDialog.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E92EE63B86C66ACB37E5EDABBB5EC243DBD1F651"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Dieser Code wurde von einem Tool generiert. // Dieser Code wurde von einem Tool generiert.
@@ -43,44 +43,44 @@ namespace DesktopMagic {
public partial class InputDialog : System.Windows.Window, System.Windows.Markup.IComponentConnector { public partial class InputDialog : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 11 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button okButton;
#line default
#line hidden
#line 12 "..\..\..\InputDialog.xaml" #line 12 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button cancelButton;
#line default
#line hidden
#line 13 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label label; internal System.Windows.Controls.Label label;
#line default #line default
#line hidden #line hidden
#line 14 "..\..\..\InputDialog.xaml" #line 13 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox textBox; internal System.Windows.Controls.TextBox textBox;
#line default #line default
#line hidden #line hidden
#line 15 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button okButton;
#line default
#line hidden
#line 16 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button cancelButton;
#line default
#line hidden
private bool _contentLoaded; private bool _contentLoaded;
/// <summary> /// <summary>
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
@@ -96,7 +96,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -105,29 +105,29 @@ namespace DesktopMagic {
switch (connectionId) switch (connectionId)
{ {
case 1: case 1:
this.okButton = ((System.Windows.Controls.Button)(target));
#line 11 "..\..\..\InputDialog.xaml"
this.okButton.Click += new System.Windows.RoutedEventHandler(this.okButton_Click);
#line default
#line hidden
return;
case 2:
this.cancelButton = ((System.Windows.Controls.Button)(target));
#line 12 "..\..\..\InputDialog.xaml"
this.cancelButton.Click += new System.Windows.RoutedEventHandler(this.cancelButton_Click);
#line default
#line hidden
return;
case 3:
this.label = ((System.Windows.Controls.Label)(target)); this.label = ((System.Windows.Controls.Label)(target));
return; return;
case 4: case 2:
this.textBox = ((System.Windows.Controls.TextBox)(target)); this.textBox = ((System.Windows.Controls.TextBox)(target));
return; return;
case 3:
this.okButton = ((System.Windows.Controls.Button)(target));
#line 15 "..\..\..\InputDialog.xaml"
this.okButton.Click += new System.Windows.RoutedEventHandler(this.OkButton_Click);
#line default
#line hidden
return;
case 4:
this.cancelButton = ((System.Windows.Controls.Button)(target));
#line 16 "..\..\..\InputDialog.xaml"
this.cancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
#line default
#line hidden
return;
} }
this._contentLoaded = true; this._contentLoaded = true;
} }
@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\InputDialog.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "69003CAB3985612DB9AB987164994394DEC44BA3" #pragma checksum "..\..\..\InputDialog.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E92EE63B86C66ACB37E5EDABBB5EC243DBD1F651"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Dieser Code wurde von einem Tool generiert. // Dieser Code wurde von einem Tool generiert.
@@ -43,50 +43,50 @@ namespace DesktopMagic {
public partial class InputDialog : System.Windows.Window, System.Windows.Markup.IComponentConnector { public partial class InputDialog : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 11 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button okButton;
#line default
#line hidden
#line 12 "..\..\..\InputDialog.xaml" #line 12 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button cancelButton;
#line default
#line hidden
#line 13 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label label; internal System.Windows.Controls.Label label;
#line default #line default
#line hidden #line hidden
#line 14 "..\..\..\InputDialog.xaml" #line 13 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox textBox; internal System.Windows.Controls.TextBox textBox;
#line default #line default
#line hidden #line hidden
#line 15 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button okButton;
#line default
#line hidden
#line 16 "..\..\..\InputDialog.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button cancelButton;
#line default
#line hidden
private bool _contentLoaded; private bool _contentLoaded;
/// <summary> /// <summary>
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
} }
_contentLoaded = true; _contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/DesktopMagic;component/inputdialog.xaml", System.UriKind.Relative); System.Uri resourceLocater = new System.Uri("/DesktopMagic;V1.0.0.0;component/inputdialog.xaml", System.UriKind.Relative);
#line 1 "..\..\..\InputDialog.xaml" #line 1 "..\..\..\InputDialog.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater); System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -96,7 +96,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -105,29 +105,29 @@ namespace DesktopMagic {
switch (connectionId) switch (connectionId)
{ {
case 1: case 1:
this.okButton = ((System.Windows.Controls.Button)(target));
#line 11 "..\..\..\InputDialog.xaml"
this.okButton.Click += new System.Windows.RoutedEventHandler(this.okButton_Click);
#line default
#line hidden
return;
case 2:
this.cancelButton = ((System.Windows.Controls.Button)(target));
#line 12 "..\..\..\InputDialog.xaml"
this.cancelButton.Click += new System.Windows.RoutedEventHandler(this.cancelButton_Click);
#line default
#line hidden
return;
case 3:
this.label = ((System.Windows.Controls.Label)(target)); this.label = ((System.Windows.Controls.Label)(target));
return; return;
case 4: case 2:
this.textBox = ((System.Windows.Controls.TextBox)(target)); this.textBox = ((System.Windows.Controls.TextBox)(target));
return; return;
case 3:
this.okButton = ((System.Windows.Controls.Button)(target));
#line 15 "..\..\..\InputDialog.xaml"
this.okButton.Click += new System.Windows.RoutedEventHandler(this.OkButton_Click);
#line default
#line hidden
return;
case 4:
this.cancelButton = ((System.Windows.Controls.Button)(target));
#line 16 "..\..\..\InputDialog.xaml"
this.cancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
#line default
#line hidden
return;
} }
this._contentLoaded = true; this._contentLoaded = true;
} }
@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "56A04FC33DFC60D7E526BF21765D414E7492102A" #pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C65BB0CCBD38447F44B1617C45B72B340536B1CC"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Dieser Code wurde von einem Tool generiert. // Dieser Code wurde von einem Tool generiert.
@@ -45,7 +45,7 @@ namespace DesktopMagic {
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 18 "..\..\..\MainWindow.xaml" #line 19 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid grid; internal System.Windows.Controls.Grid grid;
@@ -282,7 +282,7 @@ namespace DesktopMagic {
/// InitializeComponent /// InitializeComponent
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
public void InitializeComponent() { public void InitializeComponent() {
if (_contentLoaded) { if (_contentLoaded) {
return; return;
@@ -298,7 +298,7 @@ namespace DesktopMagic {
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.6.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
@@ -320,13 +320,13 @@ namespace DesktopMagic {
#line default #line default
#line hidden #line hidden
#line 15 "..\..\..\MainWindow.xaml" #line 16 "..\..\..\MainWindow.xaml"
((DesktopMagic.MainWindow)(target)).StateChanged += new System.EventHandler(this.Window_StateChanged); ((DesktopMagic.MainWindow)(target)).StateChanged += new System.EventHandler(this.Window_StateChanged);
#line default #line default
#line hidden #line hidden
#line 16 "..\..\..\MainWindow.xaml" #line 17 "..\..\..\MainWindow.xaml"
((DesktopMagic.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); ((DesktopMagic.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
#line default #line default

Some files were not shown because too many files have changed in this diff Show More