-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathImportPage.xaml
114 lines (101 loc) · 5.17 KB
/
ImportPage.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
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
<Page
x:Class="VBA10.ImportPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:VBA10"
xmlns:ctl="using:VBA10.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Loaded="Page_Loaded"
d:DesignWidth="700">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!--<ctl:PageHeader>
<ctl:PageHeader.HeaderContent>
<TextBlock x:Name="title"
Style="{ThemeResource PageTitleTextBlockStyle}" Text="IMPORT"/>
</ctl:PageHeader.HeaderContent>
</ctl:PageHeader>-->
<Grid x:Name="titleBar"
Height="48"
Background="{ThemeResource SystemControlBackgroundChromeMediumBrush}">
<TextBlock x:Name="title"
Style="{StaticResource PageTitleTextBlockStyle}" Text="**IMPORT"
x:Uid="IMPORT"/>
</Grid>
<ScrollViewer HorizontalScrollBarVisibility="Disabled"
VerticalScrollBarVisibility="Auto"
Grid.Row="1"
>
<RelativePanel>
<StackPanel Margin="12,0"
MaxWidth="500">
<TextBlock Text="**Local storage"
VerticalAlignment="Center"
Style="{ThemeResource TitleTextBlockStyle}"
Margin="0,8,0,0"
x:Uid="LocalStorage"
/>
<TextBlock TextWrapping="Wrap"
Text="**Use this option to***"
Margin=" 0, 4, 0, 4"
x:Uid="ImportLocalInstruction"/>
<StackPanel Orientation="Horizontal"
Margin="0,4,0,4">
<Button x:Name="chooseFolderbtn" Content="**Import ROM"
Click="chooseFolderbtn_Click"
Width="120"
Margin =" 0, 0, 8, 0"
x:Uid="ImportROMBtn"/>
<Button x:Name="importSavbtn" Content="**Import Save"
Width="120"
Margin ="0"
Click="importSavbtn_Click"
x:Uid="ImportSaveBtn"/>
</StackPanel>
<TextBlock Text="OneDrive"
VerticalAlignment="Center"
Style="{ThemeResource TitleTextBlockStyle}"
Margin="0,8,0,0"
/>
<TextBlock TextWrapping="Wrap"
Text="**Use this option to"
Margin=" 0, 4, 0, 4"
x:Uid="ImportOneDriveInstruction"/>
<!--<TextBlock x:Name="txtSignedIn"
Text="You are signed in. Manage app permissions at https://account.live.com/consent/Manage."
Style="{ThemeResource CaptionTextBlockStyle}"
Visibility="Collapsed"
/>-->
<StackPanel Orientation="Horizontal"
Margin="0,4,0,12">
<Button x:Name="SignInbtn" Content="**Sign in"
Click="SignInbtn_Click"
Width="120"
x:Uid="SignInBtn"
Margin =" 0, 0, 8, 0"/>
<Button x:Name="importOneDriveROMbtn" Content="**Import R/S"
Click="importOneDriveROMbtn_Click"
Width="120"
IsEnabled="False"
x:Uid="ImportRSBtn"
Margin =" 0, 0, 0, 0"/>
<!--<Button x:Name="importOneDriveSavebtn" Content="Import Save"
Width="120"
Margin ="0"
Click="importSavbtn_Click"/>-->
</StackPanel>
<!--<TextBlock TextWrapping="Wrap"
Text="This function will be added in a future release. In the mean time, please store roms on your phone's SD Card or documents folder and use the Local Storage option."
Margin=" 0, 4, 0, 4" />-->
</StackPanel>
</RelativePanel>
</ScrollViewer>
</Grid>
</Page>