keyboard introp
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid>
|
||||
<Button Content="This is a test" />
|
||||
<Button Content="This is a test" Click="Button_Click"/>
|
||||
</Grid>
|
||||
</Page>
|
||||
|
||||
@@ -1,8 +1,15 @@
|
||||
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)
|
||||
{
|
||||
KeyIntrop.Type((VirtualKey)186, VirtualKey.LeftWindows);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Hyperbar.Desktop.Win32\Hyperbar.Desktop.Win32.csproj" />
|
||||
<ProjectReference Include="..\Hyperbar\Hyperbar.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user