fcc59469f8
- Correzioni varie. - Implementata gestione CN da pagina Macchina.
148 lines
8.4 KiB
XML
148 lines
8.4 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="853.3" d:DesignWidth="1280" Initialized="DrawPage_Initialized" Loaded="DrawPage_Loaded" Unloaded="DrawPage_Unloaded">
|
|
|
|
<!-- Chiamata al Dictionary -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="OmagCutDictionary.xaml"/>
|
|
</UserControl.Resources>
|
|
|
|
<!-- Definizione della DrawPage -->
|
|
<Border Style="{StaticResource CustomBorder}" >
|
|
<Grid Name="LeftButtonGrid" >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="12*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="9*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Definizione della Grid Laterale -->
|
|
<Grid Name="VariablesCompoGrid" Grid.RowSpan="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1.5*"/>
|
|
<ColumnDefinition Width="1.5*"/>
|
|
</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*"/>
|
|
<RowDefinition Height="1*"/>
|
|
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Button Name="InternComponentBtn" Grid.Row="0" Grid.ColumnSpan="2" FontSize="15" />
|
|
|
|
<Label Name="Label1" Grid.Row="1" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox1" Grid.Column="1" Grid.Row="1" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label2" Grid.Row="2" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox2" Grid.Column="1" Grid.Row="2" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right" />
|
|
<Label Name="Label3" Grid.Row="3" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox3" Grid.Column="1" Grid.Row="3" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label4" Grid.Row="4" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox4" Grid.Column="1" Grid.Row="4" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label5" Grid.Row="5" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox5" Grid.Column="1" Grid.Row="5" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label6" Grid.Row="6" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox6" Grid.Column="1" Grid.Row="6" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label7" Grid.Row="7" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox7" Grid.Column="1" Grid.Row="7" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label8" Grid.Row="8" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox8" Grid.Column="1" Grid.Row="8" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label9" Grid.Row="9" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox9" Grid.Column="1" Grid.Row="9" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
<Label Name="Label10" Grid.Row="10" Content="Label" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="TextBox10" Grid.Column="1" Grid.Row="10" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90"
|
|
TextAlignment="Right"/>
|
|
|
|
<Button Name="AddBtn" Grid.Row="12" FontSize="15" />
|
|
<Button Name="CancelBtn" Grid.Column="1" Grid.Row="12" FontSize="15" />
|
|
|
|
<TextBlock Name="MessageLabel" Grid.Row="13" Grid.ColumnSpan="2" FontSize="20" VerticalAlignment="Center"
|
|
TextWrapping="Wrap" HorizontalAlignment="Center"/>
|
|
|
|
<Button Name="BackBtn" Grid.Column="1" Grid.Row="14" FontSize="15" >
|
|
<Image Source="Resources/NumericKeyboardArrow.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
<!-- Definizione della Grid Inferiore per i Button V e X -->
|
|
<Grid Name="LowerButtonsGrid" Grid.Column="1" Grid.Row="3">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="7*"/>
|
|
<ColumnDefinition Width="2*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Name="PartNumLbl" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
FontSize="20"/>
|
|
<TextBox Name="PartNumTxBx" Grid.Column="2" Style="{StaticResource NumericKeyboard}"
|
|
FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Width="60"
|
|
TextAlignment="Right"/>
|
|
<Button Name="OkBtn" Grid.Column="3" >
|
|
<Image Source="Resources/V.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="ExitBtn" Grid.Column="4" >
|
|
<Image Source="Resources/X.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</UserControl>
|