mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-23 16:37:58 +08:00
27 lines
885 B
C#
27 lines
885 B
C#
|
// Copyright (c) Microsoft Corporation
|
|||
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|||
|
// See the LICENSE file in the project root for more information.
|
|||
|
|
|||
|
using Microsoft.PowerToys.Settings.UI.Library;
|
|||
|
using Microsoft.PowerToys.Settings.UI.Library.ViewModels;
|
|||
|
using Microsoft.UI.Xaml.Controls;
|
|||
|
|
|||
|
namespace Microsoft.PowerToys.Settings.UI.Views
|
|||
|
{
|
|||
|
public sealed partial class PowerOcrPage : Page
|
|||
|
{
|
|||
|
private PowerOcrViewModel ViewModel { get; set; }
|
|||
|
|
|||
|
public PowerOcrPage()
|
|||
|
{
|
|||
|
var settingsUtils = new SettingsUtils();
|
|||
|
ViewModel = new PowerOcrViewModel(
|
|||
|
settingsUtils,
|
|||
|
SettingsRepository<GeneralSettings>.GetInstance(settingsUtils),
|
|||
|
ShellPage.SendDefaultIPCMessage);
|
|||
|
DataContext = ViewModel;
|
|||
|
InitializeComponent();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|