12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <Page x:Class="RedmineOracle.pgLRP"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:RedmineOracle"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="pgLRP"
- xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">
- <Page.Resources>
- <DataTemplate x:Key="dtOutComm">
- <StackPanel>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="{Binding Name}"></TextBlock>
- <TextBlock Text=" | "></TextBlock>
- <TextBlock Text="{Binding Created}"></TextBlock>
- </StackPanel>
- <TextBox Text="{Binding Description}" TextWrapping="Wrap" MouseDoubleClick="AddCommToRM"></TextBox>
- <TextBox Text="{Binding Change}" TextWrapping="Wrap" Background="Yellow" MouseDoubleClick="AddCommToRM"></TextBox>
- <TextBox Text="{Binding SecreteComm}" TextWrapping="Wrap" Background="Aqua" MouseDoubleClick="AddCommToRM"></TextBox>
- <TextBlock Text="{Binding CountFile}" Uid="{Binding IdDRP}" MouseDown="TextBlock_MouseDown" Background="BlueViolet"></TextBlock>
- <Button Uid="{Binding IdDRP}" Name="btnInsert" Click="btnInsert_Click">Перенсти</Button >
- </StackPanel>
- </DataTemplate>
- </Page.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="121*"/>
- <RowDefinition Height="266*"/>
- <RowDefinition Height="63*"/>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0">
- <Button Name="btnCreateIss" Content="Созадть задачу" Click="btnCreateIss_Click" ></Button>
- <Button Name="btnRefreshComm" Content="Обновить" Click="btnRefreshComm_Click"></Button>
- <StackPanel Orientation="Horizontal" >
- <TextBlock Name="tbId" Text="{Binding IdLRP}"></TextBlock>
- <TextBlock Text="("></TextBlock>
- <TextBlock Text="{Binding Priority}"></TextBlock>
- <TextBlock Text=")"></TextBlock>
- <TextBlock Text=" | "></TextBlock>
- <ComboBox Name="cbStatus" SelectionChanged="cbStatus_SelectionChanged"></ComboBox>
- <TextBlock Text=" | "></TextBlock>
- <TextBlock Text=" | "></TextBlock>
- <TextBlock Name="tbMiniInf" Text="{Binding MinInfo}"></TextBlock>
- <TextBlock Text=" | "></TextBlock>
- <TextBlock Name="tbIdIss"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="{Binding TimeStart}"></TextBlock>
- <TextBlock Text=" | "></TextBlock>
- <TextBlock Text="{Binding TimeWorke}"></TextBlock>
- <TextBlock Text=" | "></TextBlock>
- <TextBlock Text="{Binding Respond}"></TextBlock>
- <TextBlock Text=" | "></TextBlock>
- <TextBlock Name="tbModule" Text="{Binding Module}"></TextBlock>
- </StackPanel>
- <StackPanel>
- <TextBox Name="tbFullInf" Text="{Binding FullInf}" TextWrapping="Wrap"></TextBox>
- </StackPanel>
- <TextBlock Text="{Binding CountFileLRP}" Uid="{Binding IdLRP}" Name="tbDonFile" MouseDown="tbDonFile_MouseDown" Background="BlueViolet"></TextBlock>
- </StackPanel>
- <ListBox Name="lbComm" ItemTemplate="{StaticResource dtOutComm}" Grid.Row="1"></ListBox>
- <StackPanel Grid.Row="2">
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="Комментарий" Margin="0 0 10 0 "></TextBlock>
- <TextBox Name="tbComm" AcceptsReturn="True" MinWidth="100px"></TextBox>
- <TextBlock Text="Скр.Комментарий" Margin="0 0 10 0 "></TextBlock>
- <TextBox Name="tbSComm" AcceptsReturn="True" MinWidth="100px"></TextBox>
- </StackPanel>
- <Button Click="Button_Click">Занести</Button>
- </StackPanel>
- </Grid>
- </Page>
|