summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Commands
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-12-08 15:28:38 +0000
committersr55 <[email protected]>2018-12-08 15:28:38 +0000
commit14058f3ca4f1f31a65f96344426305a659eaa3eb (patch)
treec3ca42688e2d68d16997d85c5108a8b75990714f /win/CS/HandBrakeWPF/Commands
parent5ed3665f950aa4370b5dcf039aff75236070f9b3 (diff)
WinGui: Fix a number of build warnings. Fixes #1720 and #1721 and a few other warnings in the code.
Diffstat (limited to 'win/CS/HandBrakeWPF/Commands')
-rw-r--r--win/CS/HandBrakeWPF/Commands/Menu/QueueCommands.cs2
-rw-r--r--win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs2
-rw-r--r--win/CS/HandBrakeWPF/Commands/PresetMenuSelectCommand.cs2
-rw-r--r--win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs2
-rw-r--r--win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs2
5 files changed, 5 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/Commands/Menu/QueueCommands.cs b/win/CS/HandBrakeWPF/Commands/Menu/QueueCommands.cs
index 2f0bb009d..c9e0d9fef 100644
--- a/win/CS/HandBrakeWPF/Commands/Menu/QueueCommands.cs
+++ b/win/CS/HandBrakeWPF/Commands/Menu/QueueCommands.cs
@@ -76,6 +76,6 @@ namespace HandBrakeWPF.Commands.Menu
/// <summary>
/// The can execute changed.
/// </summary>
- public event EventHandler CanExecuteChanged;
+ public event EventHandler CanExecuteChanged { add { } remove { } }
}
}
diff --git a/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs b/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs
index 238e6655f..fd3a5f5f7 100644
--- a/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs
+++ b/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs
@@ -25,7 +25,7 @@ namespace HandBrakeWPF.Commands
/// <summary>
/// The can execute changed.
/// </summary>
- public event EventHandler CanExecuteChanged;
+ public event EventHandler CanExecuteChanged { add { } remove { } }
/// <summary>
/// The can execute.
diff --git a/win/CS/HandBrakeWPF/Commands/PresetMenuSelectCommand.cs b/win/CS/HandBrakeWPF/Commands/PresetMenuSelectCommand.cs
index 25a8e7404..84dc135a3 100644
--- a/win/CS/HandBrakeWPF/Commands/PresetMenuSelectCommand.cs
+++ b/win/CS/HandBrakeWPF/Commands/PresetMenuSelectCommand.cs
@@ -54,6 +54,6 @@ namespace HandBrakeWPF.Commands
/// <summary>
/// The can execute changed.
/// </summary>
- public event EventHandler CanExecuteChanged;
+ public event EventHandler CanExecuteChanged { add { } remove { } }
}
}
diff --git a/win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs b/win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs
index dfa0830a4..5e014edbd 100644
--- a/win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs
+++ b/win/CS/HandBrakeWPF/Commands/ProcessShortcutCommand.cs
@@ -179,6 +179,6 @@ namespace HandBrakeWPF.Commands
/// <summary>
/// Can Execute Changed
/// </summary>
- public event EventHandler CanExecuteChanged;
+ public event EventHandler CanExecuteChanged { add { } remove { } }
}
}
diff --git a/win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs b/win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs
index 8edc537fc..05e6056b7 100644
--- a/win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs
+++ b/win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs
@@ -46,7 +46,7 @@ namespace HandBrakeWPF.Commands
/// <summary>
/// The can execute changed.
/// </summary>
- public event EventHandler CanExecuteChanged;
+ public event EventHandler CanExecuteChanged { add { } remove { } }
#endregion