<UserControl x:Class="AddToDataBaseUC"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
            xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
            xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
            mc:Ignorable="d" 
            d:DesignHeight="853.3" d:DesignWidth="1280">

   <Border Style="{DynamicResource OmagCut_Border}">
      <Grid>
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.5*"/>
            <ColumnDefinition Width="2.5*"/>
            <ColumnDefinition Width="0.25*"/>
            <ColumnDefinition Width="4*"/>
            <ColumnDefinition Width="0.5*"/>
         </Grid.ColumnDefinitions>
         <Grid.RowDefinitions>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
         </Grid.RowDefinitions>
         <!--Nome BLOCCO-->
         <TextBlock Name="BlockTxBl" Grid.Column="1" Grid.Row="1" Text="Name block"
                    Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="BlockTxBx" Grid.Column="3" Grid.Row="1"
                               Style="{DynamicResource OmagCut_KeyboardTextBox}"/>
         <!--Numero ID-->
         <TextBlock Name="NbrIdTxBl" Grid.Column="1" Grid.Row="3" Text="ID"
                    Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="NbrIdTxBx" Grid.Column="3" Grid.Row="3"
                               Style="{DynamicResource OmagCut_KeyboardTextBox}"/>
         <!--STATE-->
         <TextBlock Name="StateTxBl" Grid.Column="1" Grid.Row="5" Text="State"
                    Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <ComboBox Name="StateCmBx" Grid.Column="3" Grid.Row="5" Style="{DynamicResource OmagCut_LeftComboBoxInBorder}">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" Style="{DynamicResource OmagCut_LowerCaseCharacterTextBlock}"/>
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>
         <!--PROJECT-->
         <TextBlock Name="ProjectNameTxBl" Grid.Column="1" Grid.Row="7" Text="Project"
                    Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="ProjectTxBx" Grid.Column="3" Grid.Row="7" 
                               Style="{DynamicResource OmagCut_KeyboardTextBox}"/>
         <!--MATERIAL-->
         <TextBlock Name="MatTxBl" Grid.Column="1" Grid.Row="9" Text="Mat"
                    Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="MatTxBx" Grid.Column="3" Grid.Row="9" 
                               Style="{DynamicResource OmagCut_KeyboardTextBox}" IsEnabled="False"/>
         <!--THICKNESS-->
         <TextBlock Name="ThicknessTxBl" Grid.Column="1" Grid.Row="11" Text="Thickness"
                    Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="ThicknessTxBx" Grid.Column="3" Grid.Row="11"
                               Style="{DynamicResource OmagCut_CalculatorTextBox}"/>
         <!--WAREHOUSE-->
         <TextBlock Name="WarehouseTxBl" Grid.Column="1" Grid.Row="13" Text="Warehouse position"
                    Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="WarehouseTxBx" Grid.Column="3" Grid.Row="13"
                               Style="{DynamicResource OmagCut_KeyboardTextBox}"/>

         <!--CANCEL-->
         <Button Name="CacelBtn" Grid.Column="1" Grid.Row="15" Content="Delete"
                 Style="{DynamicResource OmagCut_YellowTextButton}"/>
         <!--ADD-->
         <Button Name="AddBtn" Grid.Column="3" Grid.Row="15" Content="Add"
                 Style="{DynamicResource OmagCut_YellowTextButton}"/>
         <!--PRINT-->
         <Button Name="PrintBtn" Grid.Column="1" Grid.Row="17" Content="Print"
                 Style="{DynamicResource OmagCut_YellowTextButton}"/>

      </Grid>

   </Border>

</UserControl>
