first edit
This commit is contained in:
76
XLIMS.PSV/Views/GoodView.xaml
Normal file
76
XLIMS.PSV/Views/GoodView.xaml
Normal file
@@ -0,0 +1,76 @@
|
||||
<UserControl
|
||||
x:Class="XLIMS.PSV.Views.GoodView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid Margin="10" MinWidth="350">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" >
|
||||
<TextBlock Text="Температура:"/>
|
||||
<TextBox Margin="2"
|
||||
Text="{Binding Temp, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" >
|
||||
<TextBlock Text="Влажность:" />
|
||||
<TextBox Margin="2"
|
||||
Text="{Binding Hum, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2">
|
||||
<TextBlock Text="Давление:" />
|
||||
<TextBox Margin="2"
|
||||
Text="{Binding Press, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" Grid.ColumnSpan="3">
|
||||
<TextBlock Text="Дата поверки:"/>
|
||||
<DatePicker
|
||||
Margin="0,5,0,5"
|
||||
VerticalAlignment="Center"
|
||||
SelectedDate="{Binding DTMKFK, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" Grid.ColumnSpan="3">
|
||||
<TextBlock Text="Поверитель:"/>
|
||||
<ComboBox
|
||||
Margin="0,5,0,5"
|
||||
VerticalAlignment="Center"
|
||||
DisplayMemberPath="Prfio"
|
||||
ItemsSource="{Binding AllPRSN}"
|
||||
SelectedItem="{Binding CurrentPRSN, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="5" Grid.ColumnSpan="3">
|
||||
<TextBlock Text="Номер наклейки:"/>
|
||||
<TextBox
|
||||
Margin="0,5,0,5"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding NNNKL, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
|
||||
TextWrapping="WrapWithOverflow" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="6" Grid.ColumnSpan="3">
|
||||
<TextBlock Text="Свидетельство о поверке:"/>
|
||||
<DockPanel LastChildFill="True">
|
||||
<ComboBox ItemsSource="{Binding AllBooks}"
|
||||
SelectedItem="{Binding CurrentBook,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
|
||||
DockPanel.Dock="Left" Width="125" Margin="0,0,5,0"/>
|
||||
<TextBox Text="{Binding NND,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,ValidatesOnDataErrors=True}"/>
|
||||
</DockPanel>
|
||||
<TextBlock Text="Дата свидетельства:"/>
|
||||
<DatePicker
|
||||
Margin="0,5,0,5"
|
||||
VerticalAlignment="Center"
|
||||
SelectedDate="{Binding DTD, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user