<Window x:Class="MainWindow"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:local="clr-namespace:OmagCUT"
   Title="MainWindow" Height="1024" Width="1280"  ResizeMode="NoResize" WindowStyle="None"
   FontFamily="{DynamicResource OmagCut_Font}"
   Icon="Resources/LogoOmag.jpg">

   <!-- ** Definizione della Grid della MainWindow ** -->
   <Grid Name="MainWindowGrid" Background="{DynamicResource OmagCut_Gray}">
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="15*"/>
         <ColumnDefinition Width="2*"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="10*"/>
         <RowDefinition Height="1*"/>
      </Grid.RowDefinitions>

      <!-- ** Definizione della Grid della Row 0 (Barra superiore) ** -->
      <Grid>
         <Grid.ColumnDefinitions>
             <ColumnDefinition Width="3*"/>
             <ColumnDefinition Width="11*"/>
             <ColumnDefinition Width="1*"/>
         </Grid.ColumnDefinitions>

         <Border Name="LogoBrd" Background="Transparent">
                <Image Source="{DynamicResource LogoOmagImg}" Stretch="Uniform" Margin="1"/>
         </Border>

         <!-- ** Definizione della Grid delle tab ** -->
         <Grid Name="MainTabGrid" Grid.Column="1">
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="2*"/>
               <ColumnDefinition Width="2*"/>
               <ColumnDefinition Width="2*"/>
               <ColumnDefinition Width="2*"/>
               <ColumnDefinition Width="2*"/>
               <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>

            <ToggleButton Name="WorkInProgressBtn" Grid.Column="0" Style="{DynamicResource OmagCut_BlueToggleButton}">
               <!--<TextBlock Name="WorkInProgressTxBl" TextWrapping="Wrap" TextAlignment="Center" />-->
            </ToggleButton>
            <ToggleButton Name="DirectCutBtn" Grid.Column="1" Style="{DynamicResource OmagCut_BlueToggleButton}"/>
            <ToggleButton Name="CadCutBtn" Grid.Column="2" Style="{DynamicResource OmagCut_BlueToggleButton}"/>
            <ToggleButton Name="FrameCutBtn" Grid.Column="3" Style="{DynamicResource OmagCut_BlueToggleButton}"/>
            <ToggleButton Name="MachineBtn" Grid.Column="4" Style="{DynamicResource OmagCut_BlueToggleButton}"/>
            <ToggleButton Name="OptionsBtn" Grid.Column="5" Style="{DynamicResource OmagCut_BlueIconToggleButton}">
                    <Image Source="{DynamicResource OptionsImg}" Style="{DynamicResource OmagCut_ArrowButtonIcon}"/>
            </ToggleButton>
         </Grid>

         <Button Grid.Column="2" Style="{DynamicResource OmagCut_BlueIconButton}" Click="ExitBtn_Click">
            <Image Source="{DynamicResource XImg}" Style="{DynamicResource OmagCut_ButtonIcon}"/>
         </Button>
   
      </Grid>
   
   </Grid>
   
</Window>
