forked from easimon/Caffeinated
-
Notifications
You must be signed in to change notification settings - Fork 1
/
SettingsForm.Designer.cs
229 lines (222 loc) · 12 KB
/
SettingsForm.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
using System;
namespace Caffeinated {
partial class SettingsForm {
/// <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() {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingsForm));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.DefaultDurationBox = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.StartupChkBox = new System.Windows.Forms.CheckBox();
this.okBtn = new System.Windows.Forms.Button();
this.cancelBtn = new System.Windows.Forms.Button();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.autoAppsTextBox = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.monitorOnChkBox = new System.Windows.Forms.CheckBox();
this.SettingsAtLaunchChkBox = new System.Windows.Forms.CheckBox();
this.ActivateChkBox = new System.Windows.Forms.CheckBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(127, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(317, 67);
this.label1.TabIndex = 0;
this.label1.Text = "Caffeinated is now running. You can find its icon in the notification area near t" +
"he clock. Click it to keep your PC awake by disabling automatic sleep. Click the" +
" icon again to allow automatic sleep.";
//
// label2
//
this.label2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(127, 79);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(317, 41);
this.label2.TabIndex = 1;
this.label2.Text = "Right-click the notification area icon to show the Caffeinated menu.";
//
// DefaultDurationBox
//
this.DefaultDurationBox.FormattingEnabled = true;
this.DefaultDurationBox.Location = new System.Drawing.Point(229, 304);
this.DefaultDurationBox.Name = "DefaultDurationBox";
this.DefaultDurationBox.Size = new System.Drawing.Size(215, 23);
this.DefaultDurationBox.TabIndex = 8;
this.DefaultDurationBox.SelectedIndexChanged += new System.EventHandler(this.DefaultDurationBox_SelectedIndexChanged);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(127, 307);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(96, 15);
this.label3.TabIndex = 6;
this.label3.Text = "Default duration:";
//
// StartupChkBox
//
this.StartupChkBox.AutoSize = true;
this.StartupChkBox.Location = new System.Drawing.Point(130, 119);
this.StartupChkBox.Name = "StartupChkBox";
this.StartupChkBox.Size = new System.Drawing.Size(244, 19);
this.StartupChkBox.TabIndex = 2;
this.StartupChkBox.Text = "Automatically launch at Windows startup";
this.StartupChkBox.UseVisualStyleBackColor = true;
this.StartupChkBox.CheckedChanged += new System.EventHandler(this.StartupChkBox_CheckedChanged);
//
// okBtn
//
this.okBtn.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.okBtn.Location = new System.Drawing.Point(263, 333);
this.okBtn.Name = "okBtn";
this.okBtn.Size = new System.Drawing.Size(87, 27);
this.okBtn.TabIndex = 100;
this.okBtn.Text = "Ok";
this.okBtn.UseVisualStyleBackColor = true;
this.okBtn.Click += new System.EventHandler(this.okBtn_Click);
//
// cancelBtn
//
this.cancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancelBtn.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cancelBtn.Location = new System.Drawing.Point(357, 333);
this.cancelBtn.Name = "cancelBtn";
this.cancelBtn.Size = new System.Drawing.Size(87, 27);
this.cancelBtn.TabIndex = 101;
this.cancelBtn.Text = "Cancel";
this.cancelBtn.UseVisualStyleBackColor = true;
this.cancelBtn.Click += new System.EventHandler(this.cancelBtn_Click);
//
// pictureBox1
//
this.pictureBox1.Image = global::Caffeinated.Properties.Resources.cup_coffee_icon_96;
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(96, 96);
this.pictureBox1.TabIndex = 10;
this.pictureBox1.TabStop = false;
//
// autoAppsTextBox
//
this.autoAppsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::Caffeinated.Properties.Settings.Default, "AutoAppList", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.autoAppsTextBox.Location = new System.Drawing.Point(229, 245);
this.autoAppsTextBox.Multiline = true;
this.autoAppsTextBox.Name = "autoAppsTextBox";
this.autoAppsTextBox.Size = new System.Drawing.Size(215, 53);
this.autoAppsTextBox.TabIndex = 7;
this.autoAppsTextBox.Text = global::Caffeinated.Properties.Settings.Default.AutoAppList;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(127, 248);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(101, 15);
this.label4.TabIndex = 14;
this.label4.Text = "Auto App Names:";
//
// monitorOnChkBox
//
this.monitorOnChkBox.AutoSize = true;
this.monitorOnChkBox.Checked = global::Caffeinated.Properties.Settings.Default.KeepMonitorOn;
this.monitorOnChkBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.monitorOnChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::Caffeinated.Properties.Settings.Default, "KeepMonitorOn", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.monitorOnChkBox.Location = new System.Drawing.Point(130, 169);
this.monitorOnChkBox.Name = "monitorOnChkBox";
this.monitorOnChkBox.Size = new System.Drawing.Size(115, 19);
this.monitorOnChkBox.TabIndex = 4;
this.monitorOnChkBox.Text = "Keep monitor on";
this.monitorOnChkBox.UseVisualStyleBackColor = true;
//
// SettingsAtLaunchChkBox
//
this.SettingsAtLaunchChkBox.AutoSize = true;
this.SettingsAtLaunchChkBox.Checked = global::Caffeinated.Properties.Settings.Default.ShowSettingsAtLaunch;
this.SettingsAtLaunchChkBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.SettingsAtLaunchChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::Caffeinated.Properties.Settings.Default, "ShowSettingsAtLaunch", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.SettingsAtLaunchChkBox.Location = new System.Drawing.Point(130, 194);
this.SettingsAtLaunchChkBox.Name = "SettingsAtLaunchChkBox";
this.SettingsAtLaunchChkBox.Size = new System.Drawing.Size(196, 19);
this.SettingsAtLaunchChkBox.TabIndex = 5;
this.SettingsAtLaunchChkBox.Text = "Show this message upon launch";
this.SettingsAtLaunchChkBox.UseVisualStyleBackColor = true;
//
// ActivateChkBox
//
this.ActivateChkBox.AutoSize = true;
this.ActivateChkBox.Checked = global::Caffeinated.Properties.Settings.Default.ActivateAtLaunch;
this.ActivateChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::Caffeinated.Properties.Settings.Default, "ActivateAtLaunch", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.ActivateChkBox.Location = new System.Drawing.Point(130, 144);
this.ActivateChkBox.Name = "ActivateChkBox";
this.ActivateChkBox.Size = new System.Drawing.Size(139, 19);
this.ActivateChkBox.TabIndex = 3;
this.ActivateChkBox.Text = "Activate upon launch";
this.ActivateChkBox.UseVisualStyleBackColor = true;
//
// SettingsForm
//
this.AcceptButton = this.okBtn;
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.cancelBtn;
this.ClientSize = new System.Drawing.Size(456, 374);
this.Controls.Add(this.label4);
this.Controls.Add(this.autoAppsTextBox);
this.Controls.Add(this.monitorOnChkBox);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.cancelBtn);
this.Controls.Add(this.okBtn);
this.Controls.Add(this.label3);
this.Controls.Add(this.DefaultDurationBox);
this.Controls.Add(this.SettingsAtLaunchChkBox);
this.Controls.Add(this.ActivateChkBox);
this.Controls.Add(this.StartupChkBox);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "SettingsForm";
this.Text = "Welcome to Caffeinated";
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.CheckBox StartupChkBox;
private System.Windows.Forms.CheckBox ActivateChkBox;
private System.Windows.Forms.CheckBox SettingsAtLaunchChkBox;
private System.Windows.Forms.ComboBox DefaultDurationBox;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button okBtn;
private System.Windows.Forms.Button cancelBtn;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.CheckBox monitorOnChkBox;
private System.Windows.Forms.TextBox autoAppsTextBox;
private System.Windows.Forms.Label label4;
}
}