875000091e
- Implementata gestione database utensili.
86 lines
3.6 KiB
XML
86 lines
3.6 KiB
XML
<UserControl x:Class="SimulationPageUC"
|
|
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"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="853.3" d:DesignWidth="1280" Initialized="SimulationPage_Initialized" Loaded="SimulationPage_Loaded">
|
|
|
|
<!-- Chiamata al Dictionary -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="OmagCUTDictionary.xaml"></ResourceDictionary>
|
|
</UserControl.Resources>
|
|
|
|
<!-- Definizione della SimulationPage -->
|
|
<Grid Name="SimulationPageGrid" >
|
|
<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 Name="VariablesCompoGrid" Grid.RowSpan="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="3*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="4*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Button Name="HomeBtn" Grid.Column="0" Grid.Row="1" >
|
|
<Image Source="Resources/IndietroVeloce.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
<Button Name="PlayPauseBtn" Grid.Column="1" Grid.Row="1" >
|
|
<Image Name="PlayPauseImage" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
<Button Name="StopBtn" Grid.Column="2" Grid.Row="1" >
|
|
<Image Source="Resources/Stop.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
<Slider Name="SpeedSlider" Grid.Row="3" Grid.ColumnSpan="3" Width="230" Height="40" Minimum="1" Maximum="100" TickPlacement="BottomRight" TickFrequency="10" ValueChanged="SpeedSlider_ValueChanged" />
|
|
|
|
</Grid>
|
|
|
|
<!-- Definizione della Grid Inferiore per i Button V e X -->
|
|
<Grid Name="LowerButtonGrid" Grid.Column="1" Grid.Row="3">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="10*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button Grid.Column="2" Click="ExitBtnUC_Click" >
|
|
<Image Source="Resources/V.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|