-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathForm1.Designer.cs
More file actions
173 lines (167 loc) · 6.62 KB
/
Form1.Designer.cs
File metadata and controls
173 lines (167 loc) · 6.62 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
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
namespace ThingsToDoPRO
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.Timer dueDateTimer;
private System.Windows.Forms.NotifyIcon notifyIcon1;
private DateTimePicker addDueTime; // Add this to your variables
/// <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();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
textBox1 = new TextBox();
addTask = new Button();
clearButton = new Button();
taskList = new ListView();
deleteSelected = new Button();
changeBackground = new Button();
openFileDialog1 = new OpenFileDialog();
addDueDate = new DateTimePicker();
dueDateTimer = new System.Windows.Forms.Timer(components);
notifyIcon1 = new NotifyIcon(components);
addDueTime = new DateTimePicker();
SuspendLayout();
//
// textBox1
//
textBox1.Location = new Point(12, 12);
textBox1.Name = "textBox1";
textBox1.Size = new Size(258, 23);
textBox1.TabIndex = 0;
textBox1.TextChanged += textBox1_TextChanged;
textBox1.KeyDown += textBox1_KeyDown;
//
// addTask
//
addTask.Location = new Point(436, 14);
addTask.Name = "addTask";
addTask.Size = new Size(75, 23);
addTask.TabIndex = 1;
addTask.Text = "Add Task";
addTask.UseVisualStyleBackColor = true;
addTask.Click += button1_Click;
//
// clearButton
//
clearButton.Location = new Point(12, 397);
clearButton.Name = "clearButton";
clearButton.Size = new Size(75, 23);
clearButton.TabIndex = 2;
clearButton.Text = "Clear All";
clearButton.UseVisualStyleBackColor = true;
clearButton.Click += clearButton_Click;
//
// taskList
//
taskList.CheckBoxes = true;
taskList.Location = new Point(12, 41);
taskList.Name = "taskList";
taskList.Size = new Size(499, 350);
taskList.TabIndex = 3;
taskList.UseCompatibleStateImageBehavior = false;
taskList.View = View.List;
taskList.SelectedIndexChanged += taskList_SelectedIndexChanged;
taskList.KeyDown += listView1_KeyDown;
//
// deleteSelected
//
deleteSelected.Location = new Point(93, 397);
deleteSelected.Name = "deleteSelected";
deleteSelected.Size = new Size(95, 23);
deleteSelected.TabIndex = 4;
deleteSelected.Text = "Delete Task";
deleteSelected.UseVisualStyleBackColor = true;
deleteSelected.Click += deleteSelected_Click;
//
// changeBackground
//
changeBackground.Location = new Point(388, 397);
changeBackground.Name = "changeBackground";
changeBackground.Size = new Size(123, 23);
changeBackground.TabIndex = 5;
changeBackground.Text = "Change Background";
changeBackground.UseVisualStyleBackColor = true;
changeBackground.Click += changeBackground_Click;
//
// openFileDialog1
//
openFileDialog1.FileName = "openFileDialog1";
//
// addDueDate
//
addDueDate.Location = new Point(276, 12);
addDueDate.Name = "addDueDate";
addDueDate.Size = new Size(89, 23);
addDueDate.TabIndex = 6;
//
// dueDateTimer
//
dueDateTimer.Interval = 60000;
dueDateTimer.Tick += CheckDueTasks;
//
// notifyIcon1
//
notifyIcon1.Icon = (Icon)resources.GetObject("notifyIcon1.Icon");
notifyIcon1.Visible = true;
//
// addDueTime
//
addDueTime.Format = DateTimePickerFormat.Time;
addDueTime.Location = new Point(371, 14);
addDueTime.Name = "addDueTime";
addDueTime.ShowUpDown = true;
addDueTime.Size = new Size(59, 23);
addDueTime.TabIndex = 7;
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(523, 432);
Controls.Add(addDueTime);
Controls.Add(addDueDate);
Controls.Add(changeBackground);
Controls.Add(deleteSelected);
Controls.Add(taskList);
Controls.Add(clearButton);
Controls.Add(addTask);
Controls.Add(textBox1);
Icon = (Icon)resources.GetObject("$this.Icon");
Name = "Form1";
Text = "ThingsToDoPRO";
FormClosing += Form1_FormClosing;
ResumeLayout(false);
PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button addTask;
private System.Windows.Forms.Button clearButton;
private System.Windows.Forms.ListView taskList;
private System.Windows.Forms.Button deleteSelected;
private System.Windows.Forms.Button changeBackground;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private DateTimePicker addDueDate;
}
}