74e07bf42b
- miglioramenti vari.
93 lines
4.9 KiB
XML
93 lines
4.9 KiB
XML
<UserControl x:Class="CurrentProjectPageUC"
|
|
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="1280" Initialized="CurrentProjectPage_Initialized" Loaded="CurrentProjectPage_Loaded">
|
|
|
|
<!-- Chiamata al Dictionary -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="OmagCutDictionary.xaml"/>
|
|
</UserControl.Resources>
|
|
|
|
<!-- Definizione della CurrentProjectPage -->
|
|
<Border Style="{StaticResource CustomBorder}" >
|
|
|
|
<Grid Name="CurrentProjectPageGrid" >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="12*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="8*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Definizione della Grid superiore -->
|
|
<Grid Name="UpperButtonGrid" Grid.Column="1" Grid.Row="0" >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="5*"/>
|
|
<ColumnDefinition Width="7*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
</Grid>
|
|
|
|
<!-- Definizione della Grid laterale -->
|
|
<Grid Grid.RowSpan="3">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="2*"/>
|
|
<RowDefinition Height="7*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Definizione della Grid con le caratteristiche del progetto -->
|
|
|
|
<Border Name="CurrProjGrid" Style="{StaticResource CustomBorder}" Grid.Row="0" >
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label Name="MaterialLbl" Grid.Row="0" FontSize="22" HorizontalAlignment="Left"
|
|
VerticalAlignment="Center" Grid.ColumnSpan="2" Margin="8,0,0,0" Content="Materiale" />
|
|
<TextBox Name="MaterialTxBx" Grid.Column="1" Grid.Row="0" FontSize="22" Width="100"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"
|
|
Background="LightGray" BorderBrush="Gray" TextAlignment="Center" />
|
|
<Label Name="HeightLbl" Grid.Row="1" FontSize="22" HorizontalAlignment="Left"
|
|
VerticalAlignment="Center" Grid.ColumnSpan="2" Margin="8,0,0,0" Content="Spessore" />
|
|
<TextBox Name="HeightTxBx" Grid.Column="1" Grid.Row="1" FontSize="22" Width="100"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"
|
|
Background="LightGray" BorderBrush="Gray" TextAlignment="Right" />
|
|
<Label Name="ToolLbl" Grid.Row="2" FontSize="22" HorizontalAlignment="Left"
|
|
VerticalAlignment="Center" Grid.ColumnSpan="2" Margin="8,0,0,0" Content="Utensile" />
|
|
<TextBox Name="ToolTxBx" Grid.Column="1" Grid.Row="2" FontSize="22" Width="100"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"
|
|
Background="LightGray" BorderBrush="Gray" TextAlignment="Center" />
|
|
<Label Name="MachiningLbl" Grid.Row="3" FontSize="22" HorizontalAlignment="Left"
|
|
VerticalAlignment="Center" Grid.ColumnSpan="2" Margin="8,0,0,0" Content="Lavorazione" />
|
|
<TextBox Name="MachiningTxBx" Grid.Column="1" Grid.Row="3" FontSize="22" Width="100"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"
|
|
Background="LightGray" BorderBrush="Gray" TextAlignment="Center" />
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</UserControl>
|