456f465dd1
- primo rilascio.
131 lines
6.8 KiB
XML
131 lines
6.8 KiB
XML
<UserControl x:Class="ComponentiUC"
|
|
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="853.3" d:DesignWidth="1024" Loaded="ComponentiUC_Loaded" Unloaded="ComponentiUC_Unloaded" Initialized="ComponentiUC_Initialized">
|
|
|
|
<!-- Chiamata al dizionario -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="OmagCUTDictionary.xaml"/>
|
|
</UserControl.Resources>
|
|
|
|
<!-- Definizione della PAGINA Componenti -->
|
|
<Grid Name="BackGroundGridComponenti">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="9*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="5*"/>
|
|
<RowDefinition Height="5*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Definizione della Grid per gli Expander sulla Column 0 -->
|
|
<Grid Grid.Column="0" Grid.Row="0" Grid.RowSpan="3">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<Button Content="Triangolo" Grid.Row="0"
|
|
Height="40" FontSize="25" Click="TriangleBtnUC_Click" />
|
|
<Button Content="Rettangolo" Grid.Row="1"
|
|
Height="40" FontSize="25" />
|
|
<Expander Header="Trapezio"
|
|
Grid.Row="2"
|
|
FontSize="25"
|
|
VerticalAlignment="Top"
|
|
BorderBrush="Gray"
|
|
Background="LightGray"
|
|
BorderThickness="2" >
|
|
<Border BorderThickness="0" BorderBrush="Gray" Background="Gray">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<Button Content="Rettangolo" Grid.Row="0" Click="RectangleTrapeziumBtnUC_Click"/>
|
|
<Button Content="Isoscele" Grid.Row="1" />
|
|
<Button Content="Scaleno" Grid.Row="2" />
|
|
</Grid>
|
|
</Border>
|
|
</Expander>
|
|
<Button Content="Quadrilatero" Grid.Row="3"
|
|
Height="40" FontSize="25" />
|
|
<Button Content="Piedoca" Grid.Row="4"
|
|
Height="40" FontSize="25"/>
|
|
<Button Content="Soglia" Grid.Row="5"
|
|
Height="40" FontSize="25"/>
|
|
<Button Content="Piano Cucina" Grid.Row="6"
|
|
Height="40" FontSize="25"/>
|
|
<Button Content="Piano Bagno" Grid.Row="7"
|
|
Height="40" FontSize="25"/>
|
|
</Grid>
|
|
|
|
<!-- Definizione della Grid per i TextBox Nella cella 2,1 -->
|
|
<Grid Grid.Column="1"
|
|
Grid.Row="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<TextBox Grid.Row="0" Grid.Column="0" Name="tbName1"/>
|
|
<TextBox Grid.Row="1" Grid.Column="0" Name="tbName2"/>
|
|
<TextBox Grid.Row="2" Grid.Column="0" Name="tbName3"/>
|
|
<TextBox Grid.Row="3" Grid.Column="0" Name="tbName4"/>
|
|
<TextBox Grid.Row="4" Grid.Column="0" Name="tbName5"/>
|
|
<TextBox Grid.Row="5" Grid.Column="0" Name="tbName6"/>
|
|
<TextBox Grid.Row="6" Grid.Column="0" Name="tbName7"/>
|
|
<TextBox Grid.Row="7" Grid.Column="0" Name="tbName8"/>
|
|
<TextBox Grid.Row="8" Grid.Column="0" Name="tbName9"/>
|
|
<TextBox Grid.Row="9" Grid.Column="0" Name="tbName10"/>
|
|
<TextBox Grid.Row="0" Grid.Column="1" Name="tbValue1"/>
|
|
<TextBox Grid.Row="1" Grid.Column="1" Name="tbValue2"/>
|
|
<TextBox Grid.Row="2" Grid.Column="1" Name="tbValue3"/>
|
|
<TextBox Grid.Row="3" Grid.Column="1" Name="tbValue4"/>
|
|
<TextBox Grid.Row="4" Grid.Column="1" Name="tbValue5"/>
|
|
<TextBox Grid.Row="5" Grid.Column="1" Name="tbValue6"/>
|
|
<TextBox Grid.Row="6" Grid.Column="1" Name="tbValue7"/>
|
|
<TextBox Grid.Row="7" Grid.Column="1" Name="tbValue8"/>
|
|
<TextBox Grid.Row="8" Grid.Column="1" Name="tbValue9"/>
|
|
<TextBox Grid.Row="9" Grid.Column="1" Name="tbValue10"/>
|
|
<TextBox Grid.Row="10" Grid.Column="0" Name="tbMsg" Grid.ColumnSpan="2"/>
|
|
<Button Grid.Row="3" Grid.Column="3" Grid.RowSpan="2" Grid.ColumnSpan="3" Name="btnView"
|
|
Content="View" FontSize="25" Click="ViewBtnUC_Click" />
|
|
<Button Grid.Row="5" Grid.Column="3" Grid.RowSpan="2" Grid.ColumnSpan="3" Name="btnInsert"
|
|
Content="Insert" FontSize="25" Click="InsertBtnUC_Click" />
|
|
<Button Grid.Row="9" Grid.Column="5" Grid.RowSpan="2" Name="btnX" Click="CloseBtnUC_Click" >
|
|
<Image Style="{StaticResource ButtonImage}" Source="Resources/ExitIcon.png"/>
|
|
</Button>
|
|
<TextBox Grid.Row="7" Grid.Column="3" Grid.ColumnSpan="3" Name="tbNbr"/>
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</UserControl>
|