sc 6 months ago
parent
commit
14ae9d34a7
  1. 2
      View/MonitorView.xaml
  2. 2
      View/MonitorView.xaml.cs

2
View/MonitorView.xaml

@ -103,7 +103,7 @@
HorizontalGridLinesBrush="#FFC9C9C9" VerticalGridLinesBrush="#FFC9C9C9" Background="White" HorizontalGridLinesBrush="#FFC9C9C9" VerticalGridLinesBrush="#FFC9C9C9" Background="White"
GridLinesVisibility="All" ColumnHeaderHeight="40" HorizontalContentAlignment="Right" BorderBrush="{x:Null}" GridLinesVisibility="All" ColumnHeaderHeight="40" HorizontalContentAlignment="Right" BorderBrush="{x:Null}"
CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="False" CanUserResizeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="False" CanUserResizeColumns="False"
CanUserDeleteRows="False" SelectionMode="Single" FontSize="15" Focusable="True" IsHitTestVisible ="False"> CanUserDeleteRows="False" SelectionMode="Single" FontSize="15" Focusable="True" >
<DataGrid.RowStyle > <DataGrid.RowStyle >
<Style TargetType="{x:Type DataGridRow}"> <Style TargetType="{x:Type DataGridRow}">
<Setter Property="Height" Value="30" /> <Setter Property="Height" Value="30" />

2
View/MonitorView.xaml.cs

@ -203,7 +203,6 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
DAT = "SC821" + MainWindowViewModel.Selet_Machines(MainWindowViewModel.Machines, "SYSKEY", "ID='" + index + "'") + dat_821.ToJsonString() DAT = "SC821" + MainWindowViewModel.Selet_Machines(MainWindowViewModel.Machines, "SYSKEY", "ID='" + index + "'") + dat_821.ToJsonString()
}); });
} }
Gridstep.IsHitTestVisible = false;
Insert.IsEnabled = false; Insert.IsEnabled = false;
edit.IsEnabled = false; edit.IsEnabled = false;
Resume.IsEnabled = false; Resume.IsEnabled = false;
@ -227,7 +226,6 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
}); });
} }
Gridstep.IsHitTestVisible = true;
Insert.IsEnabled = true; Insert.IsEnabled = true;
edit.IsEnabled = true; edit.IsEnabled = true;
Paused.IsEnabled = true; Paused.IsEnabled = true;

Loading…
Cancel
Save