12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <UserControl x:Class="FurnaceUI.Views.Editors.RecipeCommandCallRecipeView"
- 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:FurnaceUI.Views.Editors" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:cal="http://www.caliburn.org"
- mc:Ignorable="d"
- Height="400" Width="900" FontFamily="Segoe" >
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="60"/>
- </Grid.RowDefinitions>
- <DockPanel Grid.Column="0">
- <Canvas>
- <Button Content="Maintenance Job" Style="{StaticResource PageTitleButton}" Visibility="Hidden" />
- <Grid Canvas.Left="100" Canvas.Top="150">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Border Grid.Row="1" Grid.Column="0" Height="60" Margin="10">
- <Button Content="{Binding SelectButtonContent}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="SelectProcessRecipe">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Border>
- <TextBox Grid.Row="0" Grid.Column="1" Height="60" Width="350" IsEnabled="False" FontSize="20" Text="{Binding SelectedProcessRecipe}" ></TextBox>
- </Grid>
- </Canvas>
- </DockPanel>
- <Border Grid.Row="2" Grid.Column="2" HorizontalAlignment="Right">
- <Button Content="Close" Style="{StaticResource CommandButton}" Margin="0,0,20,0" Width="130" Height="45">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="ClosedCmd">
- <cal:Parameter Value="Close"/>
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Border>
- </Grid>
- </UserControl>
|