|
|
@ -75,6 +75,7 @@ |
|
|
|
Content="Job" |
|
|
|
Content="Job" |
|
|
|
Click="ListBoxHeader_OnClick"/> |
|
|
|
Click="ListBoxHeader_OnClick"/> |
|
|
|
<ListBox x:Name="lbEmp" Grid.Row="2" Grid.ColumnSpan="3" |
|
|
|
<ListBox x:Name="lbEmp" Grid.Row="2" Grid.ColumnSpan="3" |
|
|
|
|
|
|
|
Background="LightBlue" |
|
|
|
AlternationCount="2" |
|
|
|
AlternationCount="2" |
|
|
|
ItemContainerStyle="{Binding Source={StaticResource styListBox}}" |
|
|
|
ItemContainerStyle="{Binding Source={StaticResource styListBox}}" |
|
|
|
ItemsSource="{Binding Source={StaticResource empVM}}" |
|
|
|
ItemsSource="{Binding Source={StaticResource empVM}}" |
|
|
@ -96,12 +97,12 @@ |
|
|
|
Content="Show manager only" |
|
|
|
Content="Show manager only" |
|
|
|
Click="btnManagerOnly_Click"/> |
|
|
|
Click="btnManagerOnly_Click"/> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="5" |
|
|
|
<TextBlock Grid.Column="0" Grid.Row="5" HorizontalAlignment="Center" |
|
|
|
Text="{Binding EmpNo}"/> |
|
|
|
Text="{Binding ElementName=lbEmp, Path=SelectedItem.EmpNo}"/> |
|
|
|
<TextBlock Grid.Column="1" Grid.Row="5" |
|
|
|
<TextBlock Grid.Column="1" Grid.Row="5" HorizontalAlignment="Center" |
|
|
|
Text="{Binding Name}"/> |
|
|
|
Text="{Binding ElementName=lbEmp, Path=SelectedItem.Name}"/> |
|
|
|
<TextBlock Grid.Column="2" Grid.Row="5" |
|
|
|
<TextBlock Grid.Column="2" Grid.Row="5" HorizontalAlignment="Center" |
|
|
|
Text="{Binding Job}"/> |
|
|
|
Text="{Binding ElementName=lbEmp, Path=SelectedItem.Job}"/> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|