Uses resx string and added updated some properties.

This commit is contained in:
soukoku
2014-04-17 07:11:39 -04:00
parent a91d5aa4f2
commit b6ee9dfed9
12 changed files with 349 additions and 188 deletions

View File

@@ -1,4 +1,5 @@
using NTwain.Data;
using NTwain.Properties;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -52,7 +53,7 @@ namespace NTwain
if (retVal == IntPtr.Zero)
{
throw new OutOfMemoryException("Failed to allocate requested memory.");
throw new OutOfMemoryException(Resources.MemAllocError);
}
return retVal;
}