-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
16 lines (16 loc) · 1.21 KB
/
MainWindow.xaml
File metadata and controls
16 lines (16 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<Window x:Class="SecureAppVault.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="SecureAppVault" Height="450" Width="800">
<Grid>
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Name="UnlockVaultButton" Content="{Binding IsUnlocked, Converter={StaticResource BoolToLockContentConverter}}" Width="200" Height="50" Click="UnlockVaultButton_Click"/>
<StackPanel Visibility="{Binding IsUnlocked, Converter={StaticResource BoolToVisibilityConverter}}">
<Button Name="AddAppButton" Content="Add Application" Width="200" Height="50" Click="AddAppButton_Click"/>
<Button Name="RemoveAppButton" Content="Remove Application" Width="200" Height="50" Click="RemoveAppButton_Click"/>
<Button Name="RunAppButton" Content="Run Application" Width="200" Height="50" Click="RunAppButton_Click"/>
<ListBox Name="AppListBox" ItemsSource="{Binding WhitelistedApps}" DisplayMemberPath="Name" Width="200" Height="200"/>
</StackPanel>
</StackPanel>
</Grid>
</Window>