-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.Designer.cs
307 lines (300 loc) · 14.8 KB
/
MainWindow.Designer.cs
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
namespace ClockIn
{
partial class MainWindow
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Windows Form-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
this.lblBegin = new System.Windows.Forms.Label();
this.lblAbsence = new System.Windows.Forms.Label();
this.btnOptions = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
this.lblWorkingTime = new System.Windows.Forms.Label();
this.icnTrayIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.ctxTrayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.itmRestore = new System.Windows.Forms.ToolStripMenuItem();
this.itmOptions = new System.Windows.Forms.ToolStripMenuItem();
this.itmSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.itmClockIn = new System.Windows.Forms.ToolStripMenuItem();
this.itmClockOut = new System.Windows.Forms.ToolStripMenuItem();
this.itmSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.itmExit = new System.Windows.Forms.ToolStripMenuItem();
this.dtpArrival = new System.Windows.Forms.DateTimePicker();
this.btnAbout = new System.Windows.Forms.Button();
this.lblWorkingTimeIcon = new System.Windows.Forms.Label();
this.lblLeaveTimeIcon = new System.Windows.Forms.Label();
this.lblLeaveTime = new System.Windows.Forms.Label();
this.pnlTimeDisplay = new System.Windows.Forms.Panel();
this.lblIcon = new System.Windows.Forms.Label();
this.cbxDisplayMaxTime = new System.Windows.Forms.CheckBox();
this.btnResetTime = new System.Windows.Forms.Button();
this.txtAbsence = new System.Windows.Forms.TextBox();
this.btnAbsence = new System.Windows.Forms.Button();
this.ttMain = new System.Windows.Forms.ToolTip(this.components);
this.btnClockInOut = new System.Windows.Forms.Button();
this.ctxTrayMenu.SuspendLayout();
this.pnlTimeDisplay.SuspendLayout();
this.SuspendLayout();
//
// lblBegin
//
resources.ApplyResources(this.lblBegin, "lblBegin");
this.lblBegin.Name = "lblBegin";
this.lblBegin.DoubleClick += new System.EventHandler(this.LblBegin_DoubleClick);
//
// lblAbsence
//
resources.ApplyResources(this.lblAbsence, "lblAbsence");
this.lblAbsence.Name = "lblAbsence";
//
// btnOptions
//
resources.ApplyResources(this.btnOptions, "btnOptions");
this.btnOptions.Name = "btnOptions";
this.btnOptions.UseVisualStyleBackColor = true;
this.btnOptions.Click += new System.EventHandler(this.BtnOptions_Click);
//
// btnClose
//
resources.ApplyResources(this.btnClose, "btnClose");
this.btnClose.Name = "btnClose";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.BtnClose_Click);
//
// lblWorkingTime
//
resources.ApplyResources(this.lblWorkingTime, "lblWorkingTime");
this.lblWorkingTime.Name = "lblWorkingTime";
this.lblWorkingTime.Click += new System.EventHandler(this.LblWorkingTime_Click);
//
// icnTrayIcon
//
this.icnTrayIcon.ContextMenuStrip = this.ctxTrayMenu;
resources.ApplyResources(this.icnTrayIcon, "icnTrayIcon");
this.icnTrayIcon.DoubleClick += new System.EventHandler(this.IcnTray_DoubleClick);
//
// ctxTrayMenu
//
this.ctxTrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.itmRestore,
this.itmOptions,
this.itmSeparator1,
this.itmClockIn,
this.itmClockOut,
this.itmSeparator2,
this.itmExit});
this.ctxTrayMenu.Name = "ctxTrayMenu";
resources.ApplyResources(this.ctxTrayMenu, "ctxTrayMenu");
//
// itmRestore
//
resources.ApplyResources(this.itmRestore, "itmRestore");
this.itmRestore.Name = "itmRestore";
this.itmRestore.Click += new System.EventHandler(this.ItmRestore_Click);
//
// itmOptions
//
this.itmOptions.Name = "itmOptions";
resources.ApplyResources(this.itmOptions, "itmOptions");
this.itmOptions.Click += new System.EventHandler(this.ItmOptions_Click);
//
// itmSeparator1
//
this.itmSeparator1.Name = "itmSeparator1";
resources.ApplyResources(this.itmSeparator1, "itmSeparator1");
//
// itmClockIn
//
resources.ApplyResources(this.itmClockIn, "itmClockIn");
this.itmClockIn.Name = "itmClockIn";
this.itmClockIn.Click += new System.EventHandler(this.ItmClockIn_Click);
//
// itmClockOut
//
this.itmClockOut.Name = "itmClockOut";
resources.ApplyResources(this.itmClockOut, "itmClockOut");
this.itmClockOut.Click += new System.EventHandler(this.ItmClockOut_Click);
//
// itmSeparator2
//
this.itmSeparator2.Name = "itmSeparator2";
resources.ApplyResources(this.itmSeparator2, "itmSeparator2");
//
// itmExit
//
this.itmExit.Name = "itmExit";
resources.ApplyResources(this.itmExit, "itmExit");
this.itmExit.Click += new System.EventHandler(this.ItmExit_Click);
//
// dtpArrival
//
resources.ApplyResources(this.dtpArrival, "dtpArrival");
this.dtpArrival.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::ClockIn.Session.Default, "Arrival", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.dtpArrival.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpArrival.Name = "dtpArrival";
this.dtpArrival.ShowUpDown = true;
this.dtpArrival.Value = global::ClockIn.Session.Default.Arrival;
this.dtpArrival.Validated += new System.EventHandler(this.DtpArrival_Validated);
//
// btnAbout
//
resources.ApplyResources(this.btnAbout, "btnAbout");
this.btnAbout.Name = "btnAbout";
this.btnAbout.UseVisualStyleBackColor = true;
this.btnAbout.Click += new System.EventHandler(this.BtnAbout_Click);
//
// lblWorkingTimeIcon
//
resources.ApplyResources(this.lblWorkingTimeIcon, "lblWorkingTimeIcon");
this.lblWorkingTimeIcon.Name = "lblWorkingTimeIcon";
this.lblWorkingTimeIcon.Click += new System.EventHandler(this.LblWorkingTimeIcon_Click);
//
// lblLeaveTimeIcon
//
resources.ApplyResources(this.lblLeaveTimeIcon, "lblLeaveTimeIcon");
this.lblLeaveTimeIcon.Name = "lblLeaveTimeIcon";
this.lblLeaveTimeIcon.Click += new System.EventHandler(this.LblLeaveTimeIcon_Click);
//
// lblLeaveTime
//
resources.ApplyResources(this.lblLeaveTime, "lblLeaveTime");
this.lblLeaveTime.Name = "lblLeaveTime";
this.lblLeaveTime.Click += new System.EventHandler(this.LblLeaveTime_Click);
//
// pnlTimeDisplay
//
this.pnlTimeDisplay.BackColor = System.Drawing.SystemColors.Window;
this.pnlTimeDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pnlTimeDisplay.Controls.Add(this.lblWorkingTimeIcon);
this.pnlTimeDisplay.Controls.Add(this.lblWorkingTime);
this.pnlTimeDisplay.Controls.Add(this.lblLeaveTime);
this.pnlTimeDisplay.Controls.Add(this.lblLeaveTimeIcon);
resources.ApplyResources(this.pnlTimeDisplay, "pnlTimeDisplay");
this.pnlTimeDisplay.Name = "pnlTimeDisplay";
//
// lblIcon
//
resources.ApplyResources(this.lblIcon, "lblIcon");
this.lblIcon.Name = "lblIcon";
//
// cbxDisplayMaxTime
//
resources.ApplyResources(this.cbxDisplayMaxTime, "cbxDisplayMaxTime");
this.cbxDisplayMaxTime.Checked = global::ClockIn.Properties.Settings.Default.DisplayMaximumTime;
this.cbxDisplayMaxTime.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::ClockIn.Properties.Settings.Default, "DisplayMaximumTime", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.cbxDisplayMaxTime.Name = "cbxDisplayMaxTime";
this.cbxDisplayMaxTime.UseVisualStyleBackColor = true;
//
// btnResetTime
//
this.btnResetTime.Image = global::ClockIn.Properties.Resources.Reset;
resources.ApplyResources(this.btnResetTime, "btnResetTime");
this.btnResetTime.Name = "btnResetTime";
this.ttMain.SetToolTip(this.btnResetTime, resources.GetString("btnResetTime.ToolTip"));
this.btnResetTime.UseVisualStyleBackColor = true;
this.btnResetTime.Click += new System.EventHandler(this.BtnResetTime_Click);
//
// txtAbsence
//
resources.ApplyResources(this.txtAbsence, "txtAbsence");
this.txtAbsence.Name = "txtAbsence";
this.txtAbsence.ReadOnly = true;
//
// btnAbsence
//
resources.ApplyResources(this.btnAbsence, "btnAbsence");
this.btnAbsence.Name = "btnAbsence";
this.ttMain.SetToolTip(this.btnAbsence, resources.GetString("btnAbsence.ToolTip"));
this.btnAbsence.UseVisualStyleBackColor = true;
this.btnAbsence.Click += new System.EventHandler(this.BtnAbsence_Click);
//
// btnClockInOut
//
resources.ApplyResources(this.btnClockInOut, "btnClockInOut");
this.btnClockInOut.Name = "btnClockInOut";
this.btnClockInOut.UseVisualStyleBackColor = true;
this.btnClockInOut.Click += new System.EventHandler(this.BtnClockInOut_Click);
//
// MainWindow
//
this.AcceptButton = this.btnClose;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.btnClockInOut);
this.Controls.Add(this.btnAbsence);
this.Controls.Add(this.txtAbsence);
this.Controls.Add(this.btnResetTime);
this.Controls.Add(this.cbxDisplayMaxTime);
this.Controls.Add(this.lblIcon);
this.Controls.Add(this.pnlTimeDisplay);
this.Controls.Add(this.dtpArrival);
this.Controls.Add(this.lblAbsence);
this.Controls.Add(this.btnAbout);
this.Controls.Add(this.lblBegin);
this.Controls.Add(this.btnClose);
this.Controls.Add(this.btnOptions);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "MainWindow";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWindow_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainWindow_FormClosed);
this.Load += new System.EventHandler(this.MainWindow_Load);
this.VisibleChanged += new System.EventHandler(this.MainWindow_VisibleChanged);
this.ctxTrayMenu.ResumeLayout(false);
this.pnlTimeDisplay.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label lblBegin;
private System.Windows.Forms.Label lblAbsence;
private System.Windows.Forms.Button btnOptions;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Label lblWorkingTime;
private System.Windows.Forms.NotifyIcon icnTrayIcon;
private System.Windows.Forms.ContextMenuStrip ctxTrayMenu;
private System.Windows.Forms.ToolStripMenuItem itmRestore;
private System.Windows.Forms.ToolStripMenuItem itmOptions;
private System.Windows.Forms.ToolStripSeparator itmSeparator1;
private System.Windows.Forms.ToolStripMenuItem itmExit;
private System.Windows.Forms.DateTimePicker dtpArrival;
private System.Windows.Forms.Button btnAbout;
private System.Windows.Forms.Label lblWorkingTimeIcon;
private System.Windows.Forms.Label lblLeaveTimeIcon;
private System.Windows.Forms.Label lblLeaveTime;
private System.Windows.Forms.Panel pnlTimeDisplay;
private System.Windows.Forms.Label lblIcon;
private System.Windows.Forms.CheckBox cbxDisplayMaxTime;
private System.Windows.Forms.Button btnResetTime;
private System.Windows.Forms.TextBox txtAbsence;
private System.Windows.Forms.Button btnAbsence;
private System.Windows.Forms.ToolTip ttMain;
private System.Windows.Forms.ToolStripMenuItem itmClockIn;
private System.Windows.Forms.ToolStripMenuItem itmClockOut;
private System.Windows.Forms.ToolStripSeparator itmSeparator2;
private System.Windows.Forms.Button btnClockInOut;
}
}