This is a basic WPF program which displays the data and time so it is readable from a distance -- if needed.
https://www.craigoates.net/Software/project/9
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
6 years ago
|
<fw:AcrylicWindow x:Class="DesktopClock.MainWindow"
|
||
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
xmlns:fw="clr-namespace:SourceChord.FluentWPF;assembly=FluentWPF"
|
||
|
mc:Ignorable="d"
|
||
|
fw:AcrylicWindow.Enabled="True"
|
||
|
Title="Desktop Clock" Height="320" Width="470">
|
||
|
<Grid>
|
||
|
<StackPanel Orientation="Vertical"
|
||
|
HorizontalAlignment="Center"
|
||
|
VerticalAlignment="Center"
|
||
|
Margin="0"
|
||
|
>
|
||
|
<TextBlock x:Name="TimeBox"
|
||
|
HorizontalAlignment="Center"
|
||
|
VerticalAlignment="Center"
|
||
|
TextWrapping="Wrap"
|
||
|
FontSize="100">
|
||
|
09:24 pm
|
||
|
</TextBlock>
|
||
|
<TextBlock x:Name="DateBox"
|
||
|
HorizontalAlignment="Center"
|
||
|
VerticalAlignment="Center"
|
||
|
TextWrapping="Wrap"
|
||
|
FontSize="50">
|
||
|
the date
|
||
|
</TextBlock>
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
</fw:AcrylicWindow>
|