mirror of
https://github.com/soukoku/ntwain.git
synced 2025-12-20 03:59:56 +08:00
Fixed creating/opening/closing twainsession multiple times in an app not working.
This commit is contained in:
12
Tests/Tester.WPF/Dummy.xaml
Normal file
12
Tests/Tester.WPF/Dummy.xaml
Normal file
@@ -0,0 +1,12 @@
|
||||
<Window x:Class="Tester.WPF.Dummy"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Dummy" Height="300" Width="300">
|
||||
<Grid>
|
||||
<StackPanel VerticalAlignment="Center">
|
||||
<Button Content="Open scan window" Click="Button_Click" Margin="4 0"></Button>
|
||||
<TextBlock Text="This is to test opening/closing multiple twain sessions in an app" Margin="8"
|
||||
TextWrapping="Wrap"></TextBlock>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user