<EgtWPFLib5:EgtCustomWindow x:Class="OnlyProdAddPartWndV"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
                            WindowStyle="None" ResizeMode="NoResize"
                            SizeToContent="WidthAndHeight"
                            WindowStartupLocation="CenterOwner"
                            IsClosable="False"
                            IsMinimizable="False"
                            IsResizable="False"
                            Title="AddPartWndV"
                            Style="{StaticResource OnlyProd_EgtCustomWindow}">

   <Grid Margin="5,5,5,0">
      <Grid.RowDefinitions>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>

      <Grid Style="{StaticResource OnlyProdAddPart_Grid}">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
         </Grid.ColumnDefinitions>
         <TextBlock Text="Name"
                    Style="{StaticResource OptionTextBlock}"/>
         <EgtWPFLib5:EgtTextBox Grid.Column="1"
                                Text="{Binding sNAM}"
                                Style="{StaticResource NAM_TextBox}"/>
      </Grid>
      <Grid Grid.Row="1"
            Margin="0,0,0,5">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
         </Grid.ColumnDefinitions>
         <TextBlock Text="Prod Number"
                    Style="{StaticResource OptionTextBlock}"/>
         <EgtWPFLib5:EgtTextBox Grid.Column="1"
                                Text="{Binding nPDN}"
                                Style="{StaticResource Dimension_TextBox}"/>
         <TextBlock Grid.Column="2"
                    Text="Count"
                    Style="{StaticResource OptionTextBlock}"/>
         <EgtWPFLib5:EgtTextBox Grid.Column="3"
                                Text="{Binding sCNT}"
                                Style="{StaticResource Dimension_TextBox}"/>
      </Grid>
      <Grid Grid.Row="2"
            Margin="0,0,0,5">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
         </Grid.ColumnDefinitions>
         <TextBlock Text="W"
                    Style="{StaticResource OptionTextBlock}"/>
         <EgtWPFLib5:EgtTextBox Grid.Column="1"
                                Text="{Binding sW}"
                                Style="{StaticResource Dimension_TextBox}"/>
         <TextBlock Grid.Column="2"
                    Text="H"
                    Style="{StaticResource OptionTextBlock}"/>
         <EgtWPFLib5:EgtTextBox Grid.Column="3"
                                Text="{Binding sH}"
                                Style="{StaticResource Dimension_TextBox}"/>
         <TextBlock Grid.Column="4"
                    Text="L"
                    Style="{StaticResource OptionTextBlock}"/>
         <EgtWPFLib5:EgtTextBox Grid.Column="5"
                                Text="{Binding sL}"
                                Style="{StaticResource Dimension_TextBox}"/>
      </Grid>

      <UniformGrid Grid.Row="3"
                   Columns="2"
                   Margin="0,5,0,5">
         <Button Content="Ok"
                 Command="{Binding Ok_Command}"
                 IsDefault="True"
                 Style="{StaticResource OnlyProdEgtWPFLib5_InputButton}"/>
         <Button Content="Cancel"
                 IsCancel="True"
                 Style="{StaticResource OnlyProdEgtWPFLib5_InputButton}"/>
      </UniformGrid>
   </Grid>
</EgtWPFLib5:EgtCustomWindow>
