Add icon for Document Correction

This commit is contained in:
Ben Olden-Cooligan 2024-03-04 21:37:59 -08:00
parent 5bc32024cf
commit 34f6e5ff75
4 changed files with 15 additions and 1 deletions

View File

@ -183,7 +183,8 @@ public class DesktopCommands
// TODO: Make this an image form with options
DocumentCorrection = new ActionCommand(imageListActions.DocumentCorrection)
{
Text = UiStrings.DocumentCorrection
Text = UiStrings.DocumentCorrection,
Image = iconProvider.GetIcon("document")
};
ResetImage = new ActionCommand(desktopController.ResetImage)
{

View File

@ -459,6 +459,16 @@ namespace NAPS2 {
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] document {
get {
object obj = ResourceManager.GetObject("document", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>

View File

@ -400,4 +400,7 @@
<data name="redo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Icons\redo.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="document" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Icons\document.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B