mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-25 19:19:03 +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