-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
15 lines (14 loc) · 1.21 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<Window x:Class="NewProcessMonitoring.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:NewProcessMonitoring"
mc:Ignorable="d"
Title="New Process Monitoring" Height="269" Width="561" Activated="wMain_Activated" Closing="Window_Closing" ResizeMode="CanResizeWithGrip" SourceInitialized="Window_SourceInitialized">
<Grid Margin="0,0,0,0">
<DataGrid HeadersVisibility="Column" x:Name="tProcesses" d:ItemsSource="{d:SampleData ItemCount=5}" Margin="10,10,110,10" AutoGeneratingColumn="tProcesses_AutoGeneratingColumn" />
<Button x:Name="bnApplyAllToTrusted" Content="Trust all" HorizontalAlignment="Right" Margin="0,10,10,0" VerticalAlignment="Top" Width="90" Click="bnApplyAllToTrusted_Click"/>
<Button x:Name="bnClearTrustList" Content="Reset trust list" HorizontalAlignment="Right" Margin="0,0,10,10" VerticalAlignment="Bottom" Width="90" Click="bnClearTrustList_Click"/>
</Grid>
</Window>