b342705e9b
- prima gestione del ponte posa tavole - modifiche varie per gestione colla - aggiunto oggetto distanziale.
100 lines
5.1 KiB
XML
100 lines
5.1 KiB
XML
<UserControl x:Class="DrawPageUC"
|
|
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="DrawPage_Initialized" Loaded="DrawPage_Loaded" Unloaded="DrawPage_Unloaded">
|
|
|
|
<!-- Chiamata al Dictionary -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="SarmaxWallDictionary.xaml"/>
|
|
</UserControl.Resources>
|
|
|
|
<!-- Definizione della DrawPage -->
|
|
<Grid Name="DrawPageGrid" >
|
|
<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.RowSpan="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1.5*"/>
|
|
<ColumnDefinition Width="1.5*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="2*"/>
|
|
<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*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<ToggleButton Name="WallBtn" Grid.Row="0" Grid.ColumnSpan="2" FontSize="15" />
|
|
<ToggleButton Name="DoorBtn" Grid.Row="1" Grid.ColumnSpan="2" FontSize="15" />
|
|
<ToggleButton Name="WindowBtn" Grid.Row="2" Grid.ColumnSpan="2" FontSize="15" />
|
|
<ToggleButton Name="SpacerBtn" Grid.Row="3" Grid.ColumnSpan="2" FontSize="15" />
|
|
|
|
<Label Name="Label1" Grid.Row="6" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox1" Grid.Column="1" Grid.Row="6" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="60"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label2" Grid.Row="7" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox2" Grid.Column="1" Grid.Row="7" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="60"
|
|
TextAlignment="Right" />
|
|
<Label Name="Label3" Grid.Row="8" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox3" Grid.Column="1" Grid.Row="8" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="60"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label4" Grid.Row="9" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox4" Grid.Column="1" Grid.Row="9" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="60"
|
|
TextAlignment="Right"/>
|
|
<Label Name="MessageLabel" Grid.Row="10" Grid.ColumnSpan="2" Content="Label" FontSize="15" />
|
|
|
|
<Button Name="AddBtn" Grid.Row="11" FontSize="15" />
|
|
<Button Name="CancelBtn" Grid.Column="1" Grid.Row="11" FontSize="15" />
|
|
|
|
</Grid>
|
|
|
|
<!-- Definizione della Grid Inferiore per i Button V e X -->
|
|
<Grid Name="BottomButtonsGrid" Grid.Column="1" Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="7*"/>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button Name="ConfirmBtn" Grid.Column="2" >
|
|
<Image Source="Resources/V.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="ExitBtn" Grid.Column="3" >
|
|
<Image Source="Resources/X.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</UserControl>
|