-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReportDialog.xaml
More file actions
50 lines (46 loc) · 2.65 KB
/
ReportDialog.xaml
File metadata and controls
50 lines (46 loc) · 2.65 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
<Window x:Class="NetworkSpeedTest.ReportDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Generate Report" Height="220" Width="420"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize"
Background="#FF1A1A2E">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="Select sections to include:" Foreground="#FFCCCCCC"
FontSize="14" FontWeight="Bold" Margin="0,0,0,15"/>
<CheckBox Grid.Row="1" x:Name="IncludeSpeedCheck" Content="Include Speed Test Results"
Foreground="#FFCCCCCC" FontSize="13" Margin="0,0,0,10" IsChecked="True"/>
<CheckBox Grid.Row="2" x:Name="IncludeLatencyCheck" Content="Include Latency Test Results"
Foreground="#FFCCCCCC" FontSize="13" Margin="0,0,0,10" IsChecked="True"/>
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
<Button x:Name="GenerateBtn" Content="Generate Report" Padding="20,8" FontWeight="Bold"
Background="#FF00D4FF" Foreground="#FF0A0A1A" BorderThickness="0" Cursor="Hand"
Click="GenerateBtn_Click" Margin="0,0,8,0">
<Button.Template>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}" CornerRadius="4" Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
</ControlTemplate>
</Button.Template>
</Button>
<Button x:Name="CancelBtn" Content="Cancel" Padding="20,8" FontWeight="Bold"
Background="#FF555555" Foreground="#FFCCCCCC" BorderThickness="0" Cursor="Hand"
Click="CancelBtn_Click">
<Button.Template>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}" CornerRadius="4" Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
</ControlTemplate>
</Button.Template>
</Button>
</StackPanel>
</Grid>
</Window>