PowerToys/tools/HandlesExperiment/FileLocksmithGUI/ProcessEntry.xaml

21 lines
835 B
Plaintext
Raw Normal View History

2022-09-15 20:21:09 +08:00
<UserControl
x:Class="FileLocksmithGUI.ProcessEntry"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:FileLocksmithGUI"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
2022-09-16 16:55:50 +08:00
d:DesignHeight="80"
d:DesignWidth="480">
2022-09-15 20:21:09 +08:00
<StackPanel Orientation="Horizontal">
<BitmapIcon Name="processIcon"></BitmapIcon>
<StackPanel Orientation="Vertical">
2022-09-16 16:55:50 +08:00
<TextBlock Margin="4" FontSize="24" Name="processName"/>
<TextBlock Margin="4" FontSize="10" Name="processPid"/>
2022-09-15 20:21:09 +08:00
</StackPanel>
2022-09-16 16:55:50 +08:00
<Button Click="killProcessClick">Kill process</Button>
2022-09-15 20:21:09 +08:00
</StackPanel>
</UserControl>