|
@@ -6,6 +6,7 @@
|
|
|
xmlns:unity="clr-namespace:Venus_MainPages.Unity"
|
|
|
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
|
|
mc:Ignorable="d"
|
|
|
+ xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
|
d:DesignHeight="450" d:DesignWidth="800" x:Name="WaferUnit">
|
|
|
<Grid>
|
|
|
<Grid.ColumnDefinitions>
|
|
@@ -91,16 +92,16 @@
|
|
|
</ListBox.Resources>
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
- <Grid Height="21">
|
|
|
+ <Grid Height="18">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
- <!--<ColumnDefinition Width="Auto"></ColumnDefinition>-->
|
|
|
+ <ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Width="30" Padding="5,1">
|
|
|
<TextBlock Name="txtSlotIndex" Text="{Binding SlotIndex}" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
</Border>
|
|
|
- <Border Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Width="360" >
|
|
|
+ <Border Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Width="250" >
|
|
|
<Border.Style>
|
|
|
<Style>
|
|
|
<Style.Triggers>
|
|
@@ -113,8 +114,8 @@
|
|
|
</Style.Triggers>
|
|
|
</Style>
|
|
|
</Border.Style>
|
|
|
- <!--<TextBlock Name="txtSeqName" ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" Text="{Binding SequenceName}" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>-->
|
|
|
- <ComboBox FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center" Width="360" SelectedIndex="{Binding ElementName=WaferUnit,Path=SelectedIndex,Mode=OneWay}">
|
|
|
+ <TextBlock Name="txtSeqName" ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" Text="{Binding SequenceName}" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <!--<ComboBox FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center" Width="360" SelectedIndex="{Binding ElementName=WaferUnit,Path=SelectedIndex,Mode=OneWay}">
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="SelectionChanged">
|
|
|
<i:InvokeCommandAction Command="{Binding Path=DataContext.SetSequenceCommand, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=ListBox}}" CommandParameter="{Binding}"/>
|
|
@@ -122,10 +123,10 @@
|
|
|
</i:Interaction.Triggers>
|
|
|
<ComboBoxItem Content="{Binding ElementName=WaferUnit,Path=WAInfo.SequenceName}"></ComboBoxItem>
|
|
|
<ComboBoxItem Content=""></ComboBoxItem>
|
|
|
- </ComboBox>
|
|
|
+ </ComboBox>-->
|
|
|
</Border>
|
|
|
|
|
|
- <!--<Border Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Width="110" Padding="5,1">
|
|
|
+ <Border Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Width="110" Padding="5,1">
|
|
|
<Button Width="60" Height="16" Command="{Binding Path=DataContext.SetSequenceCommand, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=ListBox}}" CommandParameter="{Binding}">
|
|
|
<Button.Style>
|
|
|
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource ResourceKey={x:Type Button}}">
|
|
@@ -142,7 +143,7 @@
|
|
|
</Style>
|
|
|
</Button.Style>
|
|
|
</Button>
|
|
|
- </Border>-->
|
|
|
+ </Border>
|
|
|
</Grid>
|
|
|
</DataTemplate>
|
|
|
</ListBox.ItemTemplate>
|