diff --git a/samples/Sample.WPF/App.xaml.cs b/samples/Sample.WPF/App.xaml.cs index 9c74199..390e581 100644 --- a/samples/Sample.WPF/App.xaml.cs +++ b/samples/Sample.WPF/App.xaml.cs @@ -7,12 +7,16 @@ namespace Sample.WPF /// Interaction logic for App.xaml /// public partial class App : Application - { - protected override void OnStartup(StartupEventArgs e) - { + { + public App() + { UIHooks.EnableHighDpiSupport(); + } + + protected override void OnStartup(StartupEventArgs e) + { Theme.ApplyTheme(ThemeColor.Light, Accent.Green); - base.OnStartup(e); - } - } + base.OnStartup(e); + } + } } diff --git a/samples/Sample.WPF/Sample.WPF.csproj b/samples/Sample.WPF/Sample.WPF.csproj index b72c6da..2c7f7b0 100644 --- a/samples/Sample.WPF/Sample.WPF.csproj +++ b/samples/Sample.WPF/Sample.WPF.csproj @@ -26,6 +26,7 @@ prompt 4 true + true x64 diff --git a/samples/Sample.WPF/ViewModels/DataSourceVM.cs b/samples/Sample.WPF/ViewModels/DataSourceVM.cs index d9bced9..d76fc78 100644 --- a/samples/Sample.WPF/ViewModels/DataSourceVM.cs +++ b/samples/Sample.WPF/ViewModels/DataSourceVM.cs @@ -97,8 +97,8 @@ namespace Sample.WPF report.Append(cap.Name).AppendLine(":"); try { - report.Append('\t').Append("Maybe: ").Append(cap.Supports).AppendLine(); - report.Append('\t').Append("Get: "); + report.Append('\t').Append("Supports: ").Append(cap.Supports).AppendLine(); + report.Append('\t').Append("Values: "); foreach (var v in cap.Get()) { report.Append(v).Append(','); diff --git a/src/NTwain/DataTransferredEventArgs.cs b/src/NTwain/DataTransferredEventArgs.cs index 2d0f859..d55df79 100644 --- a/src/NTwain/DataTransferredEventArgs.cs +++ b/src/NTwain/DataTransferredEventArgs.cs @@ -85,7 +85,7 @@ namespace NTwain /// /// Gets the file format if applicable. - /// This is only available if is . + /// This is only available if is . /// /// /// The file format.