Files
XLIMS/XLIMS.PSV/Views/BadView.xaml
Курнат Андрей f0e11d6379 first edit
2026-01-31 16:11:36 +03:00

59 lines
2.6 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<UserControl
x:Class="XLIMS.PSV.Views.BadView"
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="2">
<TextBlock Text="Причина непригодности:" />
<TextBox Margin="2"
Text="{Binding Reason, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</StackPanel>
<StackPanel Grid.Row="3" Grid.ColumnSpan="3">
<TextBlock Text="Дата поверки:"/>
<DatePicker
Margin="0,5,0,5"
VerticalAlignment="Center"
SelectedDate="{Binding PovDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</StackPanel>
<StackPanel Grid.Row="4" Grid.ColumnSpan="3">
<TextBlock Text="Поверитель:"/>
<ComboBox
Margin="0,5,0,5"
VerticalAlignment="Center"
DisplayMemberPath="Person"
ItemsSource="{Binding AllPersonals}"
SelectedItem="{Binding CurrentPersonal, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</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 Number,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
</DockPanel>
<TextBlock Text="Дата извещения:"/>
<DatePicker
Margin="0,5,0,5"
VerticalAlignment="Center"
SelectedDate="{Binding DocDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</StackPanel>
</Grid>
</UserControl>