-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
44 lines (42 loc) · 2.44 KB
/
MainWindow.xaml
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
35
36
37
38
39
40
41
42
43
44
<Window x:Class="LucidTimer.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:LucidTimer"
mc:Ignorable="d"
Title="LucidTimer" Height="250" Width="400"
Closing="Window_Closing"
>
<Grid Background="Black">
<TextBlock Name="tbMainTimerHours" FontSize="56" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0 40 200 0" Foreground="#FF8EC4FF" FontFamily="Arial Black">00</TextBlock>
<TextBlock FontSize="56" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0 35 100 0" Foreground="#FF8EC4FF" FontFamily="Arial Black">:</TextBlock>
<TextBlock Name="tbMainTimerMinutes" FontSize="56" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0 40 0 0" Foreground="#FF8EC4FF" FontFamily="Arial Black">00</TextBlock>
<TextBlock FontSize="56" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="100 35 0 0" Foreground="#FF8EC4FF" FontFamily="Arial Black">:</TextBlock>
<TextBlock Name="tbMainTimerSeconds" FontSize="56" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="200 40 0 0" Foreground="#FF8EC4FF" FontFamily="Arial Black">00</TextBlock>
<Border BorderBrush="#FF8EC4FF" BorderThickness="2" CornerRadius="8" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0 0 140 20">
<Button
Name="bStartTimer"
Width="120"
Height="40"
FontSize="24"
FontFamily="Arial Bold"
Cursor="Hand"
Click="StartTimer_Click" Background="{x:Null}" Foreground="#FFC2DFFF" BorderBrush="{x:Null}">
Старт
</Button>
</Border>
<Border BorderBrush="#FFFF5959" BorderThickness="2" CornerRadius="8" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="140 0 0 20">
<Button
Name="bResetTimer"
Width="120"
Height="40"
FontSize="24"
FontFamily="Arial Bold"
Cursor="Hand"
Click="bResetTimer_Click" Background="{x:Null}" Foreground="#FFFF9393" BorderBrush="{x:Null}">
Сброс
</Button>
</Border>
</Grid>
</Window>