-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
27 lines (25 loc) · 1.36 KB
/
MainWindow.xaml
File metadata and controls
27 lines (25 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Window x:Class="TimeWidgetWPF.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="AmaraCode Time Widget" Height="110" Width="500" Icon="/clock.png">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="10" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Rectangle Grid.Row="0" Grid.Column="0" Fill="AliceBlue" />
<Rectangle Grid.Row="0" Grid.Column="2" Fill="AliceBlue" />
<Label Grid.Row="0" Grid.Column="0" FontWeight="Bold" HorizontalAlignment="Center">UTC</Label>
<Label Grid.Row="0" Grid.Column="2" FontWeight="Bold" HorizontalAlignment="Center">Local</Label>
<Label FontSize="30" Grid.Row="1" Grid.Column="0" Name="TimeUTC" HorizontalAlignment="Center">time</Label>
<Label FontSize="30" Grid.Row="1" Grid.Column="2" Name="TimeLocal" HorizontalAlignment="Center">time</Label>
</Grid>
</Window>