PowerToys/tools/HandlesExperiment/FileLocksmithGUI/ProcessEntry.xaml
Ivan Stošić 7629fb6df6 Add button
2022-10-20 16:40:50 +02:00

21 lines
835 B
XML

<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"
d:DesignHeight="80"
d:DesignWidth="480">
<StackPanel Orientation="Horizontal">
<BitmapIcon Name="processIcon"></BitmapIcon>
<StackPanel Orientation="Vertical">
<TextBlock Margin="4" FontSize="24" Name="processName"/>
<TextBlock Margin="4" FontSize="10" Name="processPid"/>
</StackPanel>
<Button Click="killProcessClick">Kill process</Button>
</StackPanel>
</UserControl>