mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Small cleanups [skip ci]
This commit is contained in:
parent
02a06a12b0
commit
98e6be5eb6
171 changed files with 1607 additions and 1769 deletions
|
@ -26,7 +26,7 @@ namespace GreenshotPlugin.Core {
|
|||
/// Centralized storage of the icons & bitmaps
|
||||
/// </summary>
|
||||
public static class GreenshotResources {
|
||||
private static ComponentResourceManager greenshotResources = new ComponentResourceManager(typeof(GreenshotResources));
|
||||
private static readonly ComponentResourceManager greenshotResources = new ComponentResourceManager(typeof(GreenshotResources));
|
||||
|
||||
public static Image getImage(string imageName) {
|
||||
return (Image)greenshotResources.GetObject(imageName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue