Hide slot and regular hole columns in main list
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
@@ -69,8 +70,8 @@
|
||||
</GroupBox>
|
||||
|
||||
<!-- 机台码信息 (仅当刀具类型为机台码时显示) -->
|
||||
<GroupBox Grid.Row="2"
|
||||
Header="机台码信息"
|
||||
<GroupBox Grid.Row="2"
|
||||
Header="机台码信息"
|
||||
Margin="0,0,0,10"
|
||||
Visibility="{Binding IsMachineCodeTool, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||||
<Grid Margin="10">
|
||||
@@ -91,8 +92,36 @@
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<!-- 孔数统计 -->
|
||||
<GroupBox Grid.Row="3" Header="孔数统计" Margin="0,0,0,10">
|
||||
<Grid Margin="10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="100" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="100" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock Grid.Row="0" Grid.Column="0" Text="普通孔数:" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Row="0" Grid.Column="1" IsReadOnly="True" Text="{Binding Tool.RegularHoles, Mode=OneWay}" Margin="5" />
|
||||
|
||||
<TextBlock Grid.Row="0" Grid.Column="2" Text="槽孔钻孔数:" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Row="0" Grid.Column="3" IsReadOnly="True" Text="{Binding Tool.SlotHoles, Mode=OneWay}" Margin="5" />
|
||||
|
||||
<TextBlock Grid.Row="1" Grid.Column="0" Text="槽条数:" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Row="1" Grid.Column="1" IsReadOnly="True" Text="{Binding Tool.SlotCount, Mode=OneWay}" Margin="5" />
|
||||
|
||||
<TextBlock Grid.Row="1" Grid.Column="2" Text="总孔数:" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Row="1" Grid.Column="3" IsReadOnly="True" Text="{Binding Tool.TotalHoles, Mode=OneWay}" Margin="5" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<!-- 孔位信息 -->
|
||||
<GroupBox Grid.Row="3" Header="{Binding HoleLocationsHeader}">
|
||||
<GroupBox Grid.Row="4" Header="{Binding HoleLocationsHeader}">
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding FormattedHoleLocations, Mode=OneWay}"
|
||||
FontFamily="{StaticResource CodeFontFamily}"
|
||||
@@ -104,7 +133,7 @@
|
||||
</GroupBox>
|
||||
|
||||
<!-- 关闭按钮 -->
|
||||
<StackPanel Grid.Row="4"
|
||||
<StackPanel Grid.Row="5"
|
||||
HorizontalAlignment="Right"
|
||||
Orientation="Horizontal"
|
||||
Margin="0,15,0,0">
|
||||
|
||||
Reference in New Issue
Block a user