|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <UserControl
- x:Class=" BPASmartClient.CustomResource.UserControls.DateTimeUI"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:BPASmartClient.CustomResource.UserControls"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- d:DesignHeight="50"
- d:DesignWidth="100"
- mc:Ignorable="d">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
- <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0" Orientation="Horizontal">
- <TextBlock
- x:Name="time"
- FontFamily="../Fonts/#Quartz M"
- FontSize="16">
- 14:48:30
- </TextBlock>
- <Image Margin="10,0,0,0" Style="{DynamicResource timeImage}" />
- </StackPanel>
- <StackPanel Grid.Row="1" Orientation="Horizontal">
- <TextBlock
- x:Name="dateRL"
- FontFamily="../Fonts/#Quartz M"
- FontSize="10">
- 星期一
- </TextBlock>
-
- <TextBlock
- x:Name="date"
- Margin="10,0,0,0"
- FontFamily="../Fonts/#Quartz M"
- FontSize="10">
- 2021-11-13
- </TextBlock>
- </StackPanel>
- </Grid>
- </UserControl>
|