<UserControl x:Class="CurrentProjectPageUC"
   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"
   Initialized="CurrentProjectPage_Initialized" Loaded="CurrentProjectPage_Loaded">
 
   <!-- Definizione della CurrentProjectPage -->
   <Grid Name="CurrentProjectPageGrid" >
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="3*"/>
         <ColumnDefinition Width="12*"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="8*"/>
         <RowDefinition Height="1*"/>
      </Grid.RowDefinitions>

      <!-- Definizione della Grid superiore -->
      <Grid Name="UpperButtonGrid" Grid.Column="1" Grid.Row="0" >
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="5*"/>
            <ColumnDefinition Width="7*"/>
         </Grid.ColumnDefinitions>

      </Grid>

      <!-- Definizione della Grid laterale -->
        <Grid Grid.RowSpan="3">
         <Grid.RowDefinitions>
            <RowDefinition Height="2*"/>
            <RowDefinition Height="7*"/>
            <RowDefinition Height="1*"/>
         </Grid.RowDefinitions>

         <!-- Definizione della Grid con le caratteristiche del progetto -->
            <Border Name="CurrProjGrid" Style="{DynamicResource OmagCut_MachiningBorder}" Grid.Row="0" >
                <Grid >
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="1*"/>
                  <ColumnDefinition Width="1*"/>
               </Grid.ColumnDefinitions>
               <Grid.RowDefinitions>
                  <RowDefinition Height="0.5*"/>
                  <RowDefinition Height="0.5*"/>
                  <RowDefinition Height="0.5*"/>
                  <RowDefinition Height="0.5*"/>
               </Grid.RowDefinitions>

               <TextBlock Name="MaterialTxBl" Grid.Row="0"
                  Style="{DynamicResource OmagCut_CurrProjSummeryTextBlock}"/>
               <EgtWPFLib:EgtTextBox Name="MaterialTxBx" Grid.Column="1" Grid.Row="0" Width="100"
                  Style="{DynamicResource OmagCut_FixedTextBox}"/>
               <TextBlock Name="HeightTxBl" Grid.Row="1"
                  Style="{DynamicResource OmagCut_CurrProjSummeryTextBlock}"/>
               <EgtWPFLib:EgtTextBox Name="HeightTxBx" Grid.Column="1" Grid.Row="1" Width="100"
                  Style="{DynamicResource OmagCut_FixedTextBox}" TextAlignment="Right"/>
               <TextBlock Name="ToolTxBl" Grid.Row="2" Style="{DynamicResource OmagCut_CurrProjSummeryTextBlock}"/>
               <EgtWPFLib:EgtTextBox Name="ToolTxBx" Grid.Column="1" Grid.Row="2" Width="100"
                  Style="{DynamicResource OmagCut_FixedTextBox}"/>
               <TextBlock Name="MachiningTxBl" Grid.Row="3"
                  Style="{DynamicResource OmagCut_CurrProjSummeryTextBlock}"/>
               <EgtWPFLib:EgtTextBox Name="MachiningTxBx" Grid.Column="1" Grid.Row="3" Width="100"
                  Style="{DynamicResource OmagCut_FixedTextBox}"/>

            </Grid>

         </Border>

         <ProgressBar Name="PhotoProgress" Grid.Row="2" Height="50" Margin="10,0,10,0" Minimum="0" Maximum="100"/>

         <Border Name="OutMessageBrd" Grid.Row="2" >
            <TextBlock Name="OutMessageTxBl" TextAlignment="Center"
               Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
         </Border>

      </Grid>

   </Grid>

</UserControl>
