-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainPage.xaml
21 lines (18 loc) · 890 Bytes
/
MainPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Page
x:Class="WindowsUWPSystemUpdate.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:WindowsUWPSystemUpdate"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding State}"></TextBlock>
<StackPanel Orientation="Horizontal">
<Button Click="UpdateButton_Click" Margin="5">Update</Button>
<Button Click="InstallButton_Click" Margin="5">Install</Button>
<Button Click="RebootButton_Click" Margin="5">Reboot</Button>
</StackPanel>
</StackPanel>
</Page>