eaafed66b0
- migliorata gestione trasmissione - aggiunti messaggi vari.
134 lines
6.8 KiB
XML
134 lines
6.8 KiB
XML
<UserControl x:Class="PlacePageUC"
|
|
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="704" d:DesignWidth="1024" Initialized="PlacePage_Initialized" Loaded="PlacePage_Loaded">
|
|
|
|
<!-- Chiamata al Dictionary -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="SarmaxWallDictionary.xaml"/>
|
|
</UserControl.Resources>
|
|
|
|
<!-- Definizione della PlacePage -->
|
|
<Grid Name="PlacePageGrid" >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="12*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="10*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Definizione della Grid laterale -->
|
|
<Grid Grid.Column="0" Grid.Row="0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label Name="WallPositioningLbl" Grid.ColumnSpan="3" VerticalAlignment="Center"
|
|
HorizontalAlignment="Center" FontSize="15" />
|
|
<Button Name="UpBtn" Grid.Column="1" Grid.Row="1" >
|
|
<Image Source="Resources/UpArrow.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="LeftBtn" Grid.Column="0" Grid.Row="2" >
|
|
<Image Source="Resources/LeftArrow.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<ToggleButton Name="MaximizeMoveBtn" Grid.Column="1" Grid.Row="2" >
|
|
<Image Source="Resources/MaxMove.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</ToggleButton>
|
|
<Button Name="RightBtn" Grid.Column="2" Grid.Row="2" >
|
|
<Image Source="Resources/RightArrow.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="DownBtn" Grid.Column="1" Grid.Row="3" >
|
|
<Image Source="Resources/DownArrow.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
<Button Name="RotateCounterClockwiseBtn" Grid.Column="0" Grid.Row="4" >
|
|
<Image Source="Resources/CounterClockwiseRotate.png" Width="64" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="RotateHalfTurnBtn" Grid.Column="1" Grid.Row="4" >
|
|
<Image Source="Resources/HalfTurnRotate.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="RotateClockwiseBtn" Grid.Column="2" Grid.Row="4" >
|
|
<Image Source="Resources/ClockwiseRotate.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
<UniformGrid Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="3" Columns="2" >
|
|
<Button Name="InsertWallBtn" FontSize="15" >
|
|
<TextBlock Name="InsertWallTxt" TextWrapping="Wrap" TextAlignment="Center"/>
|
|
</Button>
|
|
<Button Name="StoreWallBtn" FontSize="15" >
|
|
<TextBlock Name="StoreWallTxt" TextWrapping="Wrap" TextAlignment="Center"/>
|
|
</Button>
|
|
</UniformGrid>
|
|
|
|
<Button Name="RemoveWallBtn" Grid.Column="0" Grid.Row="7" Grid.ColumnSpan="3" FontSize="15" />
|
|
|
|
<UniformGrid Grid.Column="0" Grid.Row="8" Grid.ColumnSpan="3" Columns="2">
|
|
<TextBlock Name="LayerThicknessLbl" Grid.ColumnSpan="3" VerticalAlignment="Center"
|
|
HorizontalAlignment="Center" FontSize="15" TextWrapping="WrapWithOverflow" Width="80"
|
|
TextAlignment="Center" />
|
|
<TextBox Name="LayerThicknessTxBx" Grid.Column="1" Grid.Row="5" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="60"
|
|
TextAlignment="Right"/>
|
|
</UniformGrid>
|
|
|
|
<UniformGrid Grid.Column="0" Grid.Row="9" Grid.ColumnSpan="3" Columns="2">
|
|
<TextBlock Name="PlankNumFirstLayerLbl" Grid.ColumnSpan="3" VerticalAlignment="Center"
|
|
HorizontalAlignment="Center" FontSize="15" TextWrapping="WrapWithOverflow" Width="80"
|
|
TextAlignment="Center" />
|
|
<TextBox Name="PlankNumFirstLayerTxBx" Grid.Column="1" Grid.Row="5" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="60"
|
|
TextAlignment="Right"/>
|
|
</UniformGrid>
|
|
|
|
</Grid>
|
|
|
|
<Border Name="MessageBrd" Grid.Row="1" BorderThickness="0,1,0,0" BorderBrush="Gray">
|
|
<TextBlock Name="MessageTxBl" FontSize="15" VerticalAlignment="Center"
|
|
TextWrapping="WrapWithOverflow" HorizontalAlignment="Center" />
|
|
</Border>
|
|
|
|
|
|
<!-- Definizione della Grid Inferiore per i Button Genera e Trasmetti -->
|
|
<Grid Name="BottomButtonsGrid" Grid.Column="2" Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="7*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="2*"/>
|
|
<ColumnDefinition Width="2*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button Name="GenerateBtn" Grid.Column="2" FontSize="15" />
|
|
<Button Name="SendBtn" Grid.Column="3" FontSize="15" />
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|