pgLRP.xaml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <Page x:Class="RedmineOracle.pgLRP"
  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="pgLRP"
  10. xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">
  11. <Page.Resources>
  12. <DataTemplate x:Key="dtOutComm">
  13. <StackPanel>
  14. <StackPanel Orientation="Horizontal">
  15. <TextBlock Text="{Binding Name}"></TextBlock>
  16. <TextBlock Text=" | "></TextBlock>
  17. <TextBlock Text="{Binding Created}"></TextBlock>
  18. </StackPanel>
  19. <TextBox Text="{Binding Description}" TextWrapping="Wrap" MouseDoubleClick="AddCommToRM"></TextBox>
  20. <TextBox Text="{Binding Change}" TextWrapping="Wrap" Background="Yellow" MouseDoubleClick="AddCommToRM"></TextBox>
  21. <TextBox Text="{Binding SecreteComm}" TextWrapping="Wrap" Background="Aqua" MouseDoubleClick="AddCommToRM"></TextBox>
  22. <TextBlock Text="{Binding CountFile}" Uid="{Binding IdDRP}" MouseDown="TextBlock_MouseDown" Background="BlueViolet"></TextBlock>
  23. <Button Uid="{Binding IdDRP}" Name="btnInsert" Click="btnInsert_Click">Перенсти</Button >
  24. </StackPanel>
  25. </DataTemplate>
  26. </Page.Resources>
  27. <Grid>
  28. <Grid.RowDefinitions>
  29. <RowDefinition Height="121*"/>
  30. <RowDefinition Height="266*"/>
  31. <RowDefinition Height="63*"/>
  32. </Grid.RowDefinitions>
  33. <StackPanel Grid.Row="0">
  34. <Button Name="btnCreateIss" Content="Созадть задачу" Click="btnCreateIss_Click" ></Button>
  35. <Button Name="btnRefreshComm" Content="Обновить" Click="btnRefreshComm_Click"></Button>
  36. <StackPanel Orientation="Horizontal" >
  37. <TextBlock Name="tbId" Text="{Binding IdLRP}"></TextBlock>
  38. <TextBlock Text="("></TextBlock>
  39. <TextBlock Text="{Binding Priority}"></TextBlock>
  40. <TextBlock Text=")"></TextBlock>
  41. <TextBlock Text=" | "></TextBlock>
  42. <ComboBox Name="cbStatus" SelectionChanged="cbStatus_SelectionChanged"></ComboBox>
  43. <TextBlock Text=" | "></TextBlock>
  44. <TextBlock Text=" | "></TextBlock>
  45. <TextBlock Name="tbMiniInf" Text="{Binding MinInfo}"></TextBlock>
  46. <TextBlock Text=" | "></TextBlock>
  47. <TextBlock Name="tbIdIss"></TextBlock>
  48. </StackPanel>
  49. <StackPanel Orientation="Horizontal">
  50. <TextBlock Text="{Binding TimeStart}"></TextBlock>
  51. <TextBlock Text=" | "></TextBlock>
  52. <TextBlock Text="{Binding TimeWorke}"></TextBlock>
  53. <TextBlock Text=" | "></TextBlock>
  54. <TextBlock Text="{Binding Respond}"></TextBlock>
  55. <TextBlock Text=" | "></TextBlock>
  56. <TextBlock Name="tbModule" Text="{Binding Module}"></TextBlock>
  57. </StackPanel>
  58. <StackPanel>
  59. <TextBox Name="tbFullInf" Text="{Binding FullInf}" TextWrapping="Wrap"></TextBox>
  60. </StackPanel>
  61. <TextBlock Text="{Binding CountFileLRP}" Uid="{Binding IdLRP}" Name="tbDonFile" MouseDown="tbDonFile_MouseDown" Background="BlueViolet"></TextBlock>
  62. </StackPanel>
  63. <ListBox Name="lbComm" ItemTemplate="{StaticResource dtOutComm}" Grid.Row="1"></ListBox>
  64. <StackPanel Grid.Row="2">
  65. <StackPanel Orientation="Horizontal">
  66. <TextBlock Text="Комментарий" Margin="0 0 10 0 "></TextBlock>
  67. <TextBox Name="tbComm" AcceptsReturn="True" MinWidth="100px"></TextBox>
  68. <TextBlock Text="Скр.Комментарий" Margin="0 0 10 0 "></TextBlock>
  69. <TextBox Name="tbSComm" AcceptsReturn="True" MinWidth="100px"></TextBox>
  70. </StackPanel>
  71. <Button Click="Button_Click">Занести</Button>
  72. </StackPanel>
  73. </Grid>
  74. </Page>