blob: 6210ca94c4d7e97e1d435e6085d691f084d6f116 (
plain)
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
|
<UserControl x:Class="Tango.MachineStudio.Synchronization.Views.MenuView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Tango.MachineStudio.Synchronization.Views"
xmlns:global="clr-namespace:Tango.MachineStudio.Synchronization"
mc:Ignorable="d"
d:DesignHeight="720" d:DesignWidth="1280" DataContext="{x:Static global:ViewModelLocator.MenuViewVM}">
<Grid>
<Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid VerticalAlignment="Center">
<StackPanel>
<StackPanel HorizontalAlignment="Center" Margin="0 0 0 30">
<TextBlock TextAlignment="Center" FontSize="25">Remote Synchronization</TextBlock>
<TextBlock TextAlignment="Center" FontSize="14" Foreground="#303030">Synchronize local SQLite database file with the remote Twine database.</TextBlock>
</StackPanel>
<Viewbox RenderOptions.BitmapScalingMode="Fant" Width="400">
<Grid Width="450">
<StackPanel>
<StackPanel Orientation="Horizontal">
<Image Source="../Images/remote-db.png" Width="200"></Image>
<Image Source="../Images/arrow_right.png" Width="100"></Image>
<Image Source="../Images/android-phone-color.png" Width="180"></Image>
</StackPanel>
<Button Command="{Binding StartRemoteSyncCommand}" Height="80" Margin="20 20 10 0" HorizontalAlignment="Right" Padding="10" FontSize="20" Width="200">START</Button>
</StackPanel>
</Grid>
</Viewbox>
</StackPanel>
</Grid>
<Grid VerticalAlignment="Center" Grid.Column="1">
<StackPanel>
<StackPanel HorizontalAlignment="Center" Margin="0 0 0 30">
<TextBlock TextAlignment="Center" FontSize="25">Local Synchronization</TextBlock>
<TextBlock TextAlignment="Center" FontSize="14" Foreground="#303030">Synchronize two SQLite local database files.</TextBlock>
</StackPanel>
<Viewbox RenderOptions.BitmapScalingMode="Fant" Width="400">
<Grid Width="450">
<StackPanel>
<StackPanel Orientation="Horizontal">
<Image Source="../Images/sqlite.png" Width="160"></Image>
<Image Source="../Images/arrow_right.png" Width="100" RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform>
<RotateTransform Angle="180"></RotateTransform>
</Image.RenderTransform>
</Image>
<Image Source="../Images/sqlite.png" Width="160"></Image>
</StackPanel>
<Button Command="{Binding StartLocalSyncCommand}" Height="80" Margin="5 20 20 0" HorizontalAlignment="Left" Padding="10" FontSize="20" Width="200">START</Button>
</StackPanel>
</Grid>
</Viewbox>
</StackPanel>
</Grid>
</Grid>
</Grid>
</Grid>
</UserControl>
|