add support for AMD GPU's, improve WOL, refactor code

This commit is contained in:
Vincent Maas committed 2021-03-20 14:35:58 +01:00
1 parent 7f6175f8ef
commit a33543acd5
26 files changed
+2286 -1071

No files matched your search

+2 -5
View File
@@ -2,11 +2,8 @@
using NWin32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -53,7 +50,7 @@ namespace ColorControl
{
var preset = (LgPreset)(sender as Button).Tag;
_lgService.ApplyPreset(preset);
var _ = _lgService.ApplyPreset(preset);
}
}
@@ -95,7 +92,7 @@ namespace ColorControl
var preset = _buttons.FirstOrDefault(p => p.shortcut != null && p.shortcut.Equals(shortcut));
if (preset != null)
{
_lgService.ApplyPreset(preset);
var _ = _lgService.ApplyPreset(preset);
}
}