diff --git a/HeliosDisplayManagement.ShellExtension/HeliosDesktopMenuExtension.cs b/HeliosDisplayManagement.ShellExtension/HeliosDesktopMenuExtension.cs
index 50b4c50..10da1a6 100644
--- a/HeliosDisplayManagement.ShellExtension/HeliosDesktopMenuExtension.cs
+++ b/HeliosDisplayManagement.ShellExtension/HeliosDesktopMenuExtension.cs
@@ -15,16 +15,15 @@ namespace HeliosDisplayManagement.ShellExtension
private static ToolStripMenuItem CreateProfileMenu(Profile profile)
{
var profileMenu = new ToolStripMenuItem(profile.Name, new ProfileIcon(profile).ToBitmap(16, 16));
- profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Apply, Properties.Resources.Run_x16,
+ profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Apply, null,
(sender, args) => HeliosDisplayManagement.Open(HeliosStartupAction.SwitchProfile, profile))
{
Enabled = profile.IsPossible && !profile.IsActive
});
profileMenu.DropDownItems.Add(new ToolStripSeparator());
- profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Edit, Properties.Resources.Edit_x16,
+ profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Edit, null,
(sender, args) => HeliosDisplayManagement.Open(HeliosStartupAction.EditProfile, profile)));
- profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Create_Shortcut,
- Properties.Resources.Shortcut_x16,
+ profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Create_Shortcut, null,
(sender, args) => HeliosDisplayManagement.Open(HeliosStartupAction.CreateShortcut, profile)));
return profileMenu;
diff --git a/HeliosDisplayManagement.ShellExtension/HeliosDisplayManagement.ShellExtension.csproj b/HeliosDisplayManagement.ShellExtension/HeliosDisplayManagement.ShellExtension.csproj
index bb71971..958edde 100644
--- a/HeliosDisplayManagement.ShellExtension/HeliosDisplayManagement.ShellExtension.csproj
+++ b/HeliosDisplayManagement.ShellExtension/HeliosDisplayManagement.ShellExtension.csproj
@@ -77,9 +77,6 @@
-
-
-
diff --git a/HeliosDisplayManagement.ShellExtension/HeliosExecutableMenuExtension.cs b/HeliosDisplayManagement.ShellExtension/HeliosExecutableMenuExtension.cs
index 3d288ae..4d8b853 100644
--- a/HeliosDisplayManagement.ShellExtension/HeliosExecutableMenuExtension.cs
+++ b/HeliosDisplayManagement.ShellExtension/HeliosExecutableMenuExtension.cs
@@ -54,7 +54,7 @@ namespace HeliosDisplayManagement.ShellExtension
private ToolStripMenuItem CreateProfileMenu(Profile profile)
{
var profileMenu = new ToolStripMenuItem(profile.Name, new ProfileIcon(profile).ToBitmap(16, 16));
- profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Run, Properties.Resources.Run_x16,
+ profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Run, null,
(sender, args) =>
HeliosDisplayManagement.Open(HeliosStartupAction.SwitchProfile, profile,
SelectedItemPaths.FirstOrDefault())));
@@ -63,8 +63,7 @@ namespace HeliosDisplayManagement.ShellExtension
HeliosDisplayManagement.Open(HeliosStartupAction.SwitchProfile, profile,
SelectedItemPaths.FirstOrDefault(), true)));
profileMenu.DropDownItems.Add(new ToolStripSeparator());
- profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Create_Shortcut,
- Properties.Resources.Shortcut_x16,
+ profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Create_Shortcut, null,
(sender, args) =>
HeliosDisplayManagement.Open(HeliosStartupAction.CreateShortcut, profile,
SelectedItemPaths.FirstOrDefault())));
diff --git a/HeliosDisplayManagement.ShellExtension/HeliosSteamUrlMenuExtension.cs b/HeliosDisplayManagement.ShellExtension/HeliosSteamUrlMenuExtension.cs
index 0cc5ed4..3fa8627 100644
--- a/HeliosDisplayManagement.ShellExtension/HeliosSteamUrlMenuExtension.cs
+++ b/HeliosDisplayManagement.ShellExtension/HeliosSteamUrlMenuExtension.cs
@@ -56,13 +56,12 @@ namespace HeliosDisplayManagement.ShellExtension
{
var appId = ParseSteamAppId();
var profileMenu = new ToolStripMenuItem(profile.Name, new ProfileIcon(profile).ToBitmap(16, 16));
- profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Run, Properties.Resources.Run_x16,
+ profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Run, null,
(sender, args) =>
HeliosDisplayManagement.OpenSteamGame(HeliosStartupAction.SwitchProfile, profile,
appId)));
profileMenu.DropDownItems.Add(new ToolStripSeparator());
- profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Create_Shortcut,
- Properties.Resources.Shortcut_x16,
+ profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Create_Shortcut, null,
(sender, args) =>
HeliosDisplayManagement.OpenSteamGame(HeliosStartupAction.CreateShortcut, profile,
appId)));
diff --git a/HeliosDisplayManagement.ShellExtension/Properties/Resources.Designer.cs b/HeliosDisplayManagement.ShellExtension/Properties/Resources.Designer.cs
index 32dcb28..75b4041 100644
--- a/HeliosDisplayManagement.ShellExtension/Properties/Resources.Designer.cs
+++ b/HeliosDisplayManagement.ShellExtension/Properties/Resources.Designer.cs
@@ -19,7 +19,7 @@ namespace HeliosDisplayManagement.ShellExtension.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@@ -60,16 +60,6 @@ namespace HeliosDisplayManagement.ShellExtension.Properties {
}
}
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap Edit_x16 {
- get {
- object obj = ResourceManager.GetObject("Edit_x16", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -79,25 +69,5 @@ namespace HeliosDisplayManagement.ShellExtension.Properties {
return ((System.Drawing.Bitmap)(obj));
}
}
-
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap Run_x16 {
- get {
- object obj = ResourceManager.GetObject("Run_x16", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap Shortcut_x16 {
- get {
- object obj = ResourceManager.GetObject("Shortcut_x16", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
}
}
diff --git a/HeliosDisplayManagement.ShellExtension/Properties/Resources.resx b/HeliosDisplayManagement.ShellExtension/Properties/Resources.resx
index 022d619..f3941a7 100644
--- a/HeliosDisplayManagement.ShellExtension/Properties/Resources.resx
+++ b/HeliosDisplayManagement.ShellExtension/Properties/Resources.resx
@@ -118,16 +118,7 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\Resources\Edit_x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
..\Resources\Icon_x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\Run_x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\Shortcut_x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
\ No newline at end of file
diff --git a/HeliosDisplayManagement.ShellExtension/Resources/Edit_x16.png b/HeliosDisplayManagement.ShellExtension/Resources/Edit_x16.png
deleted file mode 100644
index 6d73977..0000000
Binary files a/HeliosDisplayManagement.ShellExtension/Resources/Edit_x16.png and /dev/null differ
diff --git a/HeliosDisplayManagement.ShellExtension/Resources/Run_x16.png b/HeliosDisplayManagement.ShellExtension/Resources/Run_x16.png
deleted file mode 100644
index ba33a4e..0000000
Binary files a/HeliosDisplayManagement.ShellExtension/Resources/Run_x16.png and /dev/null differ
diff --git a/HeliosDisplayManagement.ShellExtension/Resources/Shortcut_x16.png b/HeliosDisplayManagement.ShellExtension/Resources/Shortcut_x16.png
deleted file mode 100644
index 2d79212..0000000
Binary files a/HeliosDisplayManagement.ShellExtension/Resources/Shortcut_x16.png and /dev/null differ