This commit is contained in:
Курнат Андрей
2026-04-04 16:19:25 +03:00
parent 5a55bc5f4c
commit 84f2308e65
5 changed files with 89 additions and 47 deletions

View File

@@ -53,9 +53,6 @@
VerticalAlignment="Center"
KeyDown="SearchTextBox_KeyDown"
Text="{Binding SearchText, UpdateSourceTrigger=PropertyChanged}" />
<Button Margin="0,0,8,0"
Click="RefreshButton_Click"
Content="Обновить список" />
<TextBlock Margin="12,0,8,0"
VerticalAlignment="Center"
FontWeight="SemiBold"
@@ -94,7 +91,7 @@
<GroupBox Grid.Column="0" Header="Реестр средств измерений">
<Grid Margin="8">
<DataGrid x:Name="InstrumentGrid"
<DataGrid x:Name="InstrumentGrid" AutoGenerateColumns="False"
ItemsSource="{Binding Instruments}"
SelectedItem="{Binding SelectedSummary, Mode=TwoWay}"
IsReadOnly="True"
@@ -241,7 +238,7 @@
Content="Удалить привязку" />
</StackPanel>
<DataGrid x:Name="AttachmentGrid"
<DataGrid x:Name="AttachmentGrid" AutoGenerateColumns="False"
Grid.Row="1"
ItemsSource="{Binding SelectedInstrument.Attachments}"
IsReadOnly="True">