Files
OmagCUT/SingleCutUC.xaml
T
Dario Sassi 07e379ef92 OmagCUT :
- migliorie varie per comunicazione con macchina
- teach-in anche con laser.
2015-12-14 07:45:17 +00:00

73 lines
3.9 KiB
XML

<UserControl x:Class="SingleCutUC"
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:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="597.3" d:DesignWidth="256" Loaded="SingleCut_Loaded" Unloaded="SingleCut_Unloaded">
<!-- Chiamata al Dictionary -->
<UserControl.Resources>
<ResourceDictionary Source="OmagCutDictionary.xaml"/>
</UserControl.Resources>
<!-- Definizione della Grid SingleCut -->
<Grid Name="SingleCutGrid" Background="LightGray" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<Button Name="PointBtn" Grid.Row="0" Grid.ColumnSpan="2" FontSize="22" Content="Acquisisci punto"/>
<TextBlock Name="DepthTxBl" Grid.Column="0" Grid.Row="1" FontSize="20" HorizontalAlignment="Center"
VerticalAlignment="Center" TextAlignment="Center" TextWrapping="Wrap" Text="Affondamento" />
<TextBox Name="DepthTxBx" Grid.Column="1" Grid.Row="1" FontSize="20"
HorizontalAlignment="Center" VerticalAlignment="Center" Width="75" TextAlignment="Center" />
<TextBlock Name="LenghtTxBl" Grid.Column="0" Grid.Row="2" FontSize="20" HorizontalAlignment="Center"
VerticalAlignment="Center" TextAlignment="Center" TextWrapping="Wrap" Text="Lunghezza" />
<TextBox Name="LenghtTxBx" Grid.Column="1" Grid.Row="2" FontSize="20"
HorizontalAlignment="Center" VerticalAlignment="Center" Width="75" TextAlignment="Center" />
<TextBlock Name="DirectionTxBl" Grid.Column="0" Grid.Row="3" FontSize="20" HorizontalAlignment="Center"
VerticalAlignment="Center" TextAlignment="Center" TextWrapping="Wrap" Text="Direzione" />
<TextBox Name="DirectionTxBx" Grid.Column="1" Grid.Row="3" FontSize="20"
HorizontalAlignment="Center" VerticalAlignment="Center" Width="75" TextAlignment="Center" />
<TextBlock Name="SideAngleTxBl" Grid.Column="0" Grid.Row="4" FontSize="20" HorizontalAlignment="Center"
VerticalAlignment="Center" TextAlignment="Center" TextWrapping="Wrap" Text="Inclinazione" />
<TextBox Name="SideAngleTxBx" Grid.Column="1" Grid.Row="4" FontSize="20"
HorizontalAlignment="Center" VerticalAlignment="Center" Width="75" TextAlignment="Center" />
<TextBlock Name="SawTipTxBl" Grid.Column="0" Grid.Row="10" Grid.ColumnSpan="2" FontSize="18" HorizontalAlignment="Center"
VerticalAlignment="Center" TextAlignment="Center" TextWrapping="Wrap" Text="" />
<Button Name="OkBtn" Grid.Column="0" Grid.Row="11" FontSize="20" Content="Esegui"/>
<Button Name="ExitBtn" Grid.Column="2" Grid.Row="11">
<Image Source="Resources/X.png" Width="65" Height="65" HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Button>
<CheckBox Name="LaserOnChBx" Grid.Row="5" Grid.ColumnSpan="2" Height="40" Width="200" Content="Acquisisci laser" FontSize="22"/>
</Grid>
</UserControl>