81 lines
5.7 KiB
XML
81 lines
5.7 KiB
XML
<enictrl:EditWindowBase x:Class="ENI2.EditControls.CopyDeclarationDialog"
|
|
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"
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
|
mc:Ignorable="d"
|
|
Title="{x:Static p:Resources.textCopyDeclaration}" Height="326" Width="440" WindowStyle="SingleBorderWindow" Background="AliceBlue" ResizeMode="NoResize" Icon="/ENI2;component/Resources/id_cards.ico">
|
|
<Grid Margin="5">
|
|
<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="28" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*" />
|
|
<ColumnDefinition Width="2*" />
|
|
<ColumnDefinition Width="28" />
|
|
</Grid.ColumnDefinitions>
|
|
<Label Name="labelVisitId" Grid.Row="0" Grid.Column="0" Content="{x:Static p:Resources.textVisitTransitId}" />
|
|
<Label Name="labelIMO" Grid.Row="1" Grid.Column="0" Content="{x:Static p:Resources.textIMO}" />
|
|
<Label Name="labelENI" Grid.Row="2" Grid.Column="0" Content="{x:Static p:Resources.textENI}" />
|
|
<Label Name="labelPoC" Grid.Row="3" Grid.Column="0" Content="{x:Static p:Resources.textPortCall}" />
|
|
<Label Name="labelETA" Grid.Row="4" Grid.Column="0" Content="ETA" />
|
|
<Label Name="labelHIS" Grid.Row="5" Grid.Column="0" Content="HIS" />
|
|
<Label Name="labelCopy" Grid.Row="6" Grid.Column="0" Content="Copy" />
|
|
<TextBox Name="textBoxVisitTransitId" Margin="2" Grid.Row="0" Grid.Column="1" TextChanged="textBoxVisitTransitId_TextChanged" VerticalContentAlignment="Center"/>
|
|
<Image Grid.Row="0" Grid.Column="2" Name="okCheckMark" Source="pack://application:,,,/Resources/check.png" Margin="2" Visibility="Hidden" />
|
|
<xctk:DoubleUpDown x:Name="doubleUpDownIMO" Margin="2" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"
|
|
ClipValueToMinMax="True"
|
|
ShowButtonSpinner="False"
|
|
AllowSpin="True"
|
|
AllowTextInput="True"
|
|
IsReadOnly="False"
|
|
MouseWheelActiveOnFocus="True"
|
|
FormatString="G"
|
|
Increment="1"
|
|
DisplayDefaultValueOnEmptyText="False"
|
|
ButtonSpinnerLocation="Right"
|
|
ParsingNumberStyle="Integer"
|
|
Watermark="Enter IMO" ValueChanged="doubleUpDownIMO_ValueChanged" TextAlignment="Left"/>
|
|
<xctk:DoubleUpDown x:Name="doubleUpDownENI" Margin="2" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2"
|
|
ClipValueToMinMax="True"
|
|
ShowButtonSpinner="False"
|
|
AllowSpin="True"
|
|
AllowTextInput="True"
|
|
IsReadOnly="False"
|
|
MouseWheelActiveOnFocus="True"
|
|
FormatString="00000000"
|
|
Increment="1"
|
|
DisplayDefaultValueOnEmptyText="False"
|
|
ButtonSpinnerLocation="Right"
|
|
ParsingNumberStyle="Integer"
|
|
Watermark="Enter ENI" ValueChanged="doubleUpDownENI_ValueChanged" TextAlignment="Left"/>
|
|
<enictrl:LocodeControl Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="2" Width="Auto" x:Name="locodePoC" LocodeSource="OLD" />
|
|
<DatePicker Name="datePickerETA" Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" SelectedDateChanged="datePickerETA_SelectedDateChanged" DisplayDateStart="1/1/1900" DisplayDateEnd="12/31/2199">
|
|
<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="comboBoxInitialHIS" Grid.Row="5" Grid.Column="1" Margin="2" Grid.ColumnSpan="2" DisplayMemberPath="Value" SelectedValuePath="Key" SelectionChanged="comboBoxInitialHIS_SelectionChanged"/>
|
|
<StackPanel Orientation="Horizontal" Grid.Row="6" Grid.Column="1">
|
|
<RadioButton GroupName="copy" IsChecked="True" Name="radioButtonCopyAll" Margin="2" VerticalAlignment="Center"/>
|
|
<Label Content="All" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Grid.Row="7" Grid.Column="1">
|
|
<RadioButton GroupName="copy" IsChecked="False" Name="radioButtonCopyASIHH" Margin="2" VerticalAlignment="Center"/>
|
|
<Label Content="AGNT/STAT/INFO/HAZA/HAZD" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</enictrl:EditWindowBase>
|
|
|