Repository navigation
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
127 lines (126 loc) · 3.79 KB
/
Copy pathMainWindow.xaml
File metadata and controls
127 lines (126 loc) · 3.79 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<Window x:Class="TimeClock.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:TimeClock"
mc:Ignorable="d"
Title="Time Clock" Height="620" Width="410"
ResizeMode="CanMinimize">
<Grid>
<TextBlock
VerticalAlignment="Top"
HorizontalAlignment="Stretch"
Height="70"
Margin="100,34,100,0"
FontSize="48"
Text="12:00 AM"
IsEnabled="False"
TextAlignment="Center"
Name="Time"
/>
<Button
Name="ClockIn"
HorizontalAlignment="Stretch"
Height="100"
Margin="10,112,10,0"
Background="#FFDDDDDD"
VerticalAlignment="Top"
Click="Clock_In_Click"
>Clock In</Button>
<Button
Name="Break"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Height="50"
Margin="10,222,10,0"
Click="Break_Click"
IsEnabled="False">
Begin Break
</Button>
<Label
Name="TimeStartLabel"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="10,287,0,0"
Width="180"
Height="25"
>Start Time</Label>
<TextBlock Name="TimeStart"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Height="25"
Width="180"
Margin="10,312,0,0"
></TextBlock>
<Label
Name="TimeEndLabel"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Margin="0,287,10,0"
Width="180"
Height="25"
>End Time</Label>
<TextBlock Name="TimeEnd"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Height="25"
Width="180"
Margin="0,312,10,0"
></TextBlock>
<Label
Height="30"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="10,361,10,0"
>
Log
</Label>
<TextBox
Name="Log"
Height="125"
MaxWidth="500"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Margin="10,389,10,0"
VerticalScrollBarVisibility="Auto">
</TextBox>
<Label
ToolTip="Notes will be appended to clock actions in the log."
Name="NoteLabel"
HorizontalAlignment="Stretch"
Height="30"
Margin="10,517,10,0"
VerticalAlignment="Top"
>
Note
</Label>
<TextBox
Name="Note"
HorizontalAlignment="Stretch"
Height="23"
MaxWidth="500"
Margin="10,545,10,0"
TextWrapping="Wrap"
VerticalAlignment="Top"
/>
<Menu
HorizontalAlignment="Left"
Height="25"
Margin="0,0,0,0"
VerticalAlignment="Top"
Width="400">
<MenuItem
Name="MenuFile"
Header="_File"
AllowDrop="True"
Height="25"
>
<MenuItem
Name="MenuFile_Save"
Header="_Save">
</MenuItem>
</MenuItem>
</Menu>
</Grid>
</Window>