Files
EgtCAM5/CurrSetUp/CurrSetUpV.xaml
Emmanuele Sassi 8cdfa8252c EgtCAM5 :
- Introdotto SetupDb e modificato CurrSetup di conseguenza.
2019-08-02 17:59:22 +00:00

55 lines
2.4 KiB
XML

<EgtWPFLib5:EgtCustomWindow x:Class="CurrSetUpV"
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"
xmlns:EgtCAM5="clr-namespace:EgtCAM5"
Title="{Binding Title}"
WindowStyle="None" ResizeMode="NoResize" TitleBarHeight="32"
Width="1024" Height="614"
IsResizable="False"
IsMinimizable="False" WindowStartupLocation="CenterOwner" ShowInTaskbar="False"
CloseCommand="{Binding Close_Command,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<EgtCAM5:SetUpV DataContext="{Binding SetUpVM}"
Grid.Row="0"/>
<Grid Grid.Row="2"
Margin="0,0,0,5"
HorizontalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Button Content="{Binding ApplyMsg}"
Command="{Binding ApplyCommand}"
IsEnabled="{Binding Apply_IsEnabled}"
Grid.Column="0"
Style="{StaticResource EgtCAM5_InputButton}" />
<Button Content="{Binding SaveMsg}"
Command="{Binding Save_Command}"
Grid.Column="1"
Style="{StaticResource EgtCAM5_InputButton}"/>
<Button Content="{Binding RetrieveMsg}"
Command="{Binding Retrieve_Command}"
Grid.Column="2"
Style="{StaticResource EgtCAM5_InputButton}"/>
<Button Content="{Binding AutomaticMsg}"
Command="{Binding Automatic_Command}"
Grid.Column="3"
Style="{StaticResource EgtCAM5_InputButton}"/>
</Grid>
</Grid>
</EgtWPFLib5:EgtCustomWindow>