BacklogInfoWindow.xaml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <Window x:Class="GeekDesk.Control.Windows.BacklogInfoWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:hc="https://handyorg.github.io/handycontrol"
  7. xmlns:local="clr-namespace:GeekDesk"
  8. mc:Ignorable="d"
  9. WindowStartupLocation="CenterScreen"
  10. Height="670"
  11. Width="450"
  12. WindowStyle="None"
  13. AllowsTransparency="True"
  14. Background="Transparent" ShowInTaskbar="False"
  15. >
  16. <Window.Resources>
  17. </Window.Resources>
  18. <Border CornerRadius="3" BorderThickness="2" BorderBrush="Black" Margin="0,0,0,313.323" MouseDown="DragMove">
  19. <Border.Background>
  20. <SolidColorBrush Color="AliceBlue"/>
  21. </Border.Background>
  22. <Border.Resources>
  23. <Style x:Key="LeftTB" TargetType="TextBlock" BasedOn="{StaticResource TextBlockBaseStyle}">
  24. <Setter Property="Width" Value="65"/>
  25. <Setter Property="HorizontalAlignment" Value="Left"/>
  26. <Setter Property="VerticalAlignment" Value="Center"/>
  27. <Setter Property="FontSize" Value="14"/>
  28. </Style>
  29. </Border.Resources>
  30. <Grid Margin="0,0,0,8">
  31. <hc:SimplePanel Margin="20" HorizontalAlignment="Center">
  32. <hc:UniformSpacingPanel Spacing="10" Grid.ColumnSpan="4">
  33. <WrapPanel>
  34. <TextBlock Text="待办任务:" Style="{StaticResource LeftTB}"/>
  35. <TextBlock Text="*" Foreground="Red" />
  36. </WrapPanel>
  37. <TextBox x:Name="Title" Width="290" FontSize="14" />
  38. </hc:UniformSpacingPanel>
  39. <hc:UniformSpacingPanel Spacing="10" Grid.ColumnSpan="4" Margin="0,48.997,0,-48.997">
  40. <TextBlock Text="待办详情:" Style="{StaticResource LeftTB}"/>
  41. <TextBox x:Name="Msg" TextWrapping="Wrap"
  42. AcceptsReturn="True"
  43. VerticalScrollBarVisibility="Visible"
  44. Height="100" MaxHeight="150" MinHeight="100" Width="290" MinWidth="290"
  45. VerticalAlignment="Center" HorizontalAlignment="Center"/>
  46. </hc:UniformSpacingPanel>
  47. <hc:UniformSpacingPanel Spacing="10" Grid.ColumnSpan="4" Margin="0,167.622,0,-167.622">
  48. <TextBlock Text="待办时间*:" Style="{StaticResource LeftTB}"/>
  49. <hc:DateTimePicker x:Name="ExeTime" ErrorStr="test" Width="200"/>
  50. </hc:UniformSpacingPanel>
  51. <hc:UniformSpacingPanel Spacing="10" Grid.ColumnSpan="4" Margin="0,228,0,-228">
  52. <TextBlock Text="完成时间:" Style="{StaticResource LeftTB}"/>
  53. <TextBlock x:Name="DoneTime" Width="200"/>
  54. </hc:UniformSpacingPanel>
  55. <hc:UniformSpacingPanel Spacing="10" Margin="0,273.333,0,-93.333" Grid.ColumnSpan="4">
  56. <Button Content="保存" Background="#5BC0DE"
  57. Foreground="White" Margin="320,6,-208,-10"
  58. Click="Save_Button_Click"/>
  59. </hc:UniformSpacingPanel>
  60. </hc:SimplePanel>
  61. <Button Panel.ZIndex="2" Width="22" Height="22" Click="Close_Button_Click" Style="{StaticResource ButtonIcon}" Foreground="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" hc:IconElement.Geometry="{StaticResource ErrorGeometry}" Padding="0" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,10,10,0"/>
  62. <StackPanel hc:Growl.GrowlParent="True" VerticalAlignment="Top" Margin="0,10,10,0"/>
  63. </Grid>
  64. </Border>
  65. </Window>