diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-06-07 09:50:29 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-06-07 09:50:29 +0300 |
| commit | 714c2fd7941c3f65e363a3d9cc33765c746f0c59 (patch) | |
| tree | d936bc5a7c64b5a3227a41ae742142fbb835bca8 /Software/Visual_Studio/Tango.SimulateTouch.UI/MainWindow.xaml | |
| parent | 8f02bc33eab3c82aac624c390c0805bf29816108 (diff) | |
| download | Tango-714c2fd7941c3f65e363a3d9cc33765c746f0c59.tar.gz Tango-714c2fd7941c3f65e363a3d9cc33765c746f0c59.zip | |
Refined touch simulation test.
Diffstat (limited to 'Software/Visual_Studio/Tango.SimulateTouch.UI/MainWindow.xaml')
| -rw-r--r-- | Software/Visual_Studio/Tango.SimulateTouch.UI/MainWindow.xaml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/Software/Visual_Studio/Tango.SimulateTouch.UI/MainWindow.xaml b/Software/Visual_Studio/Tango.SimulateTouch.UI/MainWindow.xaml index 5c7075e8a..1bca41386 100644 --- a/Software/Visual_Studio/Tango.SimulateTouch.UI/MainWindow.xaml +++ b/Software/Visual_Studio/Tango.SimulateTouch.UI/MainWindow.xaml @@ -5,19 +5,18 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:Tango.SimulateTouch.UI" mc:Ignorable="d" - Title="MainWindow" Height="450" Width="800" > - <Grid Background="White" x:Name="GdRootZm"> - <Border Width="200" BorderBrush="Silver" BorderThickness="1" CornerRadius="5" VerticalAlignment="Bottom" HorizontalAlignment="Right" - Margin="50" Background="White" x:Name="BdrSimulateZm"> - <StackPanel Orientation="Vertical" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> - <Border Margin="3" Height="45" BorderBrush="Blue" BorderThickness="1" CornerRadius="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> - <TextBlock x:Name="messageTextBlock" Height="45" Width="Auto" Background="Azure" ></TextBlock> - </Border> - <Border Margin="3" Height="45" BorderBrush="Blue" BorderThickness="1" CornerRadius="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> - <TextBlock x:Name="TouchUpTextBlock" Height="45" Width="Auto" Background="Azure" ></TextBlock> - </Border> - <Button Margin="0 20 0 0 " Width="200" PreviewMouseLeftButtonUp="OnButtonLeftButtonDown">Touch Button</Button> - </StackPanel> - </Border> + Title="MainWindow" Height="450" Width="800" WindowState="Maximized"> + + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="1*"/> + <ColumnDefinition Width="150"/> + </Grid.ColumnDefinitions> + + <Canvas Background="Gainsboro"> + <Rectangle x:Name="rect" Width="100" Height="100" Fill="Red" Canvas.Top="0" Canvas.Left="0" IsHitTestVisible="True"></Rectangle> + </Canvas> + + <Button x:Name="btnStart" Click="BtnStart_Click" Margin="10" Grid.Column="1" VerticalAlignment="Bottom" Padding="10">START TEST</Button> </Grid> </Window> |
