1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <UserControl x:Class="FurnaceUI.Client.Dialog.PressureInfoView"
- 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.Recipes" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:cal="http://www.caliburn.org"
- mc:Ignorable="d"
- Height="150" Width="200" FontFamily="Segoe">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="0"></RowDefinition>
- <RowDefinition Height="110"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
-
- <Label Grid.Row="0" Content="Sensor Information" Foreground="White" Background="#0C206A" >
-
- </Label>
- <StackPanel Grid.Row="1" Orientation="Vertical">
- <StackPanel Orientation="Horizontal">
- <Label Content="1:VG13"></Label>
- </StackPanel>
- <StackPanel Orientation="Horizontal">
- <TextBox Margin="40 0 0 0" Width="70" Height="25" Text="{Binding VG13Data.FeedBack , StringFormat={}{0:F3}}" Style="{DynamicResource TextBox_NoClik}" IsReadOnly="True"></TextBox>
- <TextBox Margin="2 0 0 0" Width="40" Height="25" Text="{Binding DefaultUnit}" Style="{DynamicResource TextBox_NoClik}" IsReadOnly="True"></TextBox>
- </StackPanel>
- <StackPanel Orientation="Horizontal">
- <Label Content="2:VG11"></Label>
- </StackPanel>
- <StackPanel Orientation="Horizontal">
- <TextBox Margin="40 0 0 0" Width="70" Height="25" Text="{Binding VG11Data.FeedBack , StringFormat={}{0:F1}}" Style="{DynamicResource TextBox_NoClik}" IsReadOnly="True"></TextBox>
- <TextBox Margin="2 0 0 0" Width="40" Height="25" Text="{Binding DefaultUnit}" Style="{DynamicResource TextBox_NoClik}" IsReadOnly="True"></TextBox>
- </StackPanel>
- </StackPanel>
- <Button Grid.Row="3" Width="60" Content="OK">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="OK">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Grid>
- </UserControl>
|