终端一体化运控平台
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

51 wiersze
1.9 KiB

  1. <UserControl
  2. x:Class=" BPASmartClient.CustomResource.UserControls.DateTimeUI"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BPASmartClient.CustomResource.UserControls"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. d:DesignHeight="50"
  9. d:DesignWidth="100"
  10. mc:Ignorable="d">
  11. <UserControl.Resources>
  12. <ResourceDictionary>
  13. <ResourceDictionary.MergedDictionaries>
  14. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
  15. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
  16. </ResourceDictionary.MergedDictionaries>
  17. </ResourceDictionary>
  18. </UserControl.Resources>
  19. <Grid>
  20. <Grid.RowDefinitions>
  21. <RowDefinition Height="30" />
  22. <RowDefinition />
  23. </Grid.RowDefinitions>
  24. <StackPanel Grid.Row="0" Orientation="Horizontal">
  25. <TextBlock
  26. x:Name="time"
  27. FontFamily="../Fonts/#Quartz M"
  28. FontSize="16">
  29. 14:48:30
  30. </TextBlock>
  31. <Image Margin="10,0,0,0" Style="{DynamicResource timeImage}" />
  32. </StackPanel>
  33. <StackPanel Grid.Row="1" Orientation="Horizontal">
  34. <TextBlock
  35. x:Name="dateRL"
  36. FontFamily="../Fonts/#Quartz M"
  37. FontSize="10">
  38. 星期一
  39. </TextBlock>
  40. <TextBlock
  41. x:Name="date"
  42. Margin="10,0,0,0"
  43. FontFamily="../Fonts/#Quartz M"
  44. FontSize="10">
  45. 2021-11-13
  46. </TextBlock>
  47. </StackPanel>
  48. </Grid>
  49. </UserControl>