231 lines
10 KiB
XML
231 lines
10 KiB
XML
<Window x:Class="OptionsPageUC"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
FontFamily="{DynamicResource OmagView_Font}"
|
|
Height="720.4" Width="511.8" ResizeMode="NoResize"
|
|
ShowInTaskbar="False" AllowsTransparency="True" WindowStyle="None"
|
|
Background="Transparent">
|
|
|
|
<!-- Definizione della OptionsPage -->
|
|
<Border Style="{DynamicResource OmagCut_WindowBorder}">
|
|
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
<ColumnDefinition Width="5*"/>
|
|
<ColumnDefinition Width="5*"/>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.15*"/>
|
|
<RowDefinition Height="2.25*"/>
|
|
<RowDefinition Height="0.15*"/>
|
|
<RowDefinition Height="1.5*"/>
|
|
<RowDefinition Height="0.15*"/>
|
|
<RowDefinition Height="1.5*"/>
|
|
<RowDefinition Height="0.15*"/>
|
|
<RowDefinition Height="1.5*"/>
|
|
<RowDefinition Height="0.15*"/>
|
|
<RowDefinition Height="1.5*"/>
|
|
<RowDefinition Height="0.15*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="0.15*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Name="OptTitle" Grid.Column="1" Grid.Row="0"
|
|
FontSize="{StaticResource FontSize_UpperCaseCharacter}" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" Foreground="{DynamicResource Omag_TextColor}"/>
|
|
|
|
<GroupBox Name="LanguageGpBx" Grid.Column="1" Grid.Row="2"
|
|
Grid.ColumnSpan="2"
|
|
Style="{StaticResource OmagCut_GroupBox}">
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
<ColumnDefinition Width="4*"/>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.2*"/>
|
|
<RowDefinition Height="0.6*"/>
|
|
<RowDefinition Height="0.9*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<ComboBox Name="LanguageCmBx" Grid.Column="1" Grid.Row="1" MinWidth="49" Height="40">
|
|
<ComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Label Content="{Binding LanguageName}" FontSize="20" />
|
|
</DataTemplate>
|
|
</ComboBox.ItemTemplate>
|
|
</ComboBox>
|
|
|
|
<TextBlock Name="LanguageMsgTxBl" Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="3"
|
|
Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
|
|
</Grid>
|
|
|
|
</GroupBox>
|
|
|
|
<!--Selezione unità di misura-->
|
|
<GroupBox Name="UnitsOfMeasureGpBx" Grid.Column="1" Grid.Row="4"
|
|
Style="{StaticResource OmagCut_GroupBox}">
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
<ColumnDefinition Width="4*"/>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.1*"/>
|
|
<RowDefinition Height="0.6*"/>
|
|
<RowDefinition Height="0.1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<ComboBox Name="UnitsOfMeasureCmBx" Grid.Column="1" Grid.Row="1" Height="40">
|
|
<ComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Label Content="{Binding}" FontSize="20" />
|
|
</DataTemplate>
|
|
</ComboBox.ItemTemplate>
|
|
</ComboBox>
|
|
|
|
</Grid>
|
|
|
|
</GroupBox>
|
|
|
|
<!--Disposizione della tavola-->
|
|
<GroupBox Name="ViewRotGpBx" Grid.Column="2" Grid.Row="4"
|
|
Style="{StaticResource OmagCut_GroupBox}">
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
<ColumnDefinition Width="4*"/>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.1*"/>
|
|
<RowDefinition Height="0.6*"/>
|
|
<RowDefinition Height="0.1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<ComboBox Name="ViewRotCmBx" Grid.Column="1" Grid.Row="1" Height="40">
|
|
<ComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Label Content="{Binding}" FontSize="20" />
|
|
</DataTemplate>
|
|
</ComboBox.ItemTemplate>
|
|
</ComboBox>
|
|
</Grid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Name="ThemesGpBx" Grid.Column="1" Grid.Row="6"
|
|
Grid.ColumnSpan="2"
|
|
Style="{StaticResource OmagCut_GroupBox}">
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
<ColumnDefinition Width="4*"/>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.1*"/>
|
|
<RowDefinition Height="0.6*"/>
|
|
<RowDefinition Height="0.1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<ComboBox Name="ThemesCmBx" Grid.Column="1" Grid.Row="1" Height="40">
|
|
<ComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Label Content="{Binding}" FontSize="20" />
|
|
</DataTemplate>
|
|
</ComboBox.ItemTemplate>
|
|
</ComboBox>
|
|
|
|
</Grid>
|
|
|
|
</GroupBox>
|
|
|
|
<!--Selezione del file template1-->
|
|
<GroupBox Name="LabelGpBx" Grid.Column="1" Grid.Row="8"
|
|
Grid.ColumnSpan="2"
|
|
Style="{StaticResource OmagCut_GroupBox}">
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.25*"/>
|
|
<ColumnDefinition Width="4*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="0.25*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.1*"/>
|
|
<RowDefinition Height="0.6*"/>
|
|
<RowDefinition Height="0.1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Name="LabelTxt"
|
|
Grid.Row="1" Grid.Column="1"
|
|
VerticalAlignment="Center"/>
|
|
<Button Name ="BrowseBtn"
|
|
Grid.Row="1" Grid.Column="2"
|
|
Style="{DynamicResource OmagCut_LeftGrayGradientYellowButton}"
|
|
Margin="0.5,0,0,0">
|
|
<Image Source="{DynamicResource FolderImg}" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</GroupBox>
|
|
|
|
<!--Selezione file template2 con freccia TOP-->
|
|
<GroupBox Name="LabelArrowGpBx" Grid.Column="1" Grid.Row="10"
|
|
Grid.ColumnSpan="2"
|
|
Style="{StaticResource OmagCut_GroupBox}">
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.25*"/>
|
|
<ColumnDefinition Width="4*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="0.25*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.1*"/>
|
|
<RowDefinition Height="0.6*"/>
|
|
<RowDefinition Height="0.1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Name="LabelArrowTxt"
|
|
Grid.Row="1" Grid.Column="1"
|
|
VerticalAlignment="Center"/>
|
|
<Button Name ="BrowseArrowBtn"
|
|
Grid.Row="1" Grid.Column="2"
|
|
Style="{DynamicResource OmagCut_LeftGrayGradientYellowButton}"
|
|
Margin="0.5,0,0,0">
|
|
<Image Source="{DynamicResource FolderImg}" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</GroupBox>
|
|
|
|
<Grid Grid.Column="1" Grid.Row="12" Grid.ColumnSpan="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="2*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="2*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button Name="OkBtn" Grid.Column="1" IsCancel="True" Style="{DynamicResource OmagCut_GradientBlueIconButton}">
|
|
<Image Source="{DynamicResource VImg}" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</Window>
|