c529c9dd59
- aggiungo file mancanti.
144 lines
7.3 KiB
XML
144 lines
7.3 KiB
XML
<UserControl x:Class="GrezzoUC"
|
|
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="255.9"
|
|
Background="Gray" Loaded="GrezzoUC_Loaded" Initialized="GrezzoUC_Initialized">
|
|
|
|
<!-- Chiamata al dizionario che contiene Styles e Colori -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="OmagCUTDictionary.xaml"></ResourceDictionary>
|
|
</UserControl.Resources>
|
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="3*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="2*"/>
|
|
<RowDefinition Height="1.5*"/>
|
|
<RowDefinition Height="1.5*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Style="{StaticResource CustomBorder}" Grid.ColumnSpan="3"
|
|
Grid.Column="0" Grid.Row="0" >
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
</Grid.RowDefinitions>
|
|
<Button Name="RectangleBtn" FontSize="20" FontWeight="Bold"/>
|
|
<Button Name="ByPointsBtn" Content="Per Punti" Grid.Column="1" FontSize="20" FontWeight="Bold" Click="ByPointsBtnUC_Click"/>
|
|
<Label Content="Larghezza" Grid.Row="1" FontSize="20" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" Name="WidthLbl"/>
|
|
<TextBox Grid.Column="1" Grid.Row="1" Text="200" FontSize="20"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Width="60" TextAlignment="Right"
|
|
Style="{StaticResource NumericKeyboard}" Name="WidthTxBx" />
|
|
<Label Content="Lunghezza" Grid.Row="2" FontSize="20" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"/>
|
|
<TextBox Grid.Column="1" Grid.Row="2" Text="200" FontSize="20"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Width="60" TextAlignment="Right"/>
|
|
<Label Content="Offset X" Grid.Row="3" FontSize="20" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
<TextBox Grid.Column="1" Grid.Row="3" Text="200" FontSize="20"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Width="60" TextAlignment="Right"/>
|
|
<Label Content="Offset Y" Grid.Row="4" FontSize="20" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
<TextBox Grid.Column="1" Grid.Row="4" Text="200" FontSize="20"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Width="60" TextAlignment="Right"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Style="{StaticResource CustomBorder}" Grid.ColumnSpan="3"
|
|
Grid.Column="0" Grid.Row="1" >
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label Content="Kerf" Grid.Row="0" FontSize="20" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" Name="KerfLbl" />
|
|
<UniformGrid Grid.Column="1" Columns="2">
|
|
<Button Name="KerfBtn" Content="Int" FontSize="20"/>
|
|
<Button Content="Ext" Grid.Column="1" FontSize="20"/>
|
|
</UniformGrid>
|
|
<Label Content="Spessore" Grid.Row="1" FontSize="20" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" Name="KerfThicknessLbl"/>
|
|
<TextBox Grid.Column="1" Grid.Row="1" Text="200" FontSize="20"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Width="60" TextAlignment="Right"/>
|
|
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Style="{StaticResource CustomBorder}" Grid.ColumnSpan="3"
|
|
Grid.Column="0" Grid.Row="2" >
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="1*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label Content="Zona rovinata" Grid.Row="0" FontSize="20" HorizontalAlignment="Left"
|
|
VerticalAlignment="Center" Name="Lbl" Grid.ColumnSpan="2" Margin="8,0,0,0" FontWeight="Bold"/>
|
|
<Label Content="N° punti" Grid.Row="1" FontSize="20" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
<TextBox Grid.Column="1" Grid.Row="1" Text="200" FontSize="20"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Width="60" TextAlignment="Right"/>
|
|
<Button Content="Nuova" Grid.Row="2" FontSize="20"/>
|
|
<Button Content="Elimina" Grid.Row="2" Grid.Column="1" FontSize="20"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Style="{StaticResource CustomBorder}" Grid.ColumnSpan="3"
|
|
Grid.Column="0" Grid.Row="4" >
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label Content="Punti" Grid.Row="0" FontSize="20" HorizontalAlignment="Left"
|
|
VerticalAlignment="Center" Name="Ldfbl" Grid.ColumnSpan="2" Margin="8,0,0,0" FontWeight="Bold"/>
|
|
<Button Content="Aggiungi" Grid.Row="1" FontSize="20"/>
|
|
<Button Content="Rimuovi" Grid.Row="1" Grid.Column="1" FontSize="20"/>
|
|
|
|
</Grid>
|
|
</Border>
|
|
|
|
|
|
<Button Content="X" Grid.Column="2" Grid.Row="5" Click="ExitBtnUC_Click" />
|
|
<Button Content="V" Grid.Column="1" Grid.Row="5" Click="ConfirmBtn_Click" />
|
|
|
|
</Grid>
|
|
</UserControl>
|