-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClock.Designer.cs
More file actions
258 lines (251 loc) · 10.7 KB
/
Clock.Designer.cs
File metadata and controls
258 lines (251 loc) · 10.7 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
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
namespace StreamStartingTimer
{
partial class Clock
{
/// <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();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Clock));
toolStrip1 = new ToolStrip();
btnStart = new ToolStripButton();
btnPause = new ToolStripButton();
btnReset = new ToolStripButton();
btnAdd30s = new ToolStripButton();
btnAdd60s = new ToolStripButton();
toolStripSeparator3 = new ToolStripSeparator();
btnEvents = new ToolStripButton();
toolStripSeparator1 = new ToolStripSeparator();
btnConfig = new ToolStripButton();
statusStrip1 = new StatusStrip();
lblVNyan = new ToolStripStatusLabel();
lblMixItUp = new ToolStripStatusLabel();
toolStripProgressBar1 = new ToolStripProgressBar();
lblNextEvent = new ToolStripStatusLabel();
lblCountdown = new Label();
timer1 = new System.Windows.Forms.Timer(components);
bindingSource1 = new BindingSource(components);
toolStrip1.SuspendLayout();
statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)bindingSource1).BeginInit();
SuspendLayout();
//
// toolStrip1
//
toolStrip1.GripStyle = ToolStripGripStyle.Hidden;
toolStrip1.Items.AddRange(new ToolStripItem[] { btnStart, btnPause, btnReset, btnAdd30s, btnAdd60s, toolStripSeparator3, btnEvents, toolStripSeparator1, btnConfig });
toolStrip1.Location = new Point(0, 0);
toolStrip1.Name = "toolStrip1";
toolStrip1.Size = new Size(794, 27);
toolStrip1.TabIndex = 0;
toolStrip1.Text = "toolStrip1";
//
// btnStart
//
btnStart.DisplayStyle = ToolStripItemDisplayStyle.Text;
btnStart.Font = new Font("Webdings", 11.25F, FontStyle.Regular, GraphicsUnit.Point, 2);
btnStart.Image = (Image)resources.GetObject("btnStart.Image");
btnStart.ImageTransparentColor = Color.Magenta;
btnStart.Name = "btnStart";
btnStart.Size = new Size(28, 24);
btnStart.Text = "4";
btnStart.ToolTipText = "Start the timer";
btnStart.Click += btnStart_Click;
//
// btnPause
//
btnPause.DisplayStyle = ToolStripItemDisplayStyle.Text;
btnPause.Enabled = false;
btnPause.Font = new Font("Webdings", 11.25F, FontStyle.Regular, GraphicsUnit.Point, 2);
btnPause.Image = (Image)resources.GetObject("btnPause.Image");
btnPause.ImageTransparentColor = Color.Magenta;
btnPause.Name = "btnPause";
btnPause.Size = new Size(28, 24);
btnPause.Text = ";";
btnPause.ToolTipText = "Pause the timer";
btnPause.Click += btnPause_Click;
//
// btnReset
//
btnReset.DisplayStyle = ToolStripItemDisplayStyle.Text;
btnReset.Enabled = false;
btnReset.Font = new Font("Webdings", 11.25F, FontStyle.Regular, GraphicsUnit.Point, 2);
btnReset.Image = (Image)resources.GetObject("btnReset.Image");
btnReset.ImageTransparentColor = Color.Magenta;
btnReset.Name = "btnReset";
btnReset.Size = new Size(28, 24);
btnReset.Text = "q";
btnReset.ToolTipText = "Reset timer enable editing";
btnReset.Click += btnReset_Click;
//
// btnAdd30s
//
btnAdd30s.DisplayStyle = ToolStripItemDisplayStyle.Text;
btnAdd30s.Enabled = false;
btnAdd30s.Image = (Image)resources.GetObject("btnAdd30s.Image");
btnAdd30s.ImageTransparentColor = Color.Magenta;
btnAdd30s.Name = "btnAdd30s";
btnAdd30s.Size = new Size(36, 24);
btnAdd30s.Text = "+30s";
btnAdd30s.ToolTipText = "Add 30 seconds to running timer";
btnAdd30s.Click += btnAdd30s_Click;
//
// btnAdd60s
//
btnAdd60s.DisplayStyle = ToolStripItemDisplayStyle.Text;
btnAdd60s.Enabled = false;
btnAdd60s.Image = (Image)resources.GetObject("btnAdd60s.Image");
btnAdd60s.ImageTransparentColor = Color.Magenta;
btnAdd60s.Name = "btnAdd60s";
btnAdd60s.Size = new Size(36, 24);
btnAdd60s.Text = "+1m";
btnAdd60s.ToolTipText = "Add 1 minute to running timer";
btnAdd60s.Click += btnAdd60s_Click;
//
// toolStripSeparator3
//
toolStripSeparator3.Name = "toolStripSeparator3";
toolStripSeparator3.Size = new Size(6, 27);
//
// btnEvents
//
btnEvents.BackColor = SystemColors.Control;
btnEvents.DisplayStyle = ToolStripItemDisplayStyle.Text;
btnEvents.Image = (Image)resources.GetObject("btnEvents.Image");
btnEvents.ImageTransparentColor = Color.Magenta;
btnEvents.Name = "btnEvents";
btnEvents.Size = new Size(68, 24);
btnEvents.Text = "Edit Events";
btnEvents.ToolTipText = "Open the event editor";
btnEvents.Click += btnEvents_Click;
//
// toolStripSeparator1
//
toolStripSeparator1.Name = "toolStripSeparator1";
toolStripSeparator1.Size = new Size(6, 27);
//
// btnConfig
//
btnConfig.DisplayStyle = ToolStripItemDisplayStyle.Text;
btnConfig.Image = (Image)resources.GetObject("btnConfig.Image");
btnConfig.ImageTransparentColor = Color.Magenta;
btnConfig.Name = "btnConfig";
btnConfig.Size = new Size(47, 24);
btnConfig.Text = "Config";
btnConfig.Click += btnConfig_Click;
//
// statusStrip1
//
statusStrip1.Items.AddRange(new ToolStripItem[] { lblVNyan, lblMixItUp, toolStripProgressBar1, lblNextEvent });
statusStrip1.Location = new Point(0, 392);
statusStrip1.Name = "statusStrip1";
statusStrip1.Size = new Size(794, 22);
statusStrip1.TabIndex = 1;
statusStrip1.Text = "statusStrip1";
//
// lblVNyan
//
lblVNyan.Name = "lblVNyan";
lblVNyan.Size = new Size(42, 17);
lblVNyan.Text = "VNyan";
//
// lblMixItUp
//
lblMixItUp.Name = "lblMixItUp";
lblMixItUp.Size = new Size(49, 17);
lblMixItUp.Text = "MixItUp";
//
// toolStripProgressBar1
//
toolStripProgressBar1.Name = "toolStripProgressBar1";
toolStripProgressBar1.Size = new Size(100, 16);
toolStripProgressBar1.Style = ProgressBarStyle.Continuous;
toolStripProgressBar1.Value = 50;
//
// lblNextEvent
//
lblNextEvent.Name = "lblNextEvent";
lblNextEvent.Size = new Size(12, 17);
lblNextEvent.Text = "-";
//
// lblCountdown
//
lblCountdown.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
lblCountdown.BackColor = Color.Lime;
lblCountdown.Font = new Font("Arial", 72F, FontStyle.Bold, GraphicsUnit.Point, 0);
lblCountdown.Location = new Point(0, 25);
lblCountdown.Name = "lblCountdown";
lblCountdown.Size = new Size(794, 367);
lblCountdown.TabIndex = 2;
lblCountdown.Text = "00:00";
lblCountdown.TextAlign = ContentAlignment.MiddleCenter;
//
// timer1
//
timer1.Interval = 1000;
timer1.Tick += timer1_Tick;
//
// Clock
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(794, 414);
Controls.Add(lblCountdown);
Controls.Add(statusStrip1);
Controls.Add(toolStrip1);
Icon = (Icon)resources.GetObject("$this.Icon");
MaximizeBox = false;
Name = "Clock";
Text = "Stream Startup Timer";
FormClosing += Clock_FormClosing;
Load += Clock_Load;
Shown += Clock_Shown;
toolStrip1.ResumeLayout(false);
toolStrip1.PerformLayout();
statusStrip1.ResumeLayout(false);
statusStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)bindingSource1).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private ToolStrip toolStrip1;
private StatusStrip statusStrip1;
private Label lblCountdown;
private MaskedTextBox maskedTextBox1;
private System.Windows.Forms.Timer timer1;
private ToolStripButton btnEvents;
private ToolStripSeparator toolStripSeparator3;
private ToolStripProgressBar toolStripProgressBar1;
private ToolStripStatusLabel lblNextEvent;
private ToolStripButton btnStart;
private ToolStripButton btnPause;
private ToolStripButton btnReset;
private ToolStripButton btnAdd30s;
private ToolStripButton btnAdd60s;
private ToolStripStatusLabel lblVNyan;
private ToolStripStatusLabel lblMixItUp;
private ToolStripButton btnConfig;
private ToolStripSeparator toolStripSeparator1;
private BindingSource bindingSource1;
}
}