-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainForm.Designer.cs
286 lines (281 loc) · 10.4 KB
/
MainForm.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
namespace ToDoReminder
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
MenuMain = new MenuStrip();
menuFile = new ToolStripMenuItem();
menuFileNew = new ToolStripMenuItem();
toolStripSeparator1 = new ToolStripSeparator();
menuFileOpenDataFile = new ToolStripMenuItem();
menuFileSave = new ToolStripMenuItem();
toolStripSeparator2 = new ToolStripSeparator();
menuFileExit = new ToolStripMenuItem();
menuHelp = new ToolStripMenuItem();
menuHelpAbout = new ToolStripMenuItem();
labelDateTime = new Label();
dateTimePicker = new DateTimePicker();
lblPriority = new Label();
cmbPriority = new ComboBox();
lblToDo = new Label();
txtDescription = new TextBox();
btnAdd = new Button();
listViewTasks = new ListView();
columnDate = new ColumnHeader();
columnTime = new ColumnHeader();
columnPriority = new ColumnHeader();
ColumnDescription = new ColumnHeader();
btnDelete = new Button();
btnChange = new Button();
toolTipDateTimePicker = new ToolTip(components);
MenuMain.SuspendLayout();
SuspendLayout();
//
// MenuMain
//
MenuMain.Items.AddRange(new ToolStripItem[] { menuFile, menuHelp });
MenuMain.Location = new Point(0, 0);
MenuMain.Name = "MenuMain";
MenuMain.Size = new Size(800, 24);
MenuMain.TabIndex = 0;
MenuMain.Text = "Menu Main";
//
// menuFile
//
menuFile.DropDownItems.AddRange(new ToolStripItem[] { menuFileNew, toolStripSeparator1, menuFileOpenDataFile, menuFileSave, toolStripSeparator2, menuFileExit });
menuFile.Name = "menuFile";
menuFile.Size = new Size(37, 20);
menuFile.Text = "File";
//
// menuFileNew
//
menuFileNew.Name = "menuFileNew";
menuFileNew.Size = new Size(148, 22);
menuFileNew.Text = "New";
//
// toolStripSeparator1
//
toolStripSeparator1.Name = "toolStripSeparator1";
toolStripSeparator1.Size = new Size(145, 6);
//
// menuFileOpenDataFile
//
menuFileOpenDataFile.Name = "menuFileOpenDataFile";
menuFileOpenDataFile.Size = new Size(148, 22);
menuFileOpenDataFile.Text = "Open data file";
//
// menuFileSave
//
menuFileSave.Name = "menuFileSave";
menuFileSave.Size = new Size(148, 22);
menuFileSave.Text = "Save data file";
//
// toolStripSeparator2
//
toolStripSeparator2.Name = "toolStripSeparator2";
toolStripSeparator2.Size = new Size(145, 6);
//
// menuFileExit
//
menuFileExit.Name = "menuFileExit";
menuFileExit.Size = new Size(148, 22);
menuFileExit.Text = "Exit";
//
// menuHelp
//
menuHelp.DropDownItems.AddRange(new ToolStripItem[] { menuHelpAbout });
menuHelp.Name = "menuHelp";
menuHelp.Size = new Size(44, 20);
menuHelp.Text = "Help";
//
// menuHelpAbout
//
menuHelpAbout.Name = "menuHelpAbout";
menuHelpAbout.Size = new Size(107, 22);
menuHelpAbout.Text = "About";
//
// labelDateTime
//
labelDateTime.AutoSize = true;
labelDateTime.Location = new Point(10, 30);
labelDateTime.Name = "labelDateTime";
labelDateTime.Size = new Size(83, 15);
labelDateTime.TabIndex = 1;
labelDateTime.Text = "Date and Time";
//
// dateTimePicker
//
dateTimePicker.Location = new Point(99, 24);
dateTimePicker.Name = "dateTimePicker";
dateTimePicker.Size = new Size(200, 23);
dateTimePicker.TabIndex = 2;
//
// lblPriority
//
lblPriority.AutoSize = true;
lblPriority.Location = new Point(343, 30);
lblPriority.Name = "lblPriority";
lblPriority.Size = new Size(45, 15);
lblPriority.TabIndex = 3;
lblPriority.Text = "Priority";
//
// cmbPriority
//
cmbPriority.FormattingEnabled = true;
cmbPriority.Location = new Point(394, 24);
cmbPriority.Name = "cmbPriority";
cmbPriority.Size = new Size(121, 23);
cmbPriority.TabIndex = 4;
//
// lblToDo
//
lblToDo.AutoSize = true;
lblToDo.Location = new Point(10, 67);
lblToDo.Name = "lblToDo";
lblToDo.Size = new Size(36, 15);
lblToDo.TabIndex = 5;
lblToDo.Text = "To do";
//
// txtDescription
//
txtDescription.Location = new Point(99, 63);
txtDescription.Name = "txtDescription";
txtDescription.Size = new Size(593, 23);
txtDescription.TabIndex = 6;
//
// btnAdd
//
btnAdd.BackColor = Color.LightGreen;
btnAdd.ForeColor = Color.Black;
btnAdd.Location = new Point(698, 58);
btnAdd.Name = "btnAdd";
btnAdd.Size = new Size(90, 32);
btnAdd.TabIndex = 7;
btnAdd.Text = "Add";
btnAdd.UseVisualStyleBackColor = false;
//
// listViewTasks
//
listViewTasks.Columns.AddRange(new ColumnHeader[] { columnDate, columnTime, columnPriority, ColumnDescription });
listViewTasks.Location = new Point(12, 102);
listViewTasks.Name = "listViewTasks";
listViewTasks.Size = new Size(776, 282);
listViewTasks.TabIndex = 8;
listViewTasks.UseCompatibleStateImageBehavior = false;
//
// columnDate
//
columnDate.Text = "Date";
columnDate.Width = 100;
//
// columnTime
//
columnTime.Text = "Hour";
//
// columnPriority
//
columnPriority.Text = "Priority";
columnPriority.Width = 120;
//
// ColumnDescription
//
ColumnDescription.Text = "Description";
ColumnDescription.Width = 496;
//
// btnDelete
//
btnDelete.BackColor = Color.LightCoral;
btnDelete.ForeColor = Color.Black;
btnDelete.Location = new Point(394, 390);
btnDelete.Name = "btnDelete";
btnDelete.Size = new Size(99, 31);
btnDelete.TabIndex = 9;
btnDelete.Text = "Delete";
btnDelete.UseVisualStyleBackColor = false;
//
// btnChange
//
btnChange.BackColor = Color.LightGoldenrodYellow;
btnChange.ForeColor = Color.Black;
btnChange.Location = new Point(244, 390);
btnChange.Name = "btnChange";
btnChange.Size = new Size(102, 31);
btnChange.TabIndex = 10;
btnChange.Text = "Change";
btnChange.UseVisualStyleBackColor = false;
//
// MainForm
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(btnChange);
Controls.Add(btnDelete);
Controls.Add(listViewTasks);
Controls.Add(btnAdd);
Controls.Add(txtDescription);
Controls.Add(lblToDo);
Controls.Add(cmbPriority);
Controls.Add(lblPriority);
Controls.Add(dateTimePicker);
Controls.Add(labelDateTime);
Controls.Add(MenuMain);
MainMenuStrip = MenuMain;
Name = "MainForm";
Text = "s";
MenuMain.ResumeLayout(false);
MenuMain.PerformLayout();
ResumeLayout(false);
PerformLayout();
}
#endregion
private MenuStrip MenuMain;
private ToolStripMenuItem menuFile;
private ToolStripMenuItem menuFileNew;
private ToolStripSeparator toolStripSeparator1;
private ToolStripMenuItem menuFileOpenDataFile;
private ToolStripMenuItem menuFileSave;
private ToolStripSeparator toolStripSeparator2;
private ToolStripMenuItem menuFileExit;
private ToolStripMenuItem menuHelp;
private ToolStripMenuItem menuHelpAbout;
private Label labelDateTime;
private DateTimePicker dateTimePicker;
private Label lblPriority;
private ComboBox cmbPriority;
private Label lblToDo;
private TextBox txtDescription;
private Button btnAdd;
private ListView listViewTasks;
private ColumnHeader columnDate;
private ColumnHeader columnTime;
private ColumnHeader columnPriority;
private ColumnHeader ColumnDescription;
private Button btnDelete;
private Button btnChange;
private ToolTip toolTipDateTimePicker;
}
}