mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-26 03:40:43 +08:00
Some name-breaking changes so master is now v3. V2 will continue to be the code on nuget for now.
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Tester.WPF
|
||||
|
||||
if (rc == ReturnCode.Success)
|
||||
{
|
||||
SrcList.ItemsSource = _twainVM.GetSources().Select(s => new DSVM { DS = s });
|
||||
SrcList.ItemsSource = _twainVM.Select(s => new DSVM { DS = s });
|
||||
}
|
||||
}
|
||||
private void Button_Click_1(object sender, RoutedEventArgs e)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Tester.WPF
|
||||
}
|
||||
}
|
||||
|
||||
public QuerySupport Supports { get; set; }
|
||||
public QuerySupports Supports { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Tester.WPF
|
||||
/// </summary>
|
||||
class DSVM
|
||||
{
|
||||
public TwainSource DS { get; set; }
|
||||
public DataSource DS { get; set; }
|
||||
|
||||
public string Name { get { return DS.Name; } }
|
||||
public string Version { get { return DS.Version.Info; } }
|
||||
|
||||
Reference in New Issue
Block a user