├── .gitignore ├── .vs ├── AjustScreenBrightness │ └── v15 │ │ ├── .suo │ │ └── Server │ │ └── sqlite3 │ │ ├── db.lock │ │ ├── storage.ide │ │ ├── storage.ide-shm │ │ └── storage.ide-wal ├── VSWorkspaceState.json └── slnx.sqlite ├── AjustScreenBrightness.sln ├── AjustScreenBrightness ├── Abstract │ └── AjustScreenClass.cs ├── AjustScreenBrightness.csproj ├── AjustScreenBrightness.csproj.user ├── AjustScreenBrightness_TemporaryKey.pfx ├── AjustScreenByDxva2.cs ├── AjustScreenByGdi32.cs ├── AjustScreenByIgfxDHLib.cs ├── App.config ├── DLL │ └── igfxDHLib.dll ├── Enum │ ├── McDisplayTechnologyTypeEnum.cs │ ├── NativeConstantsEnum.cs │ └── ScreenColorEnum.cs ├── FodyWeavers.xml ├── FodyWeavers.xsd ├── Form1.Designer.cs ├── Form1.cs ├── Imp │ └── IAjustScreen.cs ├── Model │ ├── PhysicalMonitor.cs │ ├── Ramp.cs │ ├── ScreenConfig.cs │ ├── ScreenDisplay.cs │ └── ScreenPropRange.cs ├── NativeImp │ ├── Native_Kernel32_dll.cs │ ├── Native_dxva2_dll.cs │ ├── Native_gdi32_DLL.cs │ └── Native_user32_dll.cs ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── UserControl │ ├── AjustDisplayControl.Designer.cs │ ├── AjustDisplayControl.cs │ └── AjustDisplayControl.resx ├── obj │ ├── Debug │ │ ├── AjustScreenBrightness.Properties.Resources.resources │ │ ├── AjustScreenBrightness.UserControl.AjustDisplayControl.resources │ │ ├── AjustScreenBrightness.application │ │ ├── AjustScreenBrightness.csproj.CopyComplete │ │ ├── AjustScreenBrightness.csproj.CoreCompileInputs.cache │ │ ├── AjustScreenBrightness.csproj.FileListAbsolute.txt │ │ ├── AjustScreenBrightness.csproj.GenerateResource.cache │ │ ├── AjustScreenBrightness.csprojAssemblyReference.cache │ │ ├── AjustScreenBrightness.exe │ │ ├── AjustScreenBrightness.exe.manifest │ │ ├── AjustScreenBrightness.pdb │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ ├── TempPE │ │ │ └── Properties.Resources.Designer.cs.dll │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ ├── Release │ │ ├── AjustScreenBrightness.Properties.Resources.resources │ │ ├── AjustScreenBrightness.UserControl.AjustDisplayControl.resources │ │ ├── AjustScreenBrightness.application │ │ ├── AjustScreenBrightness.csproj.CopyComplete │ │ ├── AjustScreenBrightness.csproj.CoreCompileInputs.cache │ │ ├── AjustScreenBrightness.csproj.FileListAbsolute.txt │ │ ├── AjustScreenBrightness.csproj.GenerateResource.cache │ │ ├── AjustScreenBrightness.csprojAssemblyReference.cache │ │ ├── AjustScreenBrightness.exe │ │ ├── AjustScreenBrightness.exe.manifest │ │ ├── AjustScreenBrightness.pdb │ │ ├── TempPE │ │ │ └── Properties.Resources.Designer.cs.dll │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ ├── x64 │ │ ├── Debug │ │ │ ├── AjustScreenBrightness.Properties.Resources.resources │ │ │ ├── AjustScreenBrightness.UserControl.AjustDisplayControl.resources │ │ │ ├── AjustScreenBrightness.application │ │ │ ├── AjustScreenBrightness.csproj.CoreCompileInputs.cache │ │ │ ├── AjustScreenBrightness.csproj.FileListAbsolute.txt │ │ │ ├── AjustScreenBrightness.csproj.Fody.CopyLocal.cache │ │ │ ├── AjustScreenBrightness.csproj.GenerateResource.cache │ │ │ ├── AjustScreenBrightness.csprojAssemblyReference.cache │ │ │ ├── AjustScreenBrightness.exe │ │ │ ├── AjustScreenBrightness.exe.manifest │ │ │ ├── AjustScreenBrightness.pdb │ │ │ ├── Costura │ │ │ │ ├── 59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed │ │ │ │ └── 62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed │ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ │ ├── TempPE │ │ │ │ └── Properties.Resources.Designer.cs.dll │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ └── Release │ │ │ ├── AjustScreenBrightness.Properties.Resources.resources │ │ │ ├── AjustScreenBrightness.UserControl.AjustDisplayControl.resources │ │ │ ├── AjustScreenBrightness.application │ │ │ ├── AjustScreenBrightness.csproj.CopyComplete │ │ │ ├── AjustScreenBrightness.csproj.CoreCompileInputs.cache │ │ │ ├── AjustScreenBrightness.csproj.FileListAbsolute.txt │ │ │ ├── AjustScreenBrightness.csproj.Fody.CopyLocal.cache │ │ │ ├── AjustScreenBrightness.csproj.GenerateResource.cache │ │ │ ├── AjustScreenBrightness.csprojAssemblyReference.cache │ │ │ ├── AjustScreenBrightness.exe │ │ │ ├── AjustScreenBrightness.exe.manifest │ │ │ ├── AjustScreenBrightness.pdb │ │ │ ├── Costura │ │ │ ├── 59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed │ │ │ └── 62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed │ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ │ ├── TempPE │ │ │ └── Properties.Resources.Designer.cs.dll │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ └── build.force │ └── x86 │ │ ├── Debug │ │ ├── AjustScreenBrightness.Properties.Resources.resources │ │ ├── AjustScreenBrightness.UserControl.AjustDisplayControl.resources │ │ ├── AjustScreenBrightness.application │ │ ├── AjustScreenBrightness.csproj.CoreCompileInputs.cache │ │ ├── AjustScreenBrightness.csproj.FileListAbsolute.txt │ │ ├── AjustScreenBrightness.csproj.Fody.CopyLocal.cache │ │ ├── AjustScreenBrightness.csproj.GenerateResource.cache │ │ ├── AjustScreenBrightness.csprojAssemblyReference.cache │ │ ├── AjustScreenBrightness.exe │ │ ├── AjustScreenBrightness.exe.manifest │ │ ├── AjustScreenBrightness.pdb │ │ ├── Costura │ │ │ ├── 59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed │ │ │ └── 62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed │ │ ├── TempPE │ │ │ └── Properties.Resources.Designer.cs.dll │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ └── Release │ │ ├── AjustScreenBrightness.Properties.Resources.resources │ │ ├── AjustScreenBrightness.UserControl.AjustDisplayControl.resources │ │ ├── AjustScreenBrightness.application │ │ ├── AjustScreenBrightness.csproj.CoreCompileInputs.cache │ │ ├── AjustScreenBrightness.csproj.FileListAbsolute.txt │ │ ├── AjustScreenBrightness.csproj.Fody.CopyLocal.cache │ │ ├── AjustScreenBrightness.csproj.GenerateResource.cache │ │ ├── AjustScreenBrightness.csprojAssemblyReference.cache │ │ ├── AjustScreenBrightness.exe │ │ ├── AjustScreenBrightness.exe.manifest │ │ ├── AjustScreenBrightness.pdb │ │ ├── Costura │ │ ├── 59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed │ │ └── 62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ ├── TempPE │ │ └── Properties.Resources.Designer.cs.dll │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs └── packages.config ├── README.md └── packages ├── Costura.Fody.3.3.2 ├── .signature.p7s ├── Costura.Fody.3.3.2.nupkg ├── build │ └── Costura.Fody.props ├── lib │ └── net40 │ │ ├── Costura.dll │ │ └── Costura.xml ├── netclassicweaver │ ├── Costura.Fody.dll │ ├── Costura.Fody.pdb │ └── Costura.Fody.xcf └── netstandardweaver │ ├── Costura.Fody.dll │ ├── Costura.Fody.pdb │ └── Costura.Fody.xcf └── Fody.3.3.5 ├── .signature.p7s ├── Fody.3.3.5.nupkg ├── build └── Fody.targets ├── netclassictask ├── Fody.dll ├── FodyCommon.dll ├── FodyHelpers.dll ├── FodyIsolated.dll ├── Mono.Cecil.Mdb.dll ├── Mono.Cecil.Mdb.pdb ├── Mono.Cecil.Pdb.dll ├── Mono.Cecil.Pdb.pdb ├── Mono.Cecil.Rocks.dll ├── Mono.Cecil.Rocks.pdb ├── Mono.Cecil.dll └── Mono.Cecil.pdb └── netstandardtask ├── Fody.dll ├── FodyCommon.dll ├── FodyHelpers.dll ├── FodyIsolated.dll ├── Mono.Cecil.Mdb.dll ├── Mono.Cecil.Mdb.pdb ├── Mono.Cecil.Pdb.dll ├── Mono.Cecil.Pdb.pdb ├── Mono.Cecil.Rocks.dll ├── Mono.Cecil.Rocks.pdb ├── Mono.Cecil.dll └── Mono.Cecil.pdb /.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /.vs/AjustScreenBrightness/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/.vs/AjustScreenBrightness/v15/.suo -------------------------------------------------------------------------------- /.vs/AjustScreenBrightness/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/.vs/AjustScreenBrightness/v15/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /.vs/AjustScreenBrightness/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/.vs/AjustScreenBrightness/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /.vs/AjustScreenBrightness/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/.vs/AjustScreenBrightness/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /.vs/AjustScreenBrightness/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/.vs/AjustScreenBrightness/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /.vs/VSWorkspaceState.json: -------------------------------------------------------------------------------- 1 | { 2 | "ExpandedNodes": [ 3 | "", 4 | "\\AjustScreenBrightness", 5 | "\\AjustScreenBrightness\\DLL" 6 | ], 7 | "SelectedNode": "\\AjustScreenBrightness\\DLL", 8 | "PreviewInSolutionExplorer": false 9 | } -------------------------------------------------------------------------------- /.vs/slnx.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/.vs/slnx.sqlite -------------------------------------------------------------------------------- /AjustScreenBrightness.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28307.102 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AjustScreenBrightness", "AjustScreenBrightness\AjustScreenBrightness.csproj", "{E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|Any CPU = Release|Any CPU 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 19 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Debug|Any CPU.Build.0 = Debug|Any CPU 20 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Debug|x64.ActiveCfg = Debug|x64 21 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Debug|x64.Build.0 = Debug|x64 22 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Debug|x86.ActiveCfg = Debug|x86 23 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Debug|x86.Build.0 = Debug|x86 24 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Release|Any CPU.ActiveCfg = Release|Any CPU 25 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Release|Any CPU.Build.0 = Release|Any CPU 26 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Release|x64.ActiveCfg = Release|x64 27 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Release|x64.Build.0 = Release|x64 28 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Release|x86.ActiveCfg = Release|x86 29 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3}.Release|x86.Build.0 = Release|x86 30 | EndGlobalSection 31 | GlobalSection(SolutionProperties) = preSolution 32 | HideSolutionNode = FALSE 33 | EndGlobalSection 34 | GlobalSection(ExtensibilityGlobals) = postSolution 35 | SolutionGuid = {214A809E-EEBB-4F1C-A313-A6D4197FA24D} 36 | EndGlobalSection 37 | EndGlobal 38 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Abstract/AjustScreenClass.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Imp; 2 | using AjustScreenBrightness.Model; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace AjustScreenBrightness.Abstract 10 | { 11 | public abstract class AjustScreenClass : IAjustScreen 12 | { 13 | /// 14 | /// 该类描述 15 | /// 16 | public abstract string AjustTypeDes { get; } 17 | public abstract bool AllowBrightness { get; } 18 | public abstract bool AllowContrast { get; } 19 | public abstract bool AllowGamma { get; } 20 | public virtual ScreenPropRange PropRange { get { return _propRange; } } 21 | 22 | internal ScreenPropRange _propRange = new ScreenPropRange(); 23 | 24 | private List AllScreenHandle = new List(); 25 | 26 | public AjustScreenClass() 27 | { 28 | } 29 | 30 | public abstract short GetBrightnessDefault(); 31 | public abstract short GetContrastDefault(); 32 | public abstract double GetGammaDefault(); 33 | public abstract ScreenConfig GetScreenConfigDefault(); 34 | public abstract bool SetBrightnessDefault(short val); 35 | public abstract bool SetContrastDefault(short val); 36 | public abstract bool SetGammaDefault(double val); 37 | public abstract bool SetScreenConfigDefault(ScreenConfig config); 38 | 39 | /// 40 | /// 恢复初始值 41 | /// 42 | public virtual bool Reset() 43 | { 44 | return false; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /AjustScreenBrightness/AjustScreenBrightness.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | Debug 7 | AnyCPU 8 | {E1B87D64-95E4-4E9C-B36C-4D78A8C340C3} 9 | WinExe 10 | AjustScreenBrightness 11 | AjustScreenBrightness 12 | v4.5 13 | 512 14 | true 15 | true 16 | 17 | false 18 | 19 | 20 | publish\ 21 | true 22 | Disk 23 | false 24 | Foreground 25 | 7 26 | Days 27 | false 28 | false 29 | true 30 | 1 31 | 1.0.0.%2a 32 | false 33 | true 34 | true 35 | 36 | 37 | x64 38 | true 39 | full 40 | false 41 | bin\Debug\ 42 | DEBUG;TRACE 43 | prompt 44 | 4 45 | 46 | 47 | AnyCPU 48 | pdbonly 49 | true 50 | bin\Release\ 51 | TRACE 52 | prompt 53 | 4 54 | 55 | 56 | 718A78206181B4D2B8C37AEEE10AB9DB2838B6B3 57 | 58 | 59 | AjustScreenBrightness_TemporaryKey.pfx 60 | 61 | 62 | true 63 | 64 | 65 | true 66 | 67 | 68 | true 69 | bin\x64\Debug\ 70 | DEBUG;TRACE 71 | full 72 | x64 73 | prompt 74 | MinimumRecommendedRules.ruleset 75 | true 76 | 77 | 78 | bin\x64\Release\ 79 | TRACE 80 | true 81 | pdbonly 82 | x64 83 | prompt 84 | MinimumRecommendedRules.ruleset 85 | true 86 | 87 | 88 | true 89 | bin\x86\Debug\ 90 | DEBUG;TRACE 91 | full 92 | x86 93 | prompt 94 | MinimumRecommendedRules.ruleset 95 | true 96 | 97 | 98 | bin\x86\Release\ 99 | TRACE 100 | true 101 | pdbonly 102 | x86 103 | prompt 104 | MinimumRecommendedRules.ruleset 105 | true 106 | 107 | 108 | 109 | ..\packages\Costura.Fody.3.3.2\lib\net40\Costura.dll 110 | 111 | 112 | False 113 | False 114 | C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_neutral_3daeca3838e011e0\igfxDHLib.dll 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | Form 137 | 138 | 139 | Form1.cs 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | UserControl 155 | 156 | 157 | AjustDisplayControl.cs 158 | 159 | 160 | ResXFileCodeGenerator 161 | Resources.Designer.cs 162 | Designer 163 | 164 | 165 | True 166 | Resources.resx 167 | True 168 | 169 | 170 | AjustDisplayControl.cs 171 | 172 | 173 | 174 | 175 | SettingsSingleFileGenerator 176 | Settings.Designer.cs 177 | 178 | 179 | True 180 | Settings.settings 181 | True 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | False 193 | .NET Framework 3.5 SP1 194 | false 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 205 | 206 | 207 | 208 | 209 | -------------------------------------------------------------------------------- /AjustScreenBrightness/AjustScreenBrightness.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | zh-CN 11 | false 12 | 13 | 14 | false 15 | 16 | -------------------------------------------------------------------------------- /AjustScreenBrightness/AjustScreenBrightness_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/AjustScreenBrightness_TemporaryKey.pfx -------------------------------------------------------------------------------- /AjustScreenBrightness/AjustScreenByDxva2.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Abstract; 2 | using AjustScreenBrightness.Enum; 3 | using AjustScreenBrightness.Model; 4 | using AjustScreenBrightness.NativeImp; 5 | using System; 6 | using System.Collections.Generic; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | 11 | namespace AjustScreenBrightness 12 | { 13 | /// 14 | /// 使用 dxva2.dll 进行操作 MSDN文档上提供的方法 15 | /// 16 | class AjustScreenByDxva2 : AjustScreenClass 17 | { 18 | public override string AjustTypeDes => "使用 dxva2.dll"; 19 | 20 | public override bool AllowBrightness => true; 21 | 22 | public override bool AllowContrast => false; 23 | 24 | public override bool AllowGamma => false; 25 | 26 | PhysicalMonitor[] _screen; 27 | 28 | public AjustScreenByDxva2(IntPtr handle) 29 | { 30 | uint pdwNumberOfPhysicalMonitors = uint.MinValue; 31 | 32 | var hMonitor = Native.user32 33 | .MonitorFromWindow(handle, (uint)NativeConstantsEnum.MonitorDefaultToPrimary); 34 | 35 | var bok = Native.dxva2 36 | .GetNumberOfPhysicalMonitorsFromHMONITOR(hMonitor, ref pdwNumberOfPhysicalMonitors); 37 | 38 | _screen = new PhysicalMonitor[pdwNumberOfPhysicalMonitors]; 39 | 40 | bok = Native.dxva2 41 | .GetPhysicalMonitorsFromHMONITOR(hMonitor, pdwNumberOfPhysicalMonitors 42 | , _screen); 43 | 44 | short current = -1, minimum = -1, maximum = -1; 45 | var getBrightness = Native.dxva2 46 | .GetMonitorBrightness(_screen[0].hPhysicalMonitor 47 | , ref minimum , ref current, ref maximum); 48 | 49 | _propRange.Brightness.Maximun = maximum; 50 | _propRange.Brightness.Minimun = minimum; 51 | 52 | Native.dxva2.GetMonitorContrast(_screen[0].hPhysicalMonitor 53 | , ref minimum, ref current, ref maximum); 54 | 55 | _propRange.Contrast.Maximun = maximum; 56 | _propRange.Contrast.Minimun = minimum; 57 | 58 | 59 | } 60 | 61 | public override short GetBrightnessDefault() 62 | { 63 | short current = -1, minimum = -1, maximum = -1; 64 | var getBrightness = Native.dxva2 65 | .GetMonitorBrightness(_screen[0].hPhysicalMonitor 66 | , ref minimum, ref current, ref maximum); 67 | 68 | if (!getBrightness) 69 | { 70 | var code = Native.Kernel32.GetLastError(); 71 | uint dwFlags = Native.Kernel32.FORMAT_MESSAGE_FROM_SYSTEM | Native.Kernel32.FORMAT_MESSAGE_IGNORE_INSERTS; 72 | 73 | StringBuilder lpBuffer = new StringBuilder(260); //声明StringBuilder的初始大小 74 | //笔记本上会出现 -- 将数据传输到 I2C 总线上的设备时出错。 75 | //感觉关于 DDC/CI 的问题 但是笔记本电脑没有物理按钮调整屏幕设置 目前问题还没有解决 76 | int count = Native.Kernel32.FormatMessage(dwFlags, IntPtr.Zero, code, 0, lpBuffer, 260, IntPtr.Zero); 77 | } 78 | return current; 79 | } 80 | 81 | public override short GetContrastDefault() 82 | { 83 | short current = -1, minimum = -1, maximum = -1; 84 | Native.dxva2.GetMonitorContrast(_screen[0].hPhysicalMonitor 85 | , ref minimum, ref current, ref maximum); 86 | return current; 87 | } 88 | 89 | public override double GetGammaDefault() 90 | { 91 | throw new NotImplementedException(); 92 | } 93 | 94 | public override ScreenConfig GetScreenConfigDefault() 95 | { 96 | throw new NotImplementedException(); 97 | } 98 | 99 | public override bool SetBrightnessDefault(short val) 100 | { 101 | var bok = Native.dxva2.SetMonitorBrightness(_screen[0].hPhysicalMonitor, val); 102 | return bok; 103 | } 104 | 105 | public override bool SetContrastDefault(short val) 106 | { 107 | var bok = Native.dxva2.SetMonitorContrast(_screen[0].hPhysicalMonitor 108 | , val); 109 | return bok; 110 | } 111 | 112 | public override bool SetGammaDefault(double val) 113 | { 114 | throw new NotImplementedException(); 115 | } 116 | 117 | public override bool SetScreenConfigDefault(ScreenConfig config) 118 | { 119 | throw new NotImplementedException(); 120 | } 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /AjustScreenBrightness/AjustScreenByGdi32.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Abstract; 2 | using AjustScreenBrightness.Model; 3 | using AjustScreenBrightness.NativeImp; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Drawing; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | 11 | namespace AjustScreenBrightness 12 | { 13 | class AjustScreenByGdi32 : AjustScreenClass 14 | { 15 | public override string AjustTypeDes => "使用Gdi32.dll"; 16 | 17 | public override bool AllowBrightness => false; 18 | 19 | public override bool AllowContrast => false; 20 | 21 | public override bool AllowGamma => true; 22 | 23 | IntPtr _screenHandle = Native.user32.GetDC(IntPtr.Zero); 24 | IntPtr _screenHandle2 = Graphics.FromHwnd(IntPtr.Zero).GetHdc(); 25 | 26 | public AjustScreenByGdi32() 27 | { 28 | _propRange.Gamma.Maximun = 1; 29 | _propRange.Gamma.Minimun = 0.5f; 30 | _screenHandle = _screenHandle2; 31 | } 32 | 33 | public override short GetBrightnessDefault() 34 | { 35 | throw new NotImplementedException(); 36 | } 37 | 38 | public override short GetContrastDefault() 39 | { 40 | throw new NotImplementedException(); 41 | } 42 | 43 | public override double GetGammaDefault() 44 | { 45 | var ramp = default(RAMP); 46 | var bok = Native.gdi32.GetDeviceGammaRamp(_screenHandle, ref ramp); 47 | double gamma = bok ? CalAllGammaVal(ramp) : double.MinValue; 48 | return gamma; 49 | 50 | } 51 | 52 | public override ScreenConfig GetScreenConfigDefault() 53 | { 54 | throw new NotImplementedException(); 55 | } 56 | 57 | public override bool SetBrightnessDefault(short val) 58 | { 59 | throw new NotImplementedException(); 60 | } 61 | 62 | public override bool SetContrastDefault(short val) 63 | { 64 | throw new NotImplementedException(); 65 | } 66 | 67 | public override bool SetGammaDefault(double val) 68 | { 69 | RAMP ramp = default(RAMP); 70 | ramp.Red = new ushort[256]; 71 | ramp.Green = new ushort[256]; 72 | ramp.Blue = new ushort[256]; 73 | 74 | for (int i = 1; i < 256; i++) 75 | { 76 | // gamma 必须在3和44之间 77 | //ramp.Red[i] = ramp.Green[i] = ramp.Blue[i] = 78 | // (ushort)(Math.Min(65535, 79 | // Math.Max(0, Math.Pow((i + 1) / 256.0, gamma * 0.1) * 65535 + 0.5) 80 | // )); 81 | 82 | // ramp.Red[i] = ramp.Green[i] = ramp.Blue[i] = 83 | //(ushort)(Math.Min(65535, Math.Max(0, Math.Pow((i + 1) / 256.0, val * 0.1) * 65535 + 0.5))); 84 | 85 | var tmp = (ushort)(i * 255 * val); 86 | 87 | ramp.Red[i] = ramp.Green[i] = ramp.Blue[i] 88 | = (ushort)(Math.Max(ushort.MinValue, Math.Min(ushort.MaxValue, tmp))); 89 | } 90 | var bok = Native.gdi32.SetDeviceGammaRamp(_screenHandle, ref ramp); 91 | 92 | return bok; 93 | } 94 | 95 | public override bool SetScreenConfigDefault(ScreenConfig config) 96 | { 97 | throw new NotImplementedException(); 98 | } 99 | 100 | private double CalAllGammaVal(RAMP ramp) 101 | { 102 | return Math.Round(((CalColorGammaVal(ramp.Blue) + CalColorGammaVal(ramp.Red) + 103 | CalColorGammaVal(ramp.Green)) / 3), 2); 104 | 105 | } 106 | 107 | private double CalColorGammaVal(ushort[] line) 108 | { 109 | var max = line.Max(); 110 | var min = line[0]; 111 | var index = Array.FindIndex(line, n => n == max); 112 | var gamma = Math.Round((((double)(max - min) / index) / 255),2); 113 | return gamma; 114 | } 115 | } 116 | } 117 | -------------------------------------------------------------------------------- /AjustScreenBrightness/AjustScreenByIgfxDHLib.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Abstract; 2 | using AjustScreenBrightness.Model; 3 | using igfxDHLib; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | 10 | namespace AjustScreenBrightness 11 | { 12 | /// 13 | /// 程序集添加引用 igfxDHLib.dll 14 | /// C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_neutral_3daeca3838e011e0\igfxDHLib.dll 15 | /// 16 | /// 17 | public class AjustScreenByIgfxDHLib : AjustScreenClass 18 | { 19 | public override string AjustTypeDes => "引用 igfxDHLib.dll"; 20 | 21 | public override bool AllowBrightness => true; 22 | 23 | public override bool AllowContrast => true; 24 | 25 | public override bool AllowGamma => true; 26 | 27 | DataHandlerClass _cls = new DataHandlerClass(); 28 | _CUI_COLOR_DEVICES _screenModel = default(_CUI_COLOR_DEVICES); 29 | 30 | public AjustScreenByIgfxDHLib() 31 | { 32 | 33 | CUI_SUPPORTED_CONFIG cui_SUPPORTED_CONFIG = default(CUI_SUPPORTED_CONFIG); 34 | uint num = _cls.get_SupportedConfig(ref cui_SUPPORTED_CONFIG); 35 | var id = cui_SUPPORTED_CONFIG.DeviceConfig[0].DispDev[0]; 36 | uint[] array = new uint[3]; 37 | var a = _cls.get_GetDeviceList(id, array); 38 | _screenModel.ulDevices = array[0]; 39 | _screenModel.Device = new _CUI_COLOR_INFO[3]; 40 | _screenModel.Device[0].Brightness.color = _COLOR_TYPE.NumColors; 41 | _screenModel.Device[0].Contrast.color = _COLOR_TYPE.NumColors; 42 | _screenModel.Device[0].Gamma.color = _COLOR_TYPE.NumColors; 43 | _screenModel.Command = _CUI_COLOR_COMMAND.GET_COLOR; 44 | _cls.get_color(_screenModel.ulDevices, ref _screenModel); 45 | 46 | _propRange.Brightness.Maximun = (int)_screenModel.Device[0].Brightness.values.fMax; 47 | _propRange.Brightness.Minimun = (int)_screenModel.Device[0].Brightness.values.fMin; 48 | _propRange.Contrast.Maximun = 80;//(int)_screenModel.Device[0].Contrast.values.fMax; 49 | _propRange.Contrast.Minimun = (int)_screenModel.Device[0].Contrast.values.fMin; 50 | _propRange.Gamma.Maximun = (int)_screenModel.Device[0].Gamma.values.fMax; 51 | _propRange.Gamma.Minimun = 0.4f;//(int)_screenModel.Device[0].Gamma.values.fMin; 52 | } 53 | 54 | public override short GetBrightnessDefault() 55 | { 56 | _screenModel.Command = _CUI_COLOR_COMMAND.GET_COLOR; 57 | _cls.get_color(_screenModel.ulDevices, ref _screenModel); 58 | 59 | return (short)_screenModel.Device[0].Brightness.values.fCurrent; 60 | } 61 | 62 | public override short GetContrastDefault() 63 | { 64 | _screenModel.Command = _CUI_COLOR_COMMAND.GET_COLOR; 65 | _cls.get_color(_screenModel.ulDevices, ref _screenModel); 66 | return (short)_screenModel.Device[0].Contrast.values.fCurrent; 67 | } 68 | 69 | public override double GetGammaDefault() 70 | { 71 | _screenModel.Command = _CUI_COLOR_COMMAND.GET_COLOR; 72 | _cls.get_color(_screenModel.ulDevices, ref _screenModel); 73 | return (short)_screenModel.Device[0].Gamma.values.fCurrent; 74 | } 75 | 76 | public override ScreenConfig GetScreenConfigDefault() 77 | { 78 | throw new NotImplementedException(); 79 | } 80 | 81 | public override bool SetBrightnessDefault(short val) 82 | { 83 | _screenModel.Command = _CUI_COLOR_COMMAND.CHANGE_DEVICE_COLOR; 84 | _screenModel.Device[0].bApplyGamma = 1; 85 | _screenModel.Device[0].Brightness.values.fCurrent = val; 86 | _cls.set_color(_screenModel.ulDevices,ref _screenModel,0u); 87 | return true; 88 | 89 | } 90 | 91 | public override bool SetContrastDefault(short val) 92 | { 93 | _screenModel.Command = _CUI_COLOR_COMMAND.CHANGE_DEVICE_COLOR; 94 | _screenModel.Device[0].bApplyGamma = 1; 95 | _screenModel.Device[0].Contrast.values.fCurrent = val; 96 | _cls.set_color(_screenModel.ulDevices, ref _screenModel, 0u); 97 | return true; 98 | } 99 | 100 | public override bool SetGammaDefault(double val) 101 | { 102 | _screenModel.Command = _CUI_COLOR_COMMAND.CHANGE_DEVICE_COLOR; 103 | _screenModel.Device[0].bApplyGamma = 1; 104 | _screenModel.Device[0].Gamma.values.fCurrent = (float)val; 105 | _cls.set_color(_screenModel.ulDevices, ref _screenModel, 0u); 106 | return true; 107 | } 108 | 109 | public override bool SetScreenConfigDefault(ScreenConfig config) 110 | { 111 | throw new NotImplementedException(); 112 | } 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /AjustScreenBrightness/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AjustScreenBrightness/DLL/igfxDHLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/DLL/igfxDHLib.dll -------------------------------------------------------------------------------- /AjustScreenBrightness/Enum/McDisplayTechnologyTypeEnum.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace AjustScreenBrightness.Enum 8 | { 9 | public enum McDisplayTechnologyType 10 | { 11 | McShadowMaskCathodeRayTube, 12 | McApertureGrillCathodeRayTube, 13 | McThinFilmTransistor, 14 | McLiquidCrystalOnSilicon, 15 | McPlasma, 16 | McOrganicLightEmittingDiode, 17 | McElectroluminescent, 18 | McMicroelectromechanical, 19 | McFieldEmissionDevice, 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Enum/NativeConstantsEnum.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace AjustScreenBrightness.Enum 8 | { 9 | public enum NativeConstantsEnum 10 | { 11 | MonitorDefaultToNull , 12 | MonitorDefaultToPrimary , 13 | MonitorDefaultToNearest 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Enum/ScreenColorEnum.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace AjustScreenBrightness.Enum 8 | { 9 | public enum ScreenColorEnum 10 | { 11 | All, 12 | Red, 13 | Green, 14 | Blue 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /AjustScreenBrightness/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /AjustScreenBrightness/FodyWeavers.xsd: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks 13 | 14 | 15 | 16 | 17 | A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. 18 | 19 | 20 | 21 | 22 | A list of unmanaged 32 bit assembly names to include, delimited with line breaks. 23 | 24 | 25 | 26 | 27 | A list of unmanaged 64 bit assembly names to include, delimited with line breaks. 28 | 29 | 30 | 31 | 32 | The order of preloaded assemblies, delimited with line breaks. 33 | 34 | 35 | 36 | 37 | 38 | This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. 39 | 40 | 41 | 42 | 43 | Controls if .pdbs for reference assemblies are also embedded. 44 | 45 | 46 | 47 | 48 | Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. 49 | 50 | 51 | 52 | 53 | As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. 54 | 55 | 56 | 57 | 58 | Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. 59 | 60 | 61 | 62 | 63 | Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. 64 | 65 | 66 | 67 | 68 | A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | 69 | 70 | 71 | 72 | 73 | A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. 74 | 75 | 76 | 77 | 78 | A list of unmanaged 32 bit assembly names to include, delimited with |. 79 | 80 | 81 | 82 | 83 | A list of unmanaged 64 bit assembly names to include, delimited with |. 84 | 85 | 86 | 87 | 88 | The order of preloaded assemblies, delimited with |. 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. 97 | 98 | 99 | 100 | 101 | A comma-separated list of error codes that can be safely ignored in assembly verification. 102 | 103 | 104 | 105 | 106 | 'false' to turn off automatic generation of the XML Schema file. 107 | 108 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace AjustScreenBrightness 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// 必需的设计器变量。 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// 清理所有正在使用的资源。 12 | /// 13 | /// 如果应释放托管资源,为 true;否则为 false。 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows 窗体设计器生成的代码 24 | 25 | /// 26 | /// 设计器支持所需的方法 - 不要修改 27 | /// 使用代码编辑器修改此方法的内容。 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form1"; 35 | } 36 | 37 | #endregion 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Form1.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Abstract; 2 | using AjustScreenBrightness.UserControl; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.ComponentModel; 6 | using System.Data; 7 | using System.Drawing; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | using System.Windows.Forms; 12 | 13 | namespace AjustScreenBrightness 14 | { 15 | public partial class Form1 : Form 16 | { 17 | 18 | public Form1() 19 | { 20 | InitializeComponent(); 21 | 22 | this.MaximizeBox = false; 23 | this.MinimizeBox = false; 24 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 25 | 26 | AjustScreenClass[] classes = { new AjustScreenByGdi32(), new AjustScreenByDxva2(this.Handle) }; 27 | 28 | AjustDisplayControl ctrl = null; 29 | int maxWidth = 0; 30 | 31 | for(int i = 0; i < classes.Length; i++) 32 | { 33 | ctrl = new AjustDisplayControl(classes[i]); 34 | ctrl.Parent = this; 35 | ctrl.Location = new Point(5 * (i + 1) + ctrl.Size.Width * (i), 5); 36 | maxWidth = ctrl.Location.X + ctrl.Size.Width; 37 | } 38 | 39 | this.Size = new Size(maxWidth + 25, ctrl.Size.Height + 50); 40 | 41 | 42 | 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Imp/IAjustScreen.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace AjustScreenBrightness.Imp 9 | { 10 | public interface IAjustScreen 11 | { 12 | short GetBrightnessDefault(); 13 | short GetContrastDefault(); 14 | double GetGammaDefault(); 15 | ScreenConfig GetScreenConfigDefault(); 16 | 17 | bool SetBrightnessDefault(short val); 18 | bool SetContrastDefault(short val); 19 | bool SetGammaDefault(double val); 20 | bool SetScreenConfigDefault(ScreenConfig config); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Model/PhysicalMonitor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace AjustScreenBrightness.Model 9 | { 10 | 11 | [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] 12 | public struct PhysicalMonitor 13 | { 14 | public IntPtr hPhysicalMonitor; 15 | [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] 16 | public string szPhysicalMonitorDescription; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Model/Ramp.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace AjustScreenBrightness.Model 9 | { 10 | [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] 11 | public struct RAMP 12 | { 13 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)] 14 | public UInt16[] Red; 15 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)] 16 | public UInt16[] Green; 17 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)] 18 | public UInt16[] Blue; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Model/ScreenConfig.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Enum; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace AjustScreenBrightness.Model 9 | { 10 | public class ScreenConfig 11 | { 12 | public uint Handle; 13 | /// 14 | /// 显示屏描述 15 | /// 16 | public string Des; 17 | public Dictionary Color; 18 | 19 | public ScreenConfig() 20 | { 21 | Color.Add(ScreenColorEnum.All, new ScreenDisplay()); 22 | Color.Add(ScreenColorEnum.Red, new ScreenDisplay()); 23 | Color.Add(ScreenColorEnum.Green, new ScreenDisplay()); 24 | Color.Add(ScreenColorEnum.Blue, new ScreenDisplay()); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Model/ScreenDisplay.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace AjustScreenBrightness.Model 8 | { 9 | public class ScreenDisplay 10 | { 11 | /// 12 | /// 亮度 13 | /// 14 | public short Brightness = short.MinValue; 15 | /// 16 | /// 对比度 17 | /// 18 | public short Contrast = short.MinValue; 19 | /// 20 | /// 伽玛 21 | /// 22 | public short Gamma = short.MinValue; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Model/ScreenPropRange.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace AjustScreenBrightness.Model 8 | { 9 | public class ScreenPropRange 10 | { 11 | public Range Brightness = new Range(); 12 | public Range Contrast = new Range(); 13 | public Range Gamma = new Range(); 14 | 15 | public class Range 16 | { 17 | public float Maximun; 18 | public float Minimun; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /AjustScreenBrightness/NativeImp/Native_Kernel32_dll.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace AjustScreenBrightness.NativeImp 9 | { 10 | public static partial class Native 11 | { 12 | public static class Kernel32 13 | { 14 | public const int FORMAT_MESSAGE_FROM_SYSTEM = 0x1000; 15 | public const int FORMAT_MESSAGE_IGNORE_INSERTS = 0x200; 16 | 17 | [DllImport("Kernel32.dll")] 18 | public static extern uint GetLastError(); 19 | 20 | [DllImport("Kernel32.dll")] 21 | public static extern int FormatMessage( 22 | uint dwFlags, IntPtr lpSource, uint dwMessageId 23 | , uint dwLanguageId, [Out]StringBuilder lpBuffer, uint nSize 24 | , IntPtr arguments); 25 | 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /AjustScreenBrightness/NativeImp/Native_dxva2_dll.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Enum; 2 | using AjustScreenBrightness.Model; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Runtime.InteropServices; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | 10 | namespace AjustScreenBrightness.NativeImp 11 | { 12 | public static partial class Native 13 | { 14 | public static class dxva2 15 | { 16 | [DllImport("dxva2.dll")] 17 | public static extern bool GetNumberOfPhysicalMonitorsFromHMONITOR(IntPtr hMonitor, ref uint pdwNumberOfPhysicalMonitors); 18 | 19 | [DllImport("dxva2.dll")] 20 | public static extern bool GetPhysicalMonitorsFromHMONITOR(IntPtr hMonitor, 21 | uint dwPhysicalMonitorArraySize, [Out] PhysicalMonitor[] pPhysicalMonitorArray); 22 | 23 | [DllImport("dxva2.dll")] 24 | public static extern bool DestroyPhysicalMonitors(uint dwPhysicalMonitorArraySize, 25 | [Out] PhysicalMonitor[] pPhysicalMonitorArray); 26 | 27 | [DllImport("dxva2.dll")] 28 | public static extern bool GetMonitorTechnologyType(IntPtr hMonitor, 29 | ref McDisplayTechnologyType pdtyDisplayTechnologyType); 30 | 31 | [DllImport("dxva2.dll")] 32 | public static extern bool GetMonitorCapabilities(IntPtr hMonitor, ref uint pdwMonitorCapabilities, 33 | ref uint pdwSupportedColorTemperatures); 34 | 35 | [DllImport("dxva2.dll")] 36 | public static extern bool SetMonitorBrightness(IntPtr hMonitor, short brightness); 37 | 38 | [DllImport("dxva2.dll")] 39 | public static extern bool SetMonitorContrast(IntPtr hMonitor, short contrast); 40 | 41 | [DllImport("dxva2.dll")] 42 | public static extern bool GetMonitorBrightness(IntPtr hMonitor, ref short pdwMinimumBrightness, 43 | ref short pdwCurrentBrightness, ref short pdwMaximumBrightness); 44 | 45 | [DllImport("dxva2.dll")] 46 | public static extern bool GetMonitorContrast(IntPtr hMonitor, ref short pwdMinimumContrast, 47 | ref short pwdCurrentContrast, ref short pwdMaximumContrast); 48 | } 49 | } 50 | 51 | } -------------------------------------------------------------------------------- /AjustScreenBrightness/NativeImp/Native_gdi32_DLL.cs: -------------------------------------------------------------------------------- 1 | using AjustScreenBrightness.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Runtime.InteropServices; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | using static AjustScreenBrightness.AjustScreenByGdi32; 9 | 10 | namespace AjustScreenBrightness.NativeImp 11 | { 12 | public static partial class Native 13 | { 14 | public static class gdi32 15 | { 16 | [DllImport("gdi32.dll")] 17 | public static extern bool GetDeviceGammaRamp(IntPtr hDC, ref RAMP lpRamp); 18 | 19 | [DllImport("gdi32.dll")] 20 | public static extern bool SetDeviceGammaRamp(IntPtr hDC, ref RAMP lpRamp); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /AjustScreenBrightness/NativeImp/Native_user32_dll.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace AjustScreenBrightness.NativeImp 9 | { 10 | public static partial class Native 11 | { 12 | public static class user32 13 | { 14 | [DllImport("user32.dll")] 15 | public static extern IntPtr GetDC(IntPtr hWnd); 16 | 17 | [DllImport("user32.dll")] 18 | public static extern IntPtr MonitorFromWindow([In] IntPtr hwnd, uint dwFlags); 19 | } 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace AjustScreenBrightness 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// 应用程序的主入口点。 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("AjustScreenBrightness")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("AjustScreenBrightness")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2019")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 会使此程序集中的类型 18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("e1b87d64-95e4-4e9c-b36c-4d78a8c340c3")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace AjustScreenBrightness.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// 一个强类型的资源类,用于查找本地化的字符串等。 17 | /// 18 | // 此类是由 StronglyTypedResourceBuilder 19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen 21 | // (以 /str 作为命令选项),或重新生成 VS 项目。 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// 返回此类使用的缓存的 ResourceManager 实例。 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AjustScreenBrightness.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// 重写当前线程的 CurrentUICulture 属性 51 | /// 重写当前线程的 CurrentUICulture 属性。 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace AjustScreenBrightness.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /AjustScreenBrightness/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /AjustScreenBrightness/UserControl/AjustDisplayControl.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | using System.Windows.Forms; 3 | 4 | namespace AjustScreenBrightness.UserControl 5 | { 6 | partial class AjustDisplayControl 7 | { 8 | /// 9 | /// 必需的设计器变量。 10 | /// 11 | private System.ComponentModel.IContainer components = null; 12 | 13 | /// 14 | /// 清理所有正在使用的资源。 15 | /// 16 | /// 如果应释放托管资源,为 true;否则为 false。 17 | protected override void Dispose(bool disposing) 18 | { 19 | if (disposing && (components != null)) 20 | { 21 | components.Dispose(); 22 | } 23 | base.Dispose(disposing); 24 | } 25 | 26 | #region 组件设计器生成的代码 27 | 28 | /// 29 | /// 设计器支持所需的方法 - 不要修改 30 | /// 使用代码编辑器修改此方法的内容。 31 | /// 32 | private void InitializeComponent() 33 | { 34 | this.groupBox1 = new System.Windows.Forms.GroupBox(); 35 | this.plGamma = new System.Windows.Forms.Panel(); 36 | this.lblGammaVal = new System.Windows.Forms.Label(); 37 | this.tbGamma = new System.Windows.Forms.TrackBar(); 38 | this.lblGamma = new System.Windows.Forms.Label(); 39 | this.plContrast = new System.Windows.Forms.Panel(); 40 | this.lblContrastVal = new System.Windows.Forms.Label(); 41 | this.lblContrast = new System.Windows.Forms.Label(); 42 | this.tbContrast = new System.Windows.Forms.TrackBar(); 43 | this.plBrightness = new System.Windows.Forms.Panel(); 44 | this.lblBrightnessVal = new System.Windows.Forms.Label(); 45 | this.lblBright = new System.Windows.Forms.Label(); 46 | this.tbBrightness = new System.Windows.Forms.TrackBar(); 47 | this.btnReset = new System.Windows.Forms.Button(); 48 | this.btnCancel = new System.Windows.Forms.Button(); 49 | this.btnOK = new System.Windows.Forms.Button(); 50 | this.lblTip = new System.Windows.Forms.Label(); 51 | this.groupBox1.SuspendLayout(); 52 | this.plGamma.SuspendLayout(); 53 | ((System.ComponentModel.ISupportInitialize)(this.tbGamma)).BeginInit(); 54 | this.plContrast.SuspendLayout(); 55 | ((System.ComponentModel.ISupportInitialize)(this.tbContrast)).BeginInit(); 56 | this.plBrightness.SuspendLayout(); 57 | ((System.ComponentModel.ISupportInitialize)(this.tbBrightness)).BeginInit(); 58 | this.SuspendLayout(); 59 | // 60 | // groupBox1 61 | // 62 | this.groupBox1.Controls.Add(this.lblTip); 63 | this.groupBox1.Controls.Add(this.plGamma); 64 | this.groupBox1.Controls.Add(this.plContrast); 65 | this.groupBox1.Controls.Add(this.plBrightness); 66 | this.groupBox1.Controls.Add(this.btnReset); 67 | this.groupBox1.Controls.Add(this.btnCancel); 68 | this.groupBox1.Controls.Add(this.btnOK); 69 | this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; 70 | this.groupBox1.Location = new System.Drawing.Point(0, 0); 71 | this.groupBox1.Name = "groupBox1"; 72 | this.groupBox1.Size = new System.Drawing.Size(321, 240); 73 | this.groupBox1.TabIndex = 0; 74 | this.groupBox1.TabStop = false; 75 | this.groupBox1.Text = "屏幕界面"; 76 | // 77 | // plGamma 78 | // 79 | this.plGamma.Controls.Add(this.lblGammaVal); 80 | this.plGamma.Controls.Add(this.tbGamma); 81 | this.plGamma.Controls.Add(this.lblGamma); 82 | this.plGamma.Location = new System.Drawing.Point(6, 135); 83 | this.plGamma.Name = "plGamma"; 84 | this.plGamma.Size = new System.Drawing.Size(309, 53); 85 | this.plGamma.TabIndex = 15; 86 | // 87 | // lblGammaVal 88 | // 89 | this.lblGammaVal.AutoSize = true; 90 | this.lblGammaVal.Location = new System.Drawing.Point(265, 11); 91 | this.lblGammaVal.Name = "lblGammaVal"; 92 | this.lblGammaVal.Size = new System.Drawing.Size(41, 12); 93 | this.lblGammaVal.TabIndex = 12; 94 | this.lblGammaVal.Text = "label3"; 95 | // 96 | // tbGamma 97 | // 98 | this.tbGamma.Location = new System.Drawing.Point(55, 4); 99 | this.tbGamma.Maximum = 200; 100 | this.tbGamma.Name = "tbGamma"; 101 | this.tbGamma.Size = new System.Drawing.Size(209, 45); 102 | this.tbGamma.TabIndex = 6; 103 | this.tbGamma.TickFrequency = 10; 104 | // 105 | // lblGamma 106 | // 107 | this.lblGamma.AutoSize = true; 108 | this.lblGamma.Location = new System.Drawing.Point(5, 11); 109 | this.lblGamma.Name = "lblGamma"; 110 | this.lblGamma.Size = new System.Drawing.Size(41, 12); 111 | this.lblGamma.TabIndex = 9; 112 | this.lblGamma.Text = "伽玛:"; 113 | // 114 | // plContrast 115 | // 116 | this.plContrast.Controls.Add(this.lblContrastVal); 117 | this.plContrast.Controls.Add(this.lblContrast); 118 | this.plContrast.Controls.Add(this.tbContrast); 119 | this.plContrast.Location = new System.Drawing.Point(6, 76); 120 | this.plContrast.Name = "plContrast"; 121 | this.plContrast.Size = new System.Drawing.Size(309, 53); 122 | this.plContrast.TabIndex = 14; 123 | // 124 | // lblContrastVal 125 | // 126 | this.lblContrastVal.AutoSize = true; 127 | this.lblContrastVal.Location = new System.Drawing.Point(265, 11); 128 | this.lblContrastVal.Name = "lblContrastVal"; 129 | this.lblContrastVal.Size = new System.Drawing.Size(41, 12); 130 | this.lblContrastVal.TabIndex = 11; 131 | this.lblContrastVal.Text = "label2"; 132 | // 133 | // lblContrast 134 | // 135 | this.lblContrast.AutoSize = true; 136 | this.lblContrast.Location = new System.Drawing.Point(5, 11); 137 | this.lblContrast.Name = "lblContrast"; 138 | this.lblContrast.Size = new System.Drawing.Size(53, 12); 139 | this.lblContrast.TabIndex = 10; 140 | this.lblContrast.Text = "对比度:"; 141 | // 142 | // tbContrast 143 | // 144 | this.tbContrast.Location = new System.Drawing.Point(55, 4); 145 | this.tbContrast.Name = "tbContrast"; 146 | this.tbContrast.Size = new System.Drawing.Size(209, 45); 147 | this.tbContrast.TabIndex = 9; 148 | this.tbContrast.TickFrequency = 10; 149 | // 150 | // plBrightness 151 | // 152 | this.plBrightness.Controls.Add(this.lblBrightnessVal); 153 | this.plBrightness.Controls.Add(this.lblBright); 154 | this.plBrightness.Controls.Add(this.tbBrightness); 155 | this.plBrightness.Location = new System.Drawing.Point(6, 17); 156 | this.plBrightness.Name = "plBrightness"; 157 | this.plBrightness.Size = new System.Drawing.Size(309, 53); 158 | this.plBrightness.TabIndex = 13; 159 | // 160 | // lblBrightnessVal 161 | // 162 | this.lblBrightnessVal.AutoSize = true; 163 | this.lblBrightnessVal.Location = new System.Drawing.Point(265, 11); 164 | this.lblBrightnessVal.Name = "lblBrightnessVal"; 165 | this.lblBrightnessVal.Size = new System.Drawing.Size(41, 12); 166 | this.lblBrightnessVal.TabIndex = 10; 167 | this.lblBrightnessVal.Text = "label1"; 168 | // 169 | // lblBright 170 | // 171 | this.lblBright.AutoSize = true; 172 | this.lblBright.Location = new System.Drawing.Point(5, 11); 173 | this.lblBright.Name = "lblBright"; 174 | this.lblBright.Size = new System.Drawing.Size(41, 12); 175 | this.lblBright.TabIndex = 9; 176 | this.lblBright.Text = "亮度:"; 177 | // 178 | // tbBrightness 179 | // 180 | this.tbBrightness.Location = new System.Drawing.Point(55, 4); 181 | this.tbBrightness.Name = "tbBrightness"; 182 | this.tbBrightness.Size = new System.Drawing.Size(209, 45); 183 | this.tbBrightness.TabIndex = 8; 184 | this.tbBrightness.TickFrequency = 10; 185 | // 186 | // btnReset 187 | // 188 | this.btnReset.Location = new System.Drawing.Point(223, 196); 189 | this.btnReset.Name = "btnReset"; 190 | this.btnReset.Size = new System.Drawing.Size(75, 23); 191 | this.btnReset.TabIndex = 12; 192 | this.btnReset.Text = "重置"; 193 | this.btnReset.UseVisualStyleBackColor = true; 194 | // 195 | // btnCancel 196 | // 197 | this.btnCancel.Location = new System.Drawing.Point(123, 196); 198 | this.btnCancel.Name = "btnCancel"; 199 | this.btnCancel.Size = new System.Drawing.Size(75, 23); 200 | this.btnCancel.TabIndex = 11; 201 | this.btnCancel.Text = "取消"; 202 | this.btnCancel.UseVisualStyleBackColor = true; 203 | // 204 | // btnOK 205 | // 206 | this.btnOK.Location = new System.Drawing.Point(30, 196); 207 | this.btnOK.Name = "btnOK"; 208 | this.btnOK.Size = new System.Drawing.Size(75, 23); 209 | this.btnOK.TabIndex = 10; 210 | this.btnOK.Text = "确定"; 211 | this.btnOK.UseVisualStyleBackColor = true; 212 | // 213 | // lblTip 214 | // 215 | this.lblTip.AutoSize = true; 216 | this.lblTip.Location = new System.Drawing.Point(23, 201); 217 | this.lblTip.Name = "lblTip"; 218 | this.lblTip.Size = new System.Drawing.Size(29, 12); 219 | this.lblTip.TabIndex = 13; 220 | this.lblTip.Text = "提示"; 221 | // 222 | // AjustDisplayControl 223 | // 224 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 225 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 226 | this.Controls.Add(this.groupBox1); 227 | this.Name = "AjustDisplayControl"; 228 | this.Size = new System.Drawing.Size(321, 240); 229 | this.groupBox1.ResumeLayout(false); 230 | this.groupBox1.PerformLayout(); 231 | this.plGamma.ResumeLayout(false); 232 | this.plGamma.PerformLayout(); 233 | ((System.ComponentModel.ISupportInitialize)(this.tbGamma)).EndInit(); 234 | this.plContrast.ResumeLayout(false); 235 | this.plContrast.PerformLayout(); 236 | ((System.ComponentModel.ISupportInitialize)(this.tbContrast)).EndInit(); 237 | this.plBrightness.ResumeLayout(false); 238 | this.plBrightness.PerformLayout(); 239 | ((System.ComponentModel.ISupportInitialize)(this.tbBrightness)).EndInit(); 240 | this.ResumeLayout(false); 241 | 242 | } 243 | 244 | #endregion 245 | 246 | private GroupBox groupBox1; 247 | private Button btnCancel; 248 | private Button btnOK; 249 | private Label lblGamma; 250 | private TrackBar tbGamma; 251 | private Button btnReset; 252 | private Label lblContrast; 253 | private TrackBar tbContrast; 254 | private Panel plBrightness; 255 | private Label lblBright; 256 | private TrackBar tbBrightness; 257 | private Panel plGamma; 258 | private Panel plContrast; 259 | private Label lblGammaVal; 260 | private Label lblContrastVal; 261 | private Label lblBrightnessVal; 262 | private Label lblTip; 263 | } 264 | } 265 | -------------------------------------------------------------------------------- /AjustScreenBrightness/UserControl/AjustDisplayControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Drawing; 5 | using System.Data; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using AjustScreenBrightness.Abstract; 11 | using AjustScreenBrightness.NativeImp; 12 | 13 | namespace AjustScreenBrightness.UserControl 14 | { 15 | public partial class AjustDisplayControl : System.Windows.Forms.UserControl 16 | { 17 | AjustScreenClass _cls; 18 | 19 | 20 | public AjustDisplayControl(AjustScreenClass cls = null) 21 | { 22 | InitializeComponent(); 23 | _cls = cls; 24 | Init(); 25 | RegisterEvent(); 26 | } 27 | 28 | int _oriBrightness = 0; 29 | int _oriContrast = 0; 30 | int _oriGamma = 0; 31 | 32 | 33 | public void Init() 34 | { 35 | if (_cls == null) 36 | { 37 | this.Enabled = false; 38 | this.BackColor = Color.Red; 39 | return; 40 | } 41 | 42 | this.btnOK.Visible = false; 43 | this.btnCancel.Visible = false; 44 | this.groupBox1.Text = _cls.AjustTypeDes; 45 | 46 | #region 尽量不要大幅度改动一下代码 , 操作不慎后果很严重 ,整个屏幕什么都看不到 47 | this.tbBrightness.Maximum = (int)_cls.PropRange.Brightness.Maximun; 48 | this.tbBrightness.Minimum = (int)_cls.PropRange.Brightness.Minimun; 49 | this.tbContrast.Maximum = (int)_cls.PropRange.Contrast.Maximun; 50 | this.tbContrast.Minimum = (int)_cls.PropRange.Contrast.Minimun; 51 | this.tbGamma.Maximum = (int)(_cls.PropRange.Gamma.Maximun * 100); 52 | this.tbGamma.Minimum = (int)(_cls.PropRange.Gamma.Minimun * 100); 53 | #endregion 54 | 55 | this.plBrightness.Visible = _cls.AllowBrightness; 56 | this.plContrast.Visible = _cls.AllowContrast; 57 | this.plGamma.Visible = _cls.AllowGamma; 58 | 59 | if (_cls.AllowBrightness) 60 | { 61 | this.tbBrightness.Value = _cls.GetBrightnessDefault(); 62 | _oriBrightness = this.tbBrightness.Value; 63 | lblBrightnessVal.Text = this.tbBrightness.Value + ""; 64 | } 65 | 66 | if (_cls.AllowContrast) 67 | { 68 | this.tbContrast.Value = _cls.GetContrastDefault(); 69 | _oriContrast = this.tbContrast.Value; 70 | lblContrastVal.Text = this.tbContrast.Value + ""; 71 | } 72 | 73 | if (_cls.AllowGamma) 74 | { 75 | var val = (int)(_cls.GetGammaDefault() * 100); 76 | this.tbGamma.Maximum = Math.Max(val, this.tbGamma.Maximum); 77 | this.tbGamma.Minimum = Math.Min(val, this.tbGamma.Minimum); 78 | this.tbGamma.Value = val; 79 | _oriGamma = this.tbGamma.Value; 80 | lblGammaVal.Text = ((double)this.tbGamma.Value / 100) + ""; 81 | } 82 | 83 | } 84 | 85 | void RegisterEvent() 86 | { 87 | this.btnOK.Click += BtnOK_Click; 88 | this.btnCancel.Click += BtnCancel_Click; 89 | this.btnReset.Click += BtnReset_Click; 90 | this.tbBrightness.ValueChanged += TbBrightness_ValueChanged; 91 | this.tbContrast.ValueChanged += TbContrast_ValueChanged; 92 | this.tbGamma.ValueChanged += TbGamma_ValueChanged; 93 | } 94 | 95 | private void TbBrightness_ValueChanged(object sender, EventArgs e) 96 | { 97 | _cls.SetBrightnessDefault((short)this.tbBrightness.Value); 98 | lblBrightnessVal.Text = this.tbBrightness.Value + ""; 99 | } 100 | 101 | private void TbContrast_ValueChanged(object sender, EventArgs e) 102 | { 103 | _cls.SetContrastDefault((short)this.tbContrast.Value); 104 | lblContrastVal.Text = this.tbContrast.Value + ""; 105 | } 106 | 107 | private void TbGamma_ValueChanged(object sender, EventArgs e) 108 | { 109 | var bok = _cls.SetGammaDefault(((double)this.tbGamma.Value / 100)); 110 | 111 | lblGammaVal.Text = ((double)this.tbGamma.Value / 100) + ""; 112 | 113 | if (bok) 114 | { 115 | this.lblTip.Visible = false; 116 | } 117 | else 118 | { 119 | 120 | 121 | var code = Native.Kernel32.GetLastError(); 122 | uint dwFlags = Native.Kernel32.FORMAT_MESSAGE_FROM_SYSTEM | Native.Kernel32.FORMAT_MESSAGE_IGNORE_INSERTS; 123 | 124 | StringBuilder lpBuffer = new StringBuilder(260); 125 | int count = Native.Kernel32.FormatMessage(dwFlags, IntPtr.Zero, code, 0, lpBuffer, 260, IntPtr.Zero); 126 | 127 | this.lblTip.Visible = true; 128 | this.lblTip.Text = "setting false:" + lpBuffer.ToString(); 129 | 130 | } 131 | } 132 | 133 | private void BtnReset_Click(object sender, EventArgs e) 134 | { 135 | if (this.plBrightness.Visible) 136 | { 137 | _cls.SetBrightnessDefault((short)_oriBrightness); 138 | this.tbBrightness.Value = _oriBrightness; 139 | } 140 | if (this.plContrast.Visible) 141 | { 142 | _cls.SetContrastDefault((short)_oriContrast); 143 | this.tbContrast.Value = _oriContrast; 144 | } 145 | if (this.plGamma.Visible) 146 | { 147 | _cls.SetGammaDefault(((double)_oriGamma / 100)); 148 | this.tbGamma.Value = _oriGamma; 149 | } 150 | } 151 | 152 | private void BtnCancel_Click(object sender, EventArgs e) 153 | { 154 | if (this.plBrightness.Visible) 155 | { 156 | _cls.SetBrightnessDefault((short)_oriBrightness); 157 | this.tbBrightness.Value = _oriBrightness; 158 | } 159 | if (this.plContrast.Visible) 160 | { 161 | _cls.SetContrastDefault((short)_oriContrast); 162 | this.tbContrast.Value = _oriContrast; 163 | } 164 | if (this.plGamma.Visible) 165 | { 166 | _cls.SetGammaDefault(((double)_oriGamma / 100)); 167 | this.tbGamma.Value = _oriGamma; 168 | } 169 | } 170 | 171 | private void BtnOK_Click(object sender, EventArgs e) 172 | { 173 | if (this.plBrightness.Visible) 174 | { 175 | _cls.SetBrightnessDefault((short)this.tbBrightness.Value); 176 | } 177 | if (this.plContrast.Visible) 178 | { 179 | _cls.SetContrastDefault((short)this.tbContrast.Value); 180 | } 181 | if (this.plGamma.Visible) 182 | { 183 | _cls.SetGammaDefault(((double)this.tbGamma.Value / 100)); 184 | } 185 | } 186 | } 187 | } 188 | -------------------------------------------------------------------------------- /AjustScreenBrightness/UserControl/AjustDisplayControl.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/AjustScreenBrightness.Properties.Resources.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.UserControl.AjustDisplayControl.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/AjustScreenBrightness.UserControl.AjustDisplayControl.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.application: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | pvoz9u234UbCFVI7ZRnV+k+mZX7d/iodi/QuJkTGPf4= 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/AjustScreenBrightness.csproj.CopyComplete -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 1cac0c9eada81787e0efee81c33b834bbb8e30fa 2 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.csprojAssemblyReference.cache 2 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.Properties.Resources.resources 3 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.UserControl.AjustDisplayControl.resources 4 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.csproj.GenerateResource.cache 5 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.csproj.CoreCompileInputs.cache 6 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\AjustScreenBrightness.exe.config 7 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\AjustScreenBrightness.exe 8 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\AjustScreenBrightness.pdb 9 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.exe 10 | D:\Code\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.pdb 11 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\AjustScreenBrightness.exe.config 12 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\AjustScreenBrightness.exe 13 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\AjustScreenBrightness.pdb 14 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.Properties.Resources.resources 15 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.UserControl.AjustDisplayControl.resources 16 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.csproj.GenerateResource.cache 17 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.csproj.CoreCompileInputs.cache 18 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.exe 19 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.pdb 20 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\igfxDHLib.dll 21 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.csproj.CopyComplete 22 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.csprojAssemblyReference.cache 23 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\AjustScreenBrightness.exe.manifest 24 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Debug\AjustScreenBrightness.application 25 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.exe.manifest 26 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Debug\AjustScreenBrightness.application 27 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/AjustScreenBrightness.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/AjustScreenBrightness.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/AjustScreenBrightness.exe -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | ybIHjTRYUu1zUExyIA2236kFGXF93JmR6qnXWjCvRYs= 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 2cW+KDtQ4WSu0Mv88HaM0QTOUlD8CoDpYQq+X3PM6VA= 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | FqWy0dfMmRS85zkU1NlW07p6LsNOPUHodvLiZcFdgJY= 75 | 76 | 77 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/AjustScreenBrightness.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/AjustScreenBrightness.pdb -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/AjustScreenBrightness.Properties.Resources.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.UserControl.AjustDisplayControl.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/AjustScreenBrightness.UserControl.AjustDisplayControl.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.application: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | xIbipgCBDjLFgCWjsB8Ripgm2OpQ6+hg6l43i2vqA2Q= 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/AjustScreenBrightness.csproj.CopyComplete -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 1cac0c9eada81787e0efee81c33b834bbb8e30fa 2 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Release\AjustScreenBrightness.exe.config 2 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Release\AjustScreenBrightness.exe 3 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Release\AjustScreenBrightness.pdb 4 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Release\igfxDHLib.dll 5 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.Properties.Resources.resources 6 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.UserControl.AjustDisplayControl.resources 7 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.csproj.GenerateResource.cache 8 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.csproj.CoreCompileInputs.cache 9 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.csproj.CopyComplete 10 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.exe 11 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.pdb 12 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Release\AjustScreenBrightness.exe.manifest 13 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\Release\AjustScreenBrightness.application 14 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.csprojAssemblyReference.cache 15 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.exe.manifest 16 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\Release\AjustScreenBrightness.application 17 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/AjustScreenBrightness.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/AjustScreenBrightness.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/AjustScreenBrightness.exe -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | sT5IBIUwI6psy1jSYlc9RAyEa9tEis7ULhdR2oI8yBw= 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 2cW+KDtQ4WSu0Mv88HaM0QTOUlD8CoDpYQq+X3PM6VA= 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | FqWy0dfMmRS85zkU1NlW07p6LsNOPUHodvLiZcFdgJY= 75 | 76 | 77 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/AjustScreenBrightness.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/AjustScreenBrightness.pdb -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.Properties.Resources.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.UserControl.AjustDisplayControl.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.UserControl.AjustDisplayControl.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.application: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | X6qYx+YR8XTB3k7dlKvIb+bDlbvbGpvDdhBG1xSTzXs= 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 09acd84696c274baab26fce3d94a9008a9fc70d8 2 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Debug\AjustScreenBrightness.exe.config 2 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Debug\AjustScreenBrightness.exe.manifest 3 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Debug\AjustScreenBrightness.application 4 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Debug\AjustScreenBrightness.exe 5 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Debug\AjustScreenBrightness.pdb 6 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.Properties.Resources.resources 7 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.UserControl.AjustDisplayControl.resources 8 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.csproj.GenerateResource.cache 9 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.csproj.CoreCompileInputs.cache 10 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.exe.manifest 11 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.application 12 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.exe 13 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.pdb 14 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Debug\AjustScreenBrightness.csprojAssemblyReference.cache 15 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.csproj.Fody.CopyLocal.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.csproj.Fody.CopyLocal.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.exe -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | CcCeM3grYsQlUiTxuDJ9gQtpzURy40DVD0Md61PBDu4= 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | FqWy0dfMmRS85zkU1NlW07p6LsNOPUHodvLiZcFdgJY= 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 2cW+KDtQ4WSu0Mv88HaM0QTOUlD8CoDpYQq+X3PM6VA= 72 | 73 | 74 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/AjustScreenBrightness.pdb -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/Costura/59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/Costura/59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/Costura/62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/Costura/62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.Properties.Resources.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.UserControl.AjustDisplayControl.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.UserControl.AjustDisplayControl.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.application: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | xqcKeccJJ6uxTraTW+N1aHc3EUELqfxQC+zz+bjrE8I= 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csproj.CopyComplete -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 1cac0c9eada81787e0efee81c33b834bbb8e30fa 2 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Release\AjustScreenBrightness.exe.config 2 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Release\AjustScreenBrightness.exe.manifest 3 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Release\AjustScreenBrightness.application 4 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Release\AjustScreenBrightness.exe 5 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Release\AjustScreenBrightness.pdb 6 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.Properties.Resources.resources 7 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.UserControl.AjustDisplayControl.resources 8 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.csproj.GenerateResource.cache 9 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.csproj.CoreCompileInputs.cache 10 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.exe.manifest 11 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.application 12 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.exe 13 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.pdb 14 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.csprojAssemblyReference.cache 15 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x64\Release\igfxDHLib.dll 16 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x64\Release\AjustScreenBrightness.csproj.CopyComplete 17 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csproj.Fody.CopyLocal.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csproj.Fody.CopyLocal.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.exe -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | vwtWZ+hm2LsuF5CE/EtMwL+mnRHEm6RhNSdGL9opPOY= 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 2cW+KDtQ4WSu0Mv88HaM0QTOUlD8CoDpYQq+X3PM6VA= 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | FqWy0dfMmRS85zkU1NlW07p6LsNOPUHodvLiZcFdgJY= 75 | 76 | 77 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/AjustScreenBrightness.pdb -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/Costura/59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/Costura/59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/Costura/62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/Costura/62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x64/Release/build.force: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x64/Release/build.force -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.Properties.Resources.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.UserControl.AjustDisplayControl.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.UserControl.AjustDisplayControl.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.application: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | PxRo6eh3q0v6SGBxfxvv009ItGjQyx4ylBGbcehzbDI= 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 09acd84696c274baab26fce3d94a9008a9fc70d8 2 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Debug\AjustScreenBrightness.exe.config 2 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Debug\AjustScreenBrightness.exe.manifest 3 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Debug\AjustScreenBrightness.application 4 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Debug\AjustScreenBrightness.exe 5 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Debug\AjustScreenBrightness.pdb 6 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.csprojAssemblyReference.cache 7 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.Properties.Resources.resources 8 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.UserControl.AjustDisplayControl.resources 9 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.csproj.GenerateResource.cache 10 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.csproj.CoreCompileInputs.cache 11 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.exe.manifest 12 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.application 13 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.exe 14 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Debug\AjustScreenBrightness.pdb 15 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.csproj.Fody.CopyLocal.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.csproj.Fody.CopyLocal.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.exe -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 4P+wWgn5GTNh0+cK1RUOja/GBFiFGiosQj35wY8KVig= 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | FqWy0dfMmRS85zkU1NlW07p6LsNOPUHodvLiZcFdgJY= 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 2cW+KDtQ4WSu0Mv88HaM0QTOUlD8CoDpYQq+X3PM6VA= 72 | 73 | 74 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/AjustScreenBrightness.pdb -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/Costura/59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/Costura/59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/Costura/62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/Costura/62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.Properties.Resources.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.UserControl.AjustDisplayControl.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.UserControl.AjustDisplayControl.resources -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.application: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 2GpwHk9yOrKdyfzX+dVz2bLTieq4/s+/1tE8jaBu+rc= 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 09acd84696c274baab26fce3d94a9008a9fc70d8 2 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Release\AjustScreenBrightness.exe.config 2 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Release\AjustScreenBrightness.exe.manifest 3 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Release\AjustScreenBrightness.application 4 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Release\AjustScreenBrightness.exe 5 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\bin\x86\Release\AjustScreenBrightness.pdb 6 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.Properties.Resources.resources 7 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.UserControl.AjustDisplayControl.resources 8 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.csproj.GenerateResource.cache 9 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.csproj.CoreCompileInputs.cache 10 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.exe.manifest 11 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.application 12 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.exe 13 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.pdb 14 | D:\Code\GithubCode\AjustScreenBrightness\AjustScreenBrightness\obj\x86\Release\AjustScreenBrightness.csprojAssemblyReference.cache 15 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.csproj.Fody.CopyLocal.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.csproj.Fody.CopyLocal.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.exe -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | XKSClbIPHKRY3iRMyvtJDiEZKOZC3MJI3qs2RXPXO1k= 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | FqWy0dfMmRS85zkU1NlW07p6LsNOPUHodvLiZcFdgJY= 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 2cW+KDtQ4WSu0Mv88HaM0QTOUlD8CoDpYQq+X3PM6VA= 72 | 73 | 74 | -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/AjustScreenBrightness.pdb -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/Costura/59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/Costura/59FEB2AF0BE9EC4CCEC2125D2383E3E282F428A7.costura.costura.dll.compressed -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/Costura/62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/Costura/62E6683478487A932D7CE0AF816C5260E8FAF900.costura.igfxdhlib.dll.compressed -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/obj/x86/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/AjustScreenBrightness/obj/x86/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /AjustScreenBrightness/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | c# 多种方法调整屏幕亮度 2 | ===================== 3 | ## 方法一: 使用网上常说的 Gdi32.dll 下的 SetDeviceGammaRamp (修改系统Gamma) 4 | ## 方法二: 使用MSDN上的 dxva2.dll SetMonitorBrightness 5 | ## 方法三: 使用 C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_neutral_3daeca3838e011e0\igfxDHLib.dll (这是驱动的文件,不同机器有自己对应的驱动文件) 6 | `注意事项` 该方法使用时请注意好参数的范围,比如说把对比度设置太低时屏幕会完全黑掉 什么都看不到,然后你就不能直接把对比度调回来了. 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/.signature.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Costura.Fody.3.3.2/.signature.p7s -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/Costura.Fody.3.3.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Costura.Fody.3.3.2/Costura.Fody.3.3.2.nupkg -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/build/Costura.Fody.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netclassicweaver 5 | netstandardweaver 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/lib/net40/Costura.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Costura.Fody.3.3.2/lib/net40/Costura.dll -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/lib/net40/Costura.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Costura 5 | 6 | 7 | 8 | 9 | Contains methods for interacting with the Costura system. 10 | 11 | 12 | 13 | 14 | Call this to Initialize the Costura system. 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/netclassicweaver/Costura.Fody.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Costura.Fody.3.3.2/netclassicweaver/Costura.Fody.dll -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/netclassicweaver/Costura.Fody.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Costura.Fody.3.3.2/netclassicweaver/Costura.Fody.pdb -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/netclassicweaver/Costura.Fody.xcf: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks 7 | 8 | 9 | 10 | 11 | A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. 12 | 13 | 14 | 15 | 16 | A list of unmanaged 32 bit assembly names to include, delimited with line breaks. 17 | 18 | 19 | 20 | 21 | A list of unmanaged 64 bit assembly names to include, delimited with line breaks. 22 | 23 | 24 | 25 | 26 | The order of preloaded assemblies, delimited with line breaks. 27 | 28 | 29 | 30 | 31 | 32 | This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. 33 | 34 | 35 | 36 | 37 | Controls if .pdbs for reference assemblies are also embedded. 38 | 39 | 40 | 41 | 42 | Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. 43 | 44 | 45 | 46 | 47 | As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. 48 | 49 | 50 | 51 | 52 | Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. 53 | 54 | 55 | 56 | 57 | Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. 58 | 59 | 60 | 61 | 62 | A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | 63 | 64 | 65 | 66 | 67 | A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. 68 | 69 | 70 | 71 | 72 | A list of unmanaged 32 bit assembly names to include, delimited with |. 73 | 74 | 75 | 76 | 77 | A list of unmanaged 64 bit assembly names to include, delimited with |. 78 | 79 | 80 | 81 | 82 | The order of preloaded assemblies, delimited with |. 83 | 84 | 85 | -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/netstandardweaver/Costura.Fody.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Costura.Fody.3.3.2/netstandardweaver/Costura.Fody.dll -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/netstandardweaver/Costura.Fody.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Costura.Fody.3.3.2/netstandardweaver/Costura.Fody.pdb -------------------------------------------------------------------------------- /packages/Costura.Fody.3.3.2/netstandardweaver/Costura.Fody.xcf: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks 7 | 8 | 9 | 10 | 11 | A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. 12 | 13 | 14 | 15 | 16 | A list of unmanaged 32 bit assembly names to include, delimited with line breaks. 17 | 18 | 19 | 20 | 21 | A list of unmanaged 64 bit assembly names to include, delimited with line breaks. 22 | 23 | 24 | 25 | 26 | The order of preloaded assemblies, delimited with line breaks. 27 | 28 | 29 | 30 | 31 | 32 | This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. 33 | 34 | 35 | 36 | 37 | Controls if .pdbs for reference assemblies are also embedded. 38 | 39 | 40 | 41 | 42 | Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. 43 | 44 | 45 | 46 | 47 | As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. 48 | 49 | 50 | 51 | 52 | Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. 53 | 54 | 55 | 56 | 57 | Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. 58 | 59 | 60 | 61 | 62 | A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | 63 | 64 | 65 | 66 | 67 | A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. 68 | 69 | 70 | 71 | 72 | A list of unmanaged 32 bit assembly names to include, delimited with |. 73 | 74 | 75 | 76 | 77 | A list of unmanaged 64 bit assembly names to include, delimited with |. 78 | 79 | 80 | 81 | 82 | The order of preloaded assemblies, delimited with |. 83 | 84 | 85 | -------------------------------------------------------------------------------- /packages/Fody.3.3.5/.signature.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/.signature.p7s -------------------------------------------------------------------------------- /packages/Fody.3.3.5/Fody.3.3.5.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/Fody.3.3.5.nupkg -------------------------------------------------------------------------------- /packages/Fody.3.3.5/build/Fody.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(ProjectDir)FodyWeavers.xml 5 | $(MSBuildThisFileDirectory)..\ 6 | $(FodyPath)netstandardtask 7 | $(FodyPath)netclassictask 8 | $(FodyAssemblyDirectory)\Fody.dll 9 | $(MSBuildProjectFile).Fody.CopyLocal.cache 10 | $(DefaultItemExcludes);FodyWeavers.xsd 11 | true 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 31 | 32 | 52 | 53 | 56 | 57 | 58 | 59 | 60 | 61 | 65 | 66 | 70 | 71 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 89 | 90 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Fody.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Fody.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/FodyCommon.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/FodyCommon.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/FodyHelpers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/FodyHelpers.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/FodyIsolated.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/FodyIsolated.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Mono.Cecil.Mdb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Mono.Cecil.Mdb.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Mono.Cecil.Mdb.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Mono.Cecil.Mdb.pdb -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Mono.Cecil.Pdb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Mono.Cecil.Pdb.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Mono.Cecil.Pdb.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Mono.Cecil.Pdb.pdb -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Mono.Cecil.Rocks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Mono.Cecil.Rocks.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Mono.Cecil.Rocks.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Mono.Cecil.Rocks.pdb -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Mono.Cecil.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Mono.Cecil.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netclassictask/Mono.Cecil.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netclassictask/Mono.Cecil.pdb -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Fody.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Fody.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/FodyCommon.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/FodyCommon.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/FodyHelpers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/FodyHelpers.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/FodyIsolated.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/FodyIsolated.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Mdb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Mdb.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Mdb.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Mdb.pdb -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Pdb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Pdb.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Pdb.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Pdb.pdb -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Rocks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Rocks.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Rocks.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Mono.Cecil.Rocks.pdb -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Mono.Cecil.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Mono.Cecil.dll -------------------------------------------------------------------------------- /packages/Fody.3.3.5/netstandardtask/Mono.Cecil.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaxGorGor/AjustScreenBrightness/c0604c8f3e86e8f9d397f604d2061afc74c99453/packages/Fody.3.3.5/netstandardtask/Mono.Cecil.pdb --------------------------------------------------------------------------------