4300a8f2e9
- Aggiunta nuova grafica combobox, listbox e scrollbar. - Aggiunta gestione inclinazione pezzi sia a componenti che a importazione dxf.
71 lines
3.0 KiB
XML
71 lines
3.0 KiB
XML
<UserControl x:Class="OpenPageUC"
|
|
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="OpenPage_Initialized" Loaded="OpenPage_Loaded" Unloaded="OpenPage_Unloaded">
|
|
|
|
<!-- Chiamata al Dictionary -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="OmagCutDictionary.xaml"/>
|
|
</UserControl.Resources>
|
|
|
|
<!-- Definizione della OpenPage -->
|
|
<Border>
|
|
<Grid Name="OpenPageGrid" >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="12*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="8*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Definizione della Grid Inferiore per i Button V e X -->
|
|
<Grid Name="UpperButtonsGrid" Grid.Column="1" Grid.RowSpan="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="5*"/>
|
|
<ColumnDefinition Width="7*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid>
|
|
|
|
<Label Name="FilePathTxBl" Foreground="White" FontSize="20" VerticalAlignment="Center"/>
|
|
<ListBox Name="FileListBox" Grid.Row="1" Grid.RowSpan="2" ItemTemplate="{DynamicResource DataTemplateItem}"
|
|
ItemsSource="{Binding ItemList}"/>
|
|
|
|
<Border Name="MessageBrd" Grid.Row="3" BorderThickness="0,1,0,0" BorderBrush="Gray">
|
|
<TextBlock Name="MessageTxBx" FontSize="15" VerticalAlignment="Center"
|
|
TextWrapping="Wrap" HorizontalAlignment="Center" />
|
|
</Border>
|
|
|
|
<!-- Definizione della Grid Inferiore per i Button V e X -->
|
|
<Grid Name="BottomButtonsGrid" Grid.Column="1" Grid.Row="3">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="7*"/>
|
|
<ColumnDefinition Width="3*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Button Name="OkBtn" Grid.Column="2" Style="{StaticResource OmagCut_GradientBlueIconButton}">
|
|
<Image Source="Resources/V.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="ExitBtn" Grid.Column="3" Style="{StaticResource OmagCut_GradientBlueIconButton}">
|
|
<Image Source="Resources/X.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</UserControl>
|