Repository navigation
Expand file tree
/
Copy pathMainPage.xaml
More file actions
148 lines (141 loc) · 5.88 KB
/
Copy pathMainPage.xaml
File metadata and controls
148 lines (141 loc) · 5.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?xml version="1.0" encoding="utf-8" ?>
<Page
x:Class="EekContextMenu.MainPage"
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:local="using:EekContextMenu"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Background="Transparent"
mc:Ignorable="d">
<Grid
Padding="48,16,48,20"
HorizontalAlignment="Stretch"
RowSpacing="10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel Spacing="2">
<TextBlock
Style="{ThemeResource TitleTextBlockStyle}"
Text="EEK Context Menu" />
<TextBlock
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Text="Explorer folder scans with Emsisoft Emergency Kit" />
</StackPanel>
<Border
Grid.Row="1"
Padding="12"
Background="{ThemeResource LayerFillColorDefaultBrush}"
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
BorderThickness="1"
CornerRadius="8">
<StackPanel Spacing="10">
<TextBlock
Style="{ThemeResource BodyStrongTextBlockStyle}"
Text="Emsisoft Emergency Kit folder" />
<Grid ColumnSpacing="8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBox
x:Name="EekPathBox"
PlaceholderText="C:\EEK"
TextChanged="Setting_Changed" />
<Button
x:Name="BrowseButton"
Grid.Column="1"
Width="40"
Height="40"
Padding="0"
Click="BrowseButton_Click"
ToolTipService.ToolTip="Browse">
<FontIcon
FontFamily="Segoe Fluent Icons"
FontSize="18"
Glyph=""
HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Button>
</Grid>
</StackPanel>
</Border>
<Border
Grid.Row="2"
Padding="12"
HorizontalAlignment="Stretch"
Background="{ThemeResource LayerFillColorDefaultBrush}"
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
BorderThickness="1"
CornerRadius="8">
<Grid RowSpacing="8" ColumnSpacing="18" HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Grid.Column="0">
<TextBlock
Style="{ThemeResource BodyStrongTextBlockStyle}"
Text="Show Explorer command" />
<TextBlock
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Text="Adds Scan with EEK for folders" />
</StackPanel>
<ToggleSwitch
x:Name="IntegrationToggle"
Grid.Row="0"
Grid.Column="1"
Width="64"
HorizontalAlignment="Right"
VerticalAlignment="Center"
OffContent=""
OnContent=""
Toggled="Setting_Changed" />
<StackPanel Grid.Row="1" Grid.Column="0">
<TextBlock
Style="{ThemeResource BodyStrongTextBlockStyle}"
Text="Update before scan" />
<TextBlock
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Text="Runs EEK signature update first" />
</StackPanel>
<ToggleSwitch
x:Name="UpdateBeforeScanToggle"
Grid.Row="1"
Grid.Column="1"
Width="64"
HorizontalAlignment="Right"
VerticalAlignment="Center"
OffContent=""
OnContent=""
Toggled="Setting_Changed" />
<StackPanel Grid.Row="2" Grid.Column="0">
<TextBlock
Style="{ThemeResource BodyStrongTextBlockStyle}"
Text="Move detections to quarantine" />
<TextBlock
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Text="Uses the EEK quarantine folder" />
</StackPanel>
<ToggleSwitch
x:Name="QuarantineToggle"
Grid.Row="2"
Grid.Column="1"
Width="64"
HorizontalAlignment="Right"
VerticalAlignment="Center"
OffContent=""
OnContent=""
Toggled="Setting_Changed" />
</Grid>
</Border>
</Grid>
</Page>