pgListLRP.xaml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <Page x:Class="RedmineOracle.pgListLRP"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:RedmineOracle"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="pgListLRP"
  10. xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">
  11. <Page.Resources>
  12. <DataTemplate x:Key="dtListLRP">
  13. <Border BorderBrush="Black" BorderThickness="1,1">
  14. <StackPanel>
  15. <StackPanel Orientation="Horizontal">
  16. <TextBlock Text="{Binding LRP_ID}" Background="Aqua" MouseDown="TextBlock_MouseDown"></TextBlock>
  17. <TextBlock Text=" | "></TextBlock>
  18. <TextBlock Text="{Binding LRP_PRIORITET_ID}"></TextBlock>
  19. <TextBlock Text=" | "></TextBlock>
  20. <TextBlock Text="{Binding SYSTEM_NAME}"></TextBlock>
  21. <TextBlock Text=" | "></TextBlock>
  22. <TextBlock Text="{Binding LRP_STATUS_NAME}"></TextBlock>
  23. <TextBlock Text=" | "></TextBlock>
  24. <TextBlock Text="{Binding LRP_TIME_OPEN}"></TextBlock>
  25. </StackPanel>
  26. <StackPanel>
  27. <TextBlock Text="{Binding RESPOND}"></TextBlock>
  28. <TextBlock Text="{Binding LRP_MINI_INF}"></TextBlock>
  29. </StackPanel>
  30. <StackPanel Orientation="Horizontal">
  31. <TextBlock Text="{Binding TIME_CHANGE}"></TextBlock>
  32. <TextBlock Text=" | "></TextBlock>
  33. <TextBlock Text="{Binding DRP_CHANGE}"></TextBlock>
  34. </StackPanel>
  35. </StackPanel>
  36. </Border>
  37. </DataTemplate>
  38. </Page.Resources>
  39. <Grid>
  40. <Grid.RowDefinitions>
  41. <RowDefinition Height="64*"/>
  42. <RowDefinition Height="167*"/>
  43. <RowDefinition Height="219*"/>
  44. </Grid.RowDefinitions>
  45. <StackPanel Orientation="Horizontal">
  46. <TextBox Name="tbIdLRP" Width="100px" Height="60px"></TextBox>
  47. <Button x:Name="btnFind" Content="Найти ЛРП" Click="btnFind_Click" Width="100px" Height="60px"></Button>
  48. <ComboBox Name="tbResrond" TextBoxBase.TextChanged="tbResrond_TextChanged" SelectionChanged="tbResrond_SelectionChanged" IsEditable="True" IsTextSearchEnabled="False"></ComboBox>
  49. <ComboBox Name="cbStatus"></ComboBox>
  50. </StackPanel>
  51. <ListBox Name="lbLRPOpen" ItemTemplate="{StaticResource dtListLRP}" Grid.Row="1"></ListBox>
  52. <ListBox Name="lbLRP" ItemTemplate="{StaticResource dtListLRP}" Grid.Row="2"></ListBox>
  53. </Grid>
  54. </Page>