From 04886f7dabda80a9515c0e3c6c44b9bf2f7655af Mon Sep 17 00:00:00 2001 From: Shaojun Li Date: Sat, 25 Jan 2020 17:06:42 +0800 Subject: [PATCH] Init --- .gitignore | 170 +++++++++++++++++++++++++++ WindowDebugger.sln | 25 ++++ WindowDebugger/App.xaml | 9 ++ WindowDebugger/App.xaml.cs | 17 +++ WindowDebugger/AssemblyInfo.cs | 10 ++ WindowDebugger/MainWindow.xaml | 12 ++ WindowDebugger/MainWindow.xaml.cs | 28 +++++ WindowDebugger/WindowDebugger.csproj | 10 ++ WindowDebugger/app.manifest | 74 ++++++++++++ 9 files changed, 355 insertions(+) create mode 100644 .gitignore create mode 100644 WindowDebugger.sln create mode 100644 WindowDebugger/App.xaml create mode 100644 WindowDebugger/App.xaml.cs create mode 100644 WindowDebugger/AssemblyInfo.cs create mode 100644 WindowDebugger/MainWindow.xaml create mode 100644 WindowDebugger/MainWindow.xaml.cs create mode 100644 WindowDebugger/WindowDebugger.csproj create mode 100644 WindowDebugger/app.manifest diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..04c667d --- /dev/null +++ b/.gitignore @@ -0,0 +1,170 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +/.vs/* +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results + +[Dd]ebug/ +[Rr]elease/ +x64/ +build/ +[Bb]in/ +[Oo]bj/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.scc +*.key + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# 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 +*.Publish.xml +*.pubxml + +# NuGet Packages Directory +# Enable nuget packages restore when building +!packages/ +packages/* +!packages/repositories.config + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml +*.pfx +*.publishsettings + +# RIA/Silverlight projects +Generated_Code/ + +#Visual Studio LightSwitch +_Pvt_Extensions/ +GeneratedArtifacts/ +ServiceConfiguration.cscfg +ModelManifest.xml +generated.parameters.xml +## TODO: Comment the next line if you want version controls the generated client .xap file +*.Client.xap + +# 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 + +# SQL Server files +App_Data/*.mdf +App_Data/*.ldf + +# ========================= +# Windows detritus +# ========================= + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Mac crap +.DS_Store + + +*.opendb + +*.mdb +*.userprefs +*.fuse* + +*.snk \ No newline at end of file diff --git a/WindowDebugger.sln b/WindowDebugger.sln new file mode 100644 index 0000000..743ddc0 --- /dev/null +++ b/WindowDebugger.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29721.120 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowDebugger", "WindowDebugger\WindowDebugger.csproj", "{29BD45C3-4086-4145-B7E6-46C09A20870C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {29BD45C3-4086-4145-B7E6-46C09A20870C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {29BD45C3-4086-4145-B7E6-46C09A20870C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {29BD45C3-4086-4145-B7E6-46C09A20870C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {29BD45C3-4086-4145-B7E6-46C09A20870C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5F6E3EE3-64DA-4214-8D29-1AEEAD5B0CE3} + EndGlobalSection +EndGlobal diff --git a/WindowDebugger/App.xaml b/WindowDebugger/App.xaml new file mode 100644 index 0000000..be7d940 --- /dev/null +++ b/WindowDebugger/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/WindowDebugger/App.xaml.cs b/WindowDebugger/App.xaml.cs new file mode 100644 index 0000000..d85695c --- /dev/null +++ b/WindowDebugger/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace WindowDebugger +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/WindowDebugger/AssemblyInfo.cs b/WindowDebugger/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/WindowDebugger/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/WindowDebugger/MainWindow.xaml b/WindowDebugger/MainWindow.xaml new file mode 100644 index 0000000..d16879c --- /dev/null +++ b/WindowDebugger/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/WindowDebugger/MainWindow.xaml.cs b/WindowDebugger/MainWindow.xaml.cs new file mode 100644 index 0000000..e3d56dc --- /dev/null +++ b/WindowDebugger/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace WindowDebugger +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/WindowDebugger/WindowDebugger.csproj b/WindowDebugger/WindowDebugger.csproj new file mode 100644 index 0000000..fa3315b --- /dev/null +++ b/WindowDebugger/WindowDebugger.csproj @@ -0,0 +1,10 @@ + + + + WinExe + netcoreapp3.1;net48 + true + app.manifest + + + \ No newline at end of file diff --git a/WindowDebugger/app.manifest b/WindowDebugger/app.manifest new file mode 100644 index 0000000..c669ce3 --- /dev/null +++ b/WindowDebugger/app.manifest @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PerMonitorV2 + true/pm + + + + + + +