终端一体化运控平台
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.
 
 
 

40 wiersze
1.6 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 x:Name="time" FontSize="16">14:48:30</TextBlock>
  26. <Image Margin="10,0,0,0" Style="{DynamicResource timeImage}" />
  27. </StackPanel>
  28. <StackPanel Grid.Row="1" Orientation="Horizontal">
  29. <TextBlock x:Name="dateRL" FontSize="10">星期一</TextBlock>
  30. <TextBlock
  31. x:Name="date"
  32. Margin="10,0,0,0"
  33. FontSize="10">
  34. 2021-11-13
  35. </TextBlock>
  36. </StackPanel>
  37. </Grid>
  38. </UserControl>