add clock

This commit is contained in:
nguyentien.work410@gmail.com
2025-03-18 17:25:02 +07:00
parent df5249fedc
commit 7ee24657e8
3 changed files with 71 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
<UserControl x:Class="SafeBagDE70.ClockUC"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SafeBagDE70"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Border Background="Transparent" CornerRadius="10" Padding="10">
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock x:Name="txtTime"
FontSize="40"
FontWeight="Bold"
Foreground="Red"
HorizontalAlignment="Center" />
<TextBlock x:Name="txtDate"
FontSize="35"
Foreground="Red"
FontWeight="Bold"
HorizontalAlignment="Center" />
</StackPanel>
</Border>
</UserControl>