3fb7a38f6e
-> nuova gestione per inserimento nomi geometrie nel file GeometryNameList.ini .
106 lines
5.5 KiB
XML
106 lines
5.5 KiB
XML
<EgtWPFLib5:EgtCustomWindow x:Class="GeometryListConfigV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="clr-namespace:EgtDOORCreator"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
Title="{Binding Title}" Icon="/Resources/EgtDOOR.ico"
|
|
TitleBarBrush="{StaticResource EgaltechBlue1}"
|
|
BorderBrush="{StaticResource EgaltechBlue1}"
|
|
WindowStyle="None" ResizeMode="NoResize" TitleBarHeight="30" IsResizable="False"
|
|
IsMinimizable="False" WindowStartupLocation="CenterScreen" ShowInTaskbar="False"
|
|
CloseCommand="{Binding CloseOptionsCommand,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"
|
|
Height="225" Width="350">
|
|
|
|
<Grid Margin="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.6*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="3*"/>
|
|
<RowDefinition Height="1*"/>
|
|
|
|
<!--<RowDefinition Height="1*"/>-->
|
|
</Grid.RowDefinitions>
|
|
<TextBox Grid.Column="1" Grid.Row="0" Text="{Binding GeometryName, UpdateSourceTrigger=PropertyChanged}"
|
|
Style="{StaticResource DoorParamsTxBx}"
|
|
Foreground="{Binding ColorText}"
|
|
Padding="0,2.5,0, 0"
|
|
Margin="5,0,15,5"/>
|
|
<TextBlock Grid.Column="0" Grid.Row="0"
|
|
Text="{Binding GeometryNameMsg}" VerticalAlignment="Center"
|
|
Margin="15,0,0,0"
|
|
Style="{StaticResource DoorParamsTxBl}"/>
|
|
|
|
<!--<ComboBox ItemsSource="{Binding GraphicHardwareList}"
|
|
Grid.Column="1" Grid.Row="1"
|
|
Margin="5,0,15,5"
|
|
SelectedItem="{Binding SelGraphicHardware}"
|
|
Style="{StaticResource DoorParamsCmBx}"
|
|
IsEnabled="False"/>-->
|
|
<TextBox Grid.Column="1" Grid.Row="1"
|
|
Margin="5,0,15,5" VerticalAlignment="Center"
|
|
Padding="0,2.5,0, 2.5"
|
|
IsEnabled="False"
|
|
Text="{Binding SelGraphicHardware}"/>
|
|
<!--<TextBox Grid.Column="1" Grid.Row="1" Text="{Binding TypeHardware}"
|
|
Style="{StaticResource DoorParamsTxBx}"
|
|
Margin="5,0,15,5"/>-->
|
|
<TextBlock Grid.Column="0" Grid.Row="1" Text="{Binding TypeHardwareMsg}" VerticalAlignment="Center"
|
|
Margin="15,0,15,5"
|
|
Style="{StaticResource DoorParamsTxBl}"/>
|
|
<!--<ListBox Grid.Column="1" Grid.Row="2" ItemsSource="{Binding ParameterList}">
|
|
|
|
</ListBox>-->
|
|
<ListBox Grid.Column="1" Grid.Row="2" Margin="5,5,15,5"
|
|
ItemsSource="{Binding ParameterList}">
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<StackPanel Orientation="Horizontal">
|
|
<CheckBox IsChecked="{Binding Path=IsChecked}" IsEnabled="{Binding Path=IsEnable}"/>
|
|
<TextBlock Text="{Binding Path=NameDDF}" Margin="10,0,0,0"/>
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
</ListBox>
|
|
|
|
<!--<ComboBox ItemsSource="{Binding ParameterList}" Margin="5,0,15,5"
|
|
Grid.Column="1" Grid.Row="2"
|
|
SelectedItem="{Binding SelParameter}"
|
|
Style="{StaticResource DoorParamsCmBx}"
|
|
IsEnabled="{Binding IsRaedOnly}"/>-->
|
|
<!--<TextBox Grid.Column="1" Grid.Row="2" Text="{Binding Parameter}"
|
|
Style="{StaticResource DoorParamsTxBx}"
|
|
Margin="5,0,15,5"/>-->
|
|
<TextBlock Grid.Column="0" Grid.Row="2" Text="{Binding ParameterMsg}" VerticalAlignment="Center"
|
|
Margin="15,0,0,0"
|
|
Style="{StaticResource DoorParamsTxBl}"/>
|
|
<!--<TextBox Grid.Column="1" Grid.Row="3" Text="{Binding PO}"
|
|
Style="{StaticResource DoorParamsTxBx}"
|
|
Margin="5,0,15,5"/>
|
|
<TextBlock Grid.Column="0" Grid.Row="3" Text="{Binding POMsg}" VerticalAlignment="Center"
|
|
Margin="15,0,0,0"
|
|
Style="{StaticResource DoorParamsTxBl}"/>
|
|
<TextBox Grid.Column="1" Grid.Row="4" Text="{Binding Line}"
|
|
Style="{StaticResource DoorParamsTxBx}"
|
|
Margin="5,0,15,5"/>
|
|
<TextBlock Grid.Column="0" Grid.Row="4" Text="{Binding LineMsg}" VerticalAlignment="Center"
|
|
Margin="15,0,0,0"
|
|
Style="{StaticResource DoorParamsTxBl}"/>-->
|
|
<!--<TextBlock Grid.Column="0" Grid.Row="5" Text="{Binding ConfigurationPageMsg}" VerticalAlignment="Center"
|
|
Style="{StaticResource DoorParamsTxBl}"/>
|
|
<ComboBox Grid.Column="1" Grid.Row="5" Margin="5,0,30,5"
|
|
Style="{StaticResource DoorParamsCmBx}"
|
|
ItemsSource="{Binding ConfigurationList}"
|
|
SelectedItem="{Binding Configuration}"/>-->
|
|
<Button Grid.Column="1" Grid.Row="3" Margin="70,2,30,2"
|
|
Content="{Binding SaveMsg}"
|
|
Command="{Binding SaveCommand}"
|
|
IsDefault="True"
|
|
IsCancel="True"/>
|
|
</Grid>
|
|
|
|
</EgtWPFLib5:EgtCustomWindow>
|