diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-08 14:37:29 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-08 14:37:29 +0200 |
| commit | 0ec56a54ca0c64a2f7ba402a1b99b3c217cd5ae5 (patch) | |
| tree | fde0d6465b2246c297278904f666909c229b35dd /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/Views | |
| parent | f7cd23fa57b58bf86b71cae469f37c03913a9a80 (diff) | |
| download | Tango-0ec56a54ca0c64a2f7ba402a1b99b3c217cd5ae5.tar.gz Tango-0ec56a54ca0c64a2f7ba402a1b99b3c217cd5ae5.zip | |
Implemented auto scaling of machine studio to screen resolution.
Modified machine connection icons again.
Added Embedded device name to settings.
Added port USB and TCP to settings.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/Views')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/Views/MenuView.xaml | 122 |
1 files changed, 62 insertions, 60 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/Views/MenuView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/Views/MenuView.xaml index 67501743b..b7f37b022 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/Views/MenuView.xaml +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/Views/MenuView.xaml @@ -10,74 +10,76 @@ d:DesignHeight="720" d:DesignWidth="1280" DataContext="{x:Static global:ViewModelLocator.MenuViewVM}"> <Grid> <Grid> - <UniformGrid Columns="3"> - <Grid VerticalAlignment="Center"> - <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> - <Image Source="../Images/sqlite.png" Width="130"></Image> + <Viewbox MaxWidth="1600"> + <UniformGrid Columns="3"> + <Grid VerticalAlignment="Center"> + <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> + <Image Source="../Images/sqlite.png" Width="130"></Image> + </StackPanel> + + <Button Command="{Binding StartLocalSyncCommand}" Height="80" Margin="0 20 0 0" HorizontalAlignment="Center" Padding="10" FontSize="20" Width="200">START</Button> </StackPanel> + </Grid> + </Viewbox> + </StackPanel> + </Grid> - <Button Command="{Binding StartLocalSyncCommand}" Height="80" Margin="0 20 0 0" HorizontalAlignment="Center" Padding="10" FontSize="20" Width="200">START</Button> - </StackPanel> - </Grid> - </Viewbox> - </StackPanel> - </Grid> + <Grid VerticalAlignment="Center"> + <StackPanel> + <StackPanel HorizontalAlignment="Center" Margin="0 0 0 30"> + <TextBlock TextAlignment="Center" FontSize="25">Direct Remote Synchronization</TextBlock> + <TextBlock TextAlignment="Center" FontSize="14" Foreground="#303030">Connect and synchronized a Tango machine over the network.</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/machine-trans.png" Width="120"></Image> + </StackPanel> - <Grid VerticalAlignment="Center"> - <StackPanel> - <StackPanel HorizontalAlignment="Center" Margin="0 0 0 30"> - <TextBlock TextAlignment="Center" FontSize="25">Direct Remote Synchronization</TextBlock> - <TextBlock TextAlignment="Center" FontSize="14" Foreground="#303030">Connect and synchronized a Tango machine over the network.</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/machine-trans.png" Width="120"></Image> + <Button Command="{Binding StartDirectRemoteSyncCommand}" Height="80" Margin="0 20 0 0" HorizontalAlignment="Center" Padding="10" FontSize="20" Width="200">START</Button> </StackPanel> + </Grid> + </Viewbox> + </StackPanel> + </Grid> - <Button Command="{Binding StartDirectRemoteSyncCommand}" Height="80" Margin="0 20 0 0" HorizontalAlignment="Center" Padding="10" FontSize="20" Width="200">START</Button> - </StackPanel> - </Grid> - </Viewbox> - </StackPanel> - </Grid> + <Grid VerticalAlignment="Center"> + <StackPanel> + <StackPanel HorizontalAlignment="Center" Margin="0 0 0 30"> + <TextBlock TextAlignment="Center" FontSize="25">Semi 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/sqlite.png" Width="120"></Image> + </StackPanel> - <Grid VerticalAlignment="Center"> - <StackPanel> - <StackPanel HorizontalAlignment="Center" Margin="0 0 0 30"> - <TextBlock TextAlignment="Center" FontSize="25">Semi 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/sqlite.png" Width="120"></Image> + <Button Command="{Binding StartRemoteSyncCommand}" Height="80" Margin="0 20 0 0" HorizontalAlignment="Center" Padding="10" FontSize="20" Width="200">START</Button> </StackPanel> + </Grid> + </Viewbox> + </StackPanel> + </Grid> - <Button Command="{Binding StartRemoteSyncCommand}" Height="80" Margin="0 20 0 0" HorizontalAlignment="Center" Padding="10" FontSize="20" Width="200">START</Button> - </StackPanel> - </Grid> - </Viewbox> - </StackPanel> - </Grid> - - </UniformGrid> + </UniformGrid> + </Viewbox> </Grid> </Grid> </UserControl> |
