mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
27 lines
1.2 KiB
XML
27 lines
1.2 KiB
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">
|
|
|
|
<StackPanel Orientation="Horizontal" Width="720">
|
|
<BitmapIcon Name="processIcon"></BitmapIcon>
|
|
<StackPanel Orientation="Vertical" Width="600">
|
|
<TextBlock Margin="4" FontSize="28" Name="processName" MaxWidth="600"/>
|
|
<Grid>
|
|
<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>
|
|
</StackPanel>
|
|
<Button Click="killProcessClick">Kill process</Button>
|
|
</StackPanel>
|
|
</UserControl>
|