Progress with OpenDS.

This commit is contained in:
Eugene Wang
2023-04-01 16:05:44 -04:00
parent f63fbc8371
commit c793ae8e57
3 changed files with 101 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ namespace WinForm32
private static void Twain_StateChanged(TwainSession session, STATE state)
{
Console.WriteLine($"State changed to {state}");
Debug.WriteLine($"State changed to {state}");
}
protected override void OnHandleCreated(EventArgs e)
@@ -35,6 +35,7 @@ namespace WinForm32
var hwnd = this.Handle;
var rc = twain.DGControl.Parent.OpenDSM(ref hwnd);
Debug.WriteLine($"OpenDSM={rc}");
}
protected override void OnClosing(CancelEventArgs e)