1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <UserControl xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
- x:Class="CyberX8_MainPages.Views.HvdRecipeView"
- 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:local="clr-namespace:CyberX8_MainPages.Views"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- xmlns:converters="clr-namespace:CyberX8_MainPages.Converters"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d"
- d:DesignHeight="800" d:DesignWidth="1800" Loaded="UserControl_Loaded">
- <UserControl.Resources>
- <converters:BoolReverseConverter x:Key="boolReverseConverter"/>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="100"></RowDefinition>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="50"></ColumnDefinition>
- <ColumnDefinition Width="400"></ColumnDefinition>
- <ColumnDefinition Width="700"></ColumnDefinition>
- <ColumnDefinition Width="500"></ColumnDefinition>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <UserControls:RecipeFileLoadControl Grid.Row="1" Grid.Column="1" Title="Hvd Recipe" RecipeNodes="{Binding RecipeNodes}" OperationCommand="{Binding OperationCommand}"
- RecipeLocation="{Binding CurrentNode.RecipeLocation}" EditEnable="{Binding EditEnable}" CreateEnable="{Binding CreateEnable}" RecipeFileName="{Binding CurrentNode.FileName}"
- CreateCommand="{Binding CreateCommand}" EditCommand="{Binding EditCommand}"/>
- <Grid Grid.Row="1" Grid.Column="2">
- <Grid.RowDefinitions>
- <RowDefinition Height="70"></RowDefinition>
- <RowDefinition Height="70"></RowDefinition>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <GroupBox Header="PPID" Grid.Row="0">
- <TextBlock Text="{Binding Recipe.Ppid}" FontSize="20" VerticalAlignment="Center" TextAlignment="Center">
- </TextBlock>
- </GroupBox>
- <GroupBox Header="Description" Grid.Row="1">
- <TextBlock Text="{Binding Recipe.Description}" FontSize="18" VerticalAlignment="Center" TextAlignment="Center">
- </TextBlock>
- </GroupBox>
- <Grid Grid.Row="2">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition Height="70"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="300"></ColumnDefinition>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid Margin="0,20,0,0" VerticalAlignment="Top">
- <Grid.RowDefinitions>
- <RowDefinition Height="75"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <UserControls:GroupTextBoxControl Grid.Row="0" Title="Dry Time" Unit="sec" MinValue="0" MaxValue="120" IntValue="{Binding Recipe.DryTime,Mode=TwoWay}"
- ValidResult="{Binding PropertyValidResultDic[DryTime],Mode=TwoWay}" Width="290"/>
- </Grid>
- </Grid>
- </Grid>
- </Grid>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="3">
- <Grid.RowDefinitions>
- <RowDefinition Height="70"></RowDefinition>
- <RowDefinition Height="70"></RowDefinition>
- <RowDefinition/>
- <RowDefinition Height="70"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" IsEnabled="{Binding Enable}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Button Grid.Column="0" Style="{StaticResource SysBtnStyle}" Content="Save" Height="35" Width="100" Command="{Binding SaveRecipeCommand}"></Button>
- <Button Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="SaveAs" Height="35" Width="100" Command="{Binding SaveAsRecipeCommand}"></Button>
- </Grid>
- </Grid>
- </Grid>
- </UserControl>
|