|
@@ -5,51 +5,45 @@
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
xmlns:local="clr-namespace:ROGOZ.Pages"
|
|
|
mc:Ignorable="d"
|
|
|
- d:DesignHeight="450" d:DesignWidth="800"
|
|
|
+ d:Height="620" d:Width="750"
|
|
|
Title="AddTask">
|
|
|
|
|
|
<Grid>
|
|
|
- <Label Style="{StaticResource LabelStyle}">
|
|
|
- не готово!
|
|
|
- </Label>
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Style="{StaticResource BlockHeader}" FontSize="16" FontFamily="Arial" Text="ЗАДАЧА"/>
|
|
|
- <Separator Width="20" Background="{x:Null}" />
|
|
|
- <TextBox Name="TBoxTitle" Width="190"/>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
- <Separator Height="10" Background="{x:Null}" />
|
|
|
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Style="{StaticResource BlockHeader}" FontSize="16" FontFamily="Arial" Text="ИСПОЛНИТЕЛЬ"/>
|
|
|
- <Separator Width="20" Background="{x:Null}" />
|
|
|
- <TextBox Name="TBoxCost" Width="182"/>
|
|
|
+ <StackPanel HorizontalAlignment="Center" Height="600" Width="750">
|
|
|
+ <Label Style="{StaticResource LabelStyle}" HorizontalAlignment="Center">
|
|
|
+ Добавление задачи
|
|
|
+ </Label>
|
|
|
+ <StackPanel Orientation="Vertical" HorizontalAlignment="Center" Height="370" Width="750" Margin="0,20,0,0">
|
|
|
+ <StackPanel Orientation="Horizontal" Width="750" Margin="0,15,0,0">
|
|
|
+ <TextBlock Text="Задача:" Style="{StaticResource BlockHeader}" HorizontalAlignment="Left" FontSize="35"/>
|
|
|
+ <TextBox x:Name="TaskName" Width="450" Height="35" Margin="135,0,0,0" Style="{StaticResource TextBoxStyle}"/>
|
|
|
</StackPanel>
|
|
|
- <Separator Height="10" Background="{x:Null}" />
|
|
|
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Style="{StaticResource BlockHeader}" FontSize="16" FontFamily="Arial" Text="МАНАГЕР"/>
|
|
|
- <Separator Width="20" Background="{x:Null}" />
|
|
|
- <TextBox Name="TBoxDuration" Width="150"/>
|
|
|
+ <Separator Background="{x:Null}" Height="15"/>
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal" Width="750" Margin="0,15,0,0">
|
|
|
+ <TextBlock Text="Статус:" Style="{StaticResource BlockHeader}" HorizontalAlignment="Left" FontSize="35"/>
|
|
|
+ <ComboBox x:Name="StatusBox" Width="450" Height="35" Margin="142,0,0,0" SelectedItem="{Binding Status}"/>
|
|
|
</StackPanel>
|
|
|
+ <Separator Background="{x:Null}" Height="15"/>
|
|
|
|
|
|
- <Separator Height="10" Background="{x:Null}" />
|
|
|
+ <StackPanel Orientation="Horizontal" Width="750" Margin="0,15,0,0">
|
|
|
+ <TextBlock Text="Исполнитель:" Style="{StaticResource BlockHeader}" HorizontalAlignment="Left" FontSize="35"/>
|
|
|
+ <ComboBox x:Name="ExecutorBox" Width="450" Height="35" Margin="25,0,0,0" SelectedItem="{Binding Executor.User.MiddleName}"/>
|
|
|
+ </StackPanel>
|
|
|
+ <Separator Background="{x:Null}" Height="15"/>
|
|
|
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Style="{StaticResource BlockHeader}" FontSize="16" FontFamily="Arial" Text="Статус"/>
|
|
|
- <Separator Width="20" Background="{x:Null}" />
|
|
|
- <TextBox Name="TBoxDescription" TextWrapping="Wrap" Height="115" Width="187"/>
|
|
|
+ <StackPanel Orientation="Horizontal" Width="750" Margin="0,15,0,0">
|
|
|
+ <TextBlock Text="Менеджер:" Style="{StaticResource BlockHeader}" HorizontalAlignment="Left" FontSize="35"/>
|
|
|
+ <ComboBox x:Name="ManagerBox" Width="450" Height="35" Margin="83,0,0,0" SelectedItem="{Binding Manager.User.MiddleName}"/>
|
|
|
</StackPanel>
|
|
|
- <Separator Height="10" Background="{x:Null}" />
|
|
|
</StackPanel>
|
|
|
- <StackPanel VerticalAlignment="Center">
|
|
|
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="1">
|
|
|
- <Button Height="30" Width="200" Margin="5" Name="BtnSave" Content="Сохранить" FontSize="14"/>
|
|
|
- </StackPanel>
|
|
|
+ <StackPanel Width="700" Height="70" Orientation="Horizontal" Margin="0,20">
|
|
|
+
|
|
|
+ <Button Content="Отмена" Style="{StaticResource AuthoButtons}" Click="Button_Click"/>
|
|
|
+ <Button Content="Сохранить" Style="{StaticResource AuthoButtons}" Margin="100,0,0,0"/>
|
|
|
+
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
</Grid>
|