-
Notifications
You must be signed in to change notification settings - Fork 0
/
WindowMain.Designer.cs
240 lines (236 loc) · 9.82 KB
/
WindowMain.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
namespace OpenXR_Switcher
{
partial class WindowMain
{
/// <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(WindowMain));
toolTipActive = new ToolTip(components);
toolTipInactive = new ToolTip(components);
toolTipNotFound = new ToolTip(components);
toolTipRefresh = new ToolTip(components);
buttonRefresh = new Button();
toolTipEdit = new ToolTip(components);
toolTipReset = new ToolTip(components);
buttonReset = new Button();
tableLayoutPanel = new TableLayoutPanel();
flowRuntimes = new FlowLayoutPanel();
flowLayers = new FlowLayoutPanel();
panelEdit = new Panel();
labelEdit = new Label();
maskedTextBox = new MaskedTextBox();
buttonCancel = new Button();
buttonSave = new Button();
tableLayoutPanel.SuspendLayout();
panelEdit.SuspendLayout();
SuspendLayout();
//
// toolTipActive
//
toolTipActive.ToolTipIcon = ToolTipIcon.Info;
toolTipActive.ToolTipTitle = "Active";
//
// toolTipInactive
//
toolTipInactive.ToolTipIcon = ToolTipIcon.Info;
toolTipInactive.ToolTipTitle = "Inactive";
//
// toolTipNotFound
//
toolTipNotFound.ToolTipIcon = ToolTipIcon.Error;
toolTipNotFound.ToolTipTitle = "Disabled";
//
// buttonRefresh
//
buttonRefresh.Anchor = AnchorStyles.Top | AnchorStyles.Right;
buttonRefresh.AutoSize = true;
buttonRefresh.AutoSizeMode = AutoSizeMode.GrowAndShrink;
buttonRefresh.BackColor = Color.LightSkyBlue;
buttonRefresh.Cursor = Cursors.Help;
buttonRefresh.FlatAppearance.BorderColor = Color.RoyalBlue;
buttonRefresh.FlatAppearance.MouseDownBackColor = Color.DodgerBlue;
buttonRefresh.FlatStyle = FlatStyle.Flat;
buttonRefresh.Location = new Point(922, 6);
buttonRefresh.Name = "buttonRefresh";
buttonRefresh.Size = new Size(58, 27);
buttonRefresh.TabIndex = 0;
buttonRefresh.TabStop = false;
buttonRefresh.Text = "Refresh";
toolTipRefresh.SetToolTip(buttonRefresh, "Reload data from Registry!");
buttonRefresh.UseVisualStyleBackColor = false;
buttonRefresh.Click += buttonRefresh_Click;
//
// buttonReset
//
buttonReset.Location = new Point(343, 3);
buttonReset.Name = "buttonReset";
buttonReset.Size = new Size(60, 23);
buttonReset.TabIndex = 1003;
buttonReset.Text = "Reset";
toolTipReset.SetToolTip(buttonReset, "Change the display name back to its default");
buttonReset.UseVisualStyleBackColor = true;
buttonReset.Click += evtbuttonReset_Click;
//
// tableLayoutPanel
//
tableLayoutPanel.AutoSize = true;
tableLayoutPanel.ColumnCount = 2;
tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
tableLayoutPanel.Controls.Add(flowRuntimes, 0, 0);
tableLayoutPanel.Controls.Add(flowLayers, 1, 0);
tableLayoutPanel.Dock = DockStyle.Fill;
tableLayoutPanel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
tableLayoutPanel.Location = new Point(0, 0);
tableLayoutPanel.Name = "tableLayoutPanel";
tableLayoutPanel.RowCount = 1;
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
tableLayoutPanel.Size = new Size(1000, 500);
tableLayoutPanel.TabIndex = 0;
//
// flowRuntimes
//
flowRuntimes.AutoScroll = true;
flowRuntimes.Dock = DockStyle.Fill;
flowRuntimes.Location = new Point(3, 3);
flowRuntimes.Name = "flowRuntimes";
flowRuntimes.Size = new Size(494, 494);
flowRuntimes.TabIndex = 0;
//
// flowLayers
//
flowLayers.AutoScroll = true;
flowLayers.Dock = DockStyle.Fill;
flowLayers.Location = new Point(503, 3);
flowLayers.Name = "flowLayers";
flowLayers.Size = new Size(494, 494);
flowLayers.TabIndex = 1;
//
// panelEdit
//
panelEdit.AutoSize = true;
panelEdit.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelEdit.BackColor = SystemColors.Highlight;
panelEdit.BorderStyle = BorderStyle.FixedSingle;
panelEdit.CausesValidation = false;
panelEdit.Controls.Add(labelEdit);
panelEdit.Controls.Add(buttonReset);
panelEdit.Controls.Add(maskedTextBox);
panelEdit.Controls.Add(buttonCancel);
panelEdit.Controls.Add(buttonSave);
panelEdit.Location = new Point(148, 302);
panelEdit.Name = "panelEdit";
panelEdit.Padding = new Padding(5, 5, 2, 2);
panelEdit.Size = new Size(444, 63);
panelEdit.TabIndex = 1;
panelEdit.Visible = false;
//
// labelEdit
//
labelEdit.Dock = DockStyle.Top;
labelEdit.Enabled = false;
labelEdit.FlatStyle = FlatStyle.Flat;
labelEdit.Font = new Font("Segoe UI", 9.75F, FontStyle.Bold, GraphicsUnit.Point);
labelEdit.ForeColor = Color.White;
labelEdit.Location = new Point(5, 5);
labelEdit.Margin = new Padding(0);
labelEdit.Name = "labelEdit";
labelEdit.Size = new Size(435, 23);
labelEdit.TabIndex = 0;
labelEdit.Text = "Enter a new custom name:";
//
// maskedTextBox
//
maskedTextBox.Anchor = AnchorStyles.Left;
maskedTextBox.AsciiOnly = true;
maskedTextBox.Font = new Font("Segoe UI", 11.25F, FontStyle.Regular, GraphicsUnit.Point);
maskedTextBox.HidePromptOnLeave = true;
maskedTextBox.Location = new Point(5, 29);
maskedTextBox.Name = "maskedTextBox";
maskedTextBox.Size = new Size(300, 27);
maskedTextBox.TabIndex = 1000;
maskedTextBox.KeyDown += maskedTextBox_KeyDown;
//
// buttonCancel
//
buttonCancel.Location = new Point(377, 29);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(60, 27);
buttonCancel.TabIndex = 1002;
buttonCancel.Text = "Cancel";
buttonCancel.UseVisualStyleBackColor = true;
buttonCancel.Click += evtbuttonCancel_Click;
//
// buttonSave
//
buttonSave.Location = new Point(311, 29);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(60, 27);
buttonSave.TabIndex = 1001;
buttonSave.Text = "Save";
buttonSave.UseVisualStyleBackColor = true;
buttonSave.Click += evtbuttonSave_Click;
//
// WindowMain
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1000, 500);
Controls.Add(buttonRefresh);
Controls.Add(tableLayoutPanel);
Controls.Add(panelEdit);
Icon = (Icon)resources.GetObject("$this.Icon");
MinimumSize = new Size(800, 400);
Name = "WindowMain";
Text = "OpenXR Switcher";
FormClosing += WindowMain_Closing;
Load += WindowMain_Load;
Shown += WindowMain_Shown;
Resize += WindowMain_Resize;
tableLayoutPanel.ResumeLayout(false);
panelEdit.ResumeLayout(false);
panelEdit.PerformLayout();
ResumeLayout(false);
PerformLayout();
}
#endregion
public ToolTip toolTipActive;
public ToolTip toolTipInactive;
public ToolTip toolTipNotFound;
public ToolTip toolTipRefresh;
public ToolTip toolTipEdit;
public ToolTip toolTipReset;
public TableLayoutPanel tableLayoutPanel;
public FlowLayoutPanel flowRuntimes;
public FlowLayoutPanel flowLayers;
public Panel panelEdit;
public MaskedTextBox maskedTextBox;
public Button buttonRefresh;
public Button buttonSave;
private Button buttonCancel;
private Button buttonReset;
private System.Windows.Forms.Label labelEdit;
}
}