-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMainWindow.xaml
57 lines (52 loc) · 2.71 KB
/
MainWindow.xaml
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
<Window x:Class="ChipsetAutoUpdater.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:ChipsetAutoUpdater"
mc:Ignorable="d"
Title=""
Height="162"
Width="235"
ResizeMode="CanMinimize"
WindowStartupLocation="CenterScreen"
Loaded="Window_Loaded">
<Grid Margin="8">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="115" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" FontWeight="Bold">Chipset Detected:</TextBlock>
<TextBlock Grid.Row="0" Grid.Column="1" Name="ChipsetModelText">Fetching chipset...</TextBlock>
<TextBlock Grid.Row="1" Grid.Column="0" FontWeight="Bold">Currently Installed:</TextBlock>
<TextBlock Grid.Row="1" Grid.Column="1" Name="InstalledVersionText">Fetching version...</TextBlock>
<TextBlock Grid.Row="2" Grid.Column="0" FontWeight="Bold">Latest Version:</TextBlock>
<TextBlock Grid.Row="2" Grid.Column="1" Name="LatestVersionText">Fetching version...</TextBlock>
<CheckBox Grid.Row="4" Grid.Column="0"
Name="AutoStartCheckBox"
Checked="AutoStartCheckBox_Checked"
Unchecked="AutoStartCheckBox_Checked"
Margin="0 6 0 0">
Start on boot
</CheckBox>
<CheckBox Grid.Row="4" Grid.Column="1"
Name="AutoUpdateCheckBox"
Checked="AutoUpdateCheckBox_Checked"
Unchecked="AutoUpdateCheckBox_Checked"
Margin="0 6 0 0">
Auto-update
</CheckBox>
<ProgressBar Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" Name="DownloadProgressBar" Height="8" Margin="0 6 0 6" Minimum="0" Maximum="100" Visibility="Visible"/>
<Button Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2" Content="Install Drivers" Click="InstallDrivers_Click" Name="InstallDriversButton" IsEnabled="False"/>
<Button Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="2" Content="Cancel Download" Click="CancelDownload_Click" Name="CancelButton" Visibility="Collapsed"/>
</Grid>
</Window>