mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-26 20:19:03 +08:00
Fixed creating/opening/closing twainsession multiple times in an app not working.
This commit is contained in:
31
Tests/Tester.WPF/Dummy.xaml.cs
Normal file
31
Tests/Tester.WPF/Dummy.xaml.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace Tester.WPF
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for Dummy.xaml
|
||||
/// </summary>
|
||||
public partial class Dummy : Window
|
||||
{
|
||||
public Dummy()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
new MainWindow().ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user