mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Suppress CLS non-compliance
I know its not compliant...that's by design.
This commit is contained in:
parent
325a1b6012
commit
b79aecc7fb
@ -556,7 +556,9 @@ namespace DisplayMagician.UIForms
|
||||
openApplicationWindow();
|
||||
}
|
||||
|
||||
#pragma warning disable CS3001 // Argument type is not CLS-compliant
|
||||
public void OnWindowHotkeyPressed(object sender, HotkeyEventArgs e)
|
||||
#pragma warning restore CS3001 // Argument type is not CLS-compliant
|
||||
{
|
||||
if (e.Name == "HotkeyMainWindow")
|
||||
openApplicationWindow();
|
||||
|
@ -2289,7 +2289,9 @@ namespace DisplayMagician.UIForms
|
||||
|
||||
}
|
||||
|
||||
#pragma warning disable CS3001 // Argument type is not CLS-compliant
|
||||
public void OnWindowHotkeyPressed(object sender, HotkeyEventArgs e)
|
||||
#pragma warning restore CS3001 // Argument type is not CLS-compliant
|
||||
{
|
||||
if (ShortcutRepository.ContainsShortcut(e.Name))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user