mirror of
https://github.com/soukoku/ntwain.git
synced 2025-09-21 03:57:58 +08:00
Test without HandleRef.
This commit is contained in:
@@ -100,7 +100,7 @@ namespace Tester.WPF
|
||||
|
||||
string step = "Open DSM";
|
||||
|
||||
HandleRef hand = new HandleRef(this, new WindowInteropHelper(Application.Current.MainWindow).Handle);
|
||||
var hand = new WindowInteropHelper(Application.Current.MainWindow).Handle;
|
||||
|
||||
var rc = twain.OpenManager(hand);
|
||||
if (rc == ReturnCode.Success)
|
||||
|
Reference in New Issue
Block a user