62 lines
4.2 KiB
XML
62 lines
4.2 KiB
XML
<enictrl:EditWindowBase x:Class="ENI2.EditControls.EditLast10PortFacilitiesDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:ENI2.EditControls"
|
|
xmlns:enictrl="clr-namespace:ENI2.Controls"
|
|
xmlns:p="clr-namespace:ENI2.Properties"
|
|
mc:Ignorable="d"
|
|
Title="{x:Static p:Resources.textPortFacility}" Height="430" Width="400" WindowStyle="SingleBorderWindow" Background="AliceBlue">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="28" />
|
|
<RowDefinition Height="28" />
|
|
<RowDefinition Height="28" />
|
|
<RowDefinition Height="28" />
|
|
<RowDefinition Height="28" />
|
|
<RowDefinition Height="28" />
|
|
<RowDefinition Height="28" />
|
|
<RowDefinition Height="56" />
|
|
<RowDefinition Height="28" />
|
|
<RowDefinition Height="56" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*" />
|
|
<ColumnDefinition Width="2*" />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Name="labelPortUnLocode" Grid.Row="0" Grid.Column="0" Content="{x:Static p:Resources.textPortLocode}" />
|
|
<Label Name="labelPortName" Grid.Row="1" Grid.Column="0" Content="{x:Static p:Resources.textPortname}" />
|
|
<Label Name="labelPortCountry" Grid.Row="2" Grid.Column="0" Content="{x:Static p:Resources.textPortCountry}" />
|
|
<Label Name="LabelATA" Grid.Row="3" Grid.Column="0" Content="ATA" />
|
|
<Label Name="labelATD" Grid.Row="4" Grid.Column="0" Content="ATD" />
|
|
<Label Name="labelShipSecurityLevel" Grid.Row="5" Grid.Column="0" Content="{x:Static p:Resources.textShipSecLevel}" />
|
|
<TextBlock Name="labelGISISCode" Grid.Row="6" FontSize="10" TextWrapping="Wrap" Text="{x:Static p:Resources.textGISISCode}" />
|
|
<Label Name="labelSecurityMatters" Grid.Row="9" Grid.Column="0" Content="{x:Static p:Resources.textSecurityMatters}" />
|
|
<TextBlock Name="labelGISISCodeLocode" Grid.Row="8" FontSize="10" TextWrapping="Wrap" Text="{x:Static p:Resources.textGISISCodeLocode}" />
|
|
|
|
<enictrl:LocodeControl Grid.Row="0" Grid.Column="1" x:Name="locodePort" />
|
|
<TextBox Name="textBoxPortName" Grid.Row="1" Grid.Column="1" Margin="2" MaxLength="100" VerticalContentAlignment="Center"/>
|
|
<TextBox Name="textBoxPortCountry" Grid.Row="2" Grid.Column="1" Margin="2" MaxLength="100" VerticalContentAlignment="Center"/>
|
|
<DatePicker Name="datePickerATA" Grid.Row="3" Grid.Column="1" Margin="2" DisplayDateStart="1/1/1900" DisplayDateEnd="12/31/2199" PreviewKeyUp="DateTimePicker_PreviewKeyUpDate">
|
|
<DatePicker.BlackoutDates>
|
|
<CalendarDateRange Start="1/1/0001" End="12/31/1799"/>
|
|
<CalendarDateRange Start="1/1/2199" End="1/1/9999"/>
|
|
</DatePicker.BlackoutDates>
|
|
</DatePicker>
|
|
<DatePicker Name="datePickerATD" Grid.Row="4" Grid.Column="1" Margin="2" DisplayDateStart="1/1/1900" DisplayDateEnd="12/31/2199" PreviewKeyUp="DateTimePicker_PreviewKeyUpDate">
|
|
<DatePicker.BlackoutDates>
|
|
<CalendarDateRange Start="1/1/0001" End="12/31/1799"/>
|
|
<CalendarDateRange Start="1/1/2199" End="1/1/9999"/>
|
|
</DatePicker.BlackoutDates>
|
|
</DatePicker>
|
|
<ComboBox Name="comboBoxShipSecurityLevel" Grid.Row="5" Grid.Column="1" Margin="2" />
|
|
<TextBox Name="textBoxGisisCode" Grid.Row="6" Grid.Column="1" Margin="2" MaxLength="4" VerticalContentAlignment="Center" PreviewTextInput="textBoxGisisCode_PreviewTextInput"/>
|
|
<TextBox Name="textBoxGisisDescription" Grid.Row="7" Grid.Column="1" Margin="2" IsEnabled="False"/>
|
|
<enictrl:LocodeControl x:Name="locodeGISIS" Grid.Row="8" Grid.Column="1" />
|
|
<TextBox Name="textBoxSecurityMatters" Grid.Row="9" Grid.Column="1" Margin="2" MaxLength="255" />
|
|
|
|
</Grid>
|
|
</enictrl:EditWindowBase>
|