mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-25 10:59:03 +08:00
More progress.
This commit is contained in:
@@ -149,7 +149,7 @@ namespace Tester.Winform
|
||||
|
||||
var curBtn = (sender as ToolStripMenuItem);
|
||||
var src = curBtn.Tag as TWIdentity;
|
||||
if (_twain.OpenSource(src) == ReturnCode.Success)
|
||||
if (_twain.OpenSource(src.ProductName) == ReturnCode.Success)
|
||||
{
|
||||
curBtn.Checked = true;
|
||||
btnStartCapture.Enabled = true;
|
||||
|
||||
Reference in New Issue
Block a user