-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
34 lines (33 loc) · 1.76 KB
/
MainWindow.xaml
File metadata and controls
34 lines (33 loc) · 1.76 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
28
29
30
31
32
33
34
<Window x:Class="MicroTimer.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:local="clr-namespace:MicroTimer"
mc:Ignorable="d"
Title="MainWindow" Height="400" Width="768"
>
<Viewbox Stretch="Uniform">
<Grid Margin="10,10,10,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="8" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBox Grid.Row="1" x:Name="time_box" Text="{Binding TimeNowString, Mode=OneWay}" FontSize="200" FontFamily="pack://application:,,,/#DS-Digital"
Height="200" Margin="10,0,10,0" BorderThickness="0"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
IsReadOnly="True" Focusable="False" Cursor="Arrow" IsTabStop="False"
>
</TextBox>
<TextBox Grid.Row="2" x:Name="ms_box" Text="{Binding MsNowString, Mode=OneWay}" FontSize="120" FontFamily="pack://application:,,,/#DS-Digital"
Height="120" Margin="10,0,10,0" BorderThickness="0"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
IsReadOnly="True" Focusable="False" Cursor="Arrow" IsTabStop="False">
</TextBox>
</Grid>
</Viewbox>
</Window>