Files
Hyperbar/Hyperbar.Desktop.Contextual/ContextualCommandView.xaml.cs
T
2024-01-04 23:02:51 +00:00

16 lines
427 B
C#

using Hyperbar.Desktop.Win32;
using Microsoft.UI.Xaml.Controls;
using Windows.System;
namespace Hyperbar.Desktop.Contextual;
public sealed partial class ContextualCommandView : Page
{
public ContextualCommandView() => InitializeComponent();
private void Button_Click(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
{
KeyInterop.Type(VirtualKey.L, VirtualKey.LeftWindows, VirtualKey.Control);
}
}