PowerToys/tools/HandlesExperiment/FileLocksmithGUI/ProcessEntry.xaml

27 lines
1.2 KiB
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"
2022-09-16 21:22:00 +08:00
mc:Ignorable="d">
2022-09-15 20:21:09 +08:00
2022-09-17 17:43:04 +08:00
<StackPanel Orientation="Horizontal" Width="720">
2022-09-15 20:21:09 +08:00
<BitmapIcon Name="processIcon"></BitmapIcon>
2022-09-17 17:43:04 +08:00
<StackPanel Orientation="Vertical" Width="600">
<TextBlock Margin="4" FontSize="28" Name="processName" MaxWidth="600"/>
<Grid>
2022-09-16 21:22:00 +08:00
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Margin="4" FontSize="12" Name="processPid" HorizontalAlignment="Left"/>
<TextBlock Grid.Column="1" Margin="4" FontSize="12" Name="processFileCount" HorizontalAlignment="Center"/>
</Grid>
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>