大量更新
This commit is contained in:
77
Szmedi.CADkits/ReviewAndMatchWindow.xaml
Normal file
77
Szmedi.CADkits/ReviewAndMatchWindow.xaml
Normal file
@@ -0,0 +1,77 @@
|
||||
<UserControl
|
||||
x:Class="Szmedi.CADkits.ReviewAndMatchWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Width="400"
|
||||
Height="450"
|
||||
mc:Ignorable="d">
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Margin="0,0,0,10"
|
||||
TextWrapping="Wrap" Text="双击列表项可定位并选中块。使用“手动匹配”按钮可重新指定标高。">
|
||||
|
||||
</TextBlock>
|
||||
|
||||
<ListView
|
||||
x:Name="ReviewListView"
|
||||
Grid.Row="1"
|
||||
MouseDoubleClick="ListView_MouseDoubleClick"
|
||||
SelectionMode="Single">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn
|
||||
Width="100"
|
||||
DisplayMemberBinding="{Binding Handle}"
|
||||
Header="句柄" />
|
||||
<GridViewColumn
|
||||
Width="220"
|
||||
DisplayMemberBinding="{Binding Position}"
|
||||
Header="坐标 (X, Y)" />
|
||||
<GridViewColumn Width="150" Header="匹配状态">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Status}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
</ListView>
|
||||
|
||||
<StackPanel
|
||||
Grid.Row="2"
|
||||
HorizontalAlignment="Right"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
x:Name="LocateInListButton"
|
||||
Margin="5"
|
||||
Click="LocateInListButton_Click"
|
||||
Content="定位选中" />
|
||||
<Button
|
||||
x:Name="MatchButton"
|
||||
Margin="5"
|
||||
Click="MatchButton_Click"
|
||||
Content="手动匹配"
|
||||
FontWeight="Bold" />
|
||||
<Button
|
||||
x:Name="CleanLinesButton"
|
||||
Margin="5"
|
||||
Click="CleanLinesButton_Click"
|
||||
Content="清理连线" />
|
||||
<Button
|
||||
x:Name="CloseButton"
|
||||
Margin="5"
|
||||
Click="CloseButton_Click"
|
||||
Content="隐藏面板" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user