-
Notifications
You must be signed in to change notification settings - Fork 0
/
SearchForm.Designer.cs
424 lines (420 loc) · 18.1 KB
/
SearchForm.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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
namespace Planetoid_DB
{
partial class SearchForm
{
/// <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(SearchForm));
checkedListBox = new Krypton.Toolkit.KryptonCheckedListBox();
panel = new Krypton.Toolkit.KryptonPanel();
listView = new ListView();
columnHeaderIndex = new ColumnHeader();
columnHeaderProperty = new ColumnHeader();
columnHeaderValue = new ColumnHeader();
buttonCancel = new Krypton.Toolkit.KryptonButton();
statusStrip = new Krypton.Toolkit.KryptonStatusStrip();
labelInformation = new ToolStripStatusLabel();
labelEntriesFound = new Krypton.Toolkit.KryptonLabel();
progressBar = new Krypton.Toolkit.KryptonProgressBar();
groupBox = new Krypton.Toolkit.KryptonGroupBox();
buttonClear = new Krypton.Toolkit.KryptonButton();
textBox = new Krypton.Toolkit.KryptonTextBox();
buttonOpen = new Krypton.Toolkit.KryptonButton();
buttonUnmarkAll = new Krypton.Toolkit.KryptonButton();
buttonMarkAll = new Krypton.Toolkit.KryptonButton();
buttonSearch = new Krypton.Toolkit.KryptonButton();
toolTip = new ToolTip(components);
backgroundWorker = new System.ComponentModel.BackgroundWorker();
((System.ComponentModel.ISupportInitialize)panel).BeginInit();
panel.SuspendLayout();
statusStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)groupBox).BeginInit();
((System.ComponentModel.ISupportInitialize)groupBox.Panel).BeginInit();
groupBox.Panel.SuspendLayout();
SuspendLayout();
//
// checkedListBox
//
checkedListBox.AccessibleDescription = "Box with selectable orbital elements to search";
checkedListBox.AccessibleName = "Box with selectable orbital elements";
checkedListBox.AccessibleRole = AccessibleRole.CheckButton;
checkedListBox.BackStyle = Krypton.Toolkit.PaletteBackStyle.ControlRibbon;
checkedListBox.CheckOnClick = true;
checkedListBox.Items.AddRange(new object[] { "Index No.", "Readable designation", "Epoch (in packed form, .0 TT)", "Mean anomaly at the epoch (°)", "Argument of perihelion, J2000.0 (°)", "Longitude of the ascending node, J2000.0 (°)", "Inclination to the ecliptic, J2000.0 (°)", "Orbital eccentricity", "Mean daily motion (°/day)", "Semi-major axis (AU)", "Absolute magnitude, H", "Slope parameter, G", "Reference", "Number of oppositions", "Number of observations", "Observation span", "r.m.s. residual (\")", "Computer name", "4-hexdigit flags", "Date of last observation (YYYMMDD)" });
checkedListBox.Location = new Point(4, 74);
checkedListBox.Margin = new Padding(4, 3, 4, 3);
checkedListBox.Name = "checkedListBox";
checkedListBox.Size = new Size(266, 194);
checkedListBox.TabIndex = 1;
toolTip.SetToolTip(checkedListBox, "Box with selectable orbital elements");
checkedListBox.Enter += SetStatusbar_Enter;
checkedListBox.Leave += ClearStatusbar_Leave;
checkedListBox.MouseEnter += SetStatusbar_Enter;
checkedListBox.MouseLeave += ClearStatusbar_Leave;
//
// panel
//
panel.AccessibleDescription = "Panel of the search form";
panel.AccessibleName = "Panel of the search form";
panel.AccessibleRole = AccessibleRole.Pane;
panel.Controls.Add(listView);
panel.Controls.Add(buttonCancel);
panel.Controls.Add(statusStrip);
panel.Controls.Add(labelEntriesFound);
panel.Controls.Add(progressBar);
panel.Controls.Add(groupBox);
panel.Controls.Add(buttonOpen);
panel.Controls.Add(buttonUnmarkAll);
panel.Controls.Add(buttonMarkAll);
panel.Controls.Add(buttonSearch);
panel.Controls.Add(checkedListBox);
panel.Dock = DockStyle.Fill;
panel.Location = new Point(0, 0);
panel.Margin = new Padding(4, 3, 4, 3);
panel.Name = "panel";
panel.PanelBackStyle = Krypton.Toolkit.PaletteBackStyle.FormMain;
panel.Size = new Size(387, 525);
panel.TabIndex = 0;
//
// listView
//
listView.AccessibleDescription = "Shows the search results";
listView.AccessibleName = "Search results";
listView.Columns.AddRange(new ColumnHeader[] { columnHeaderIndex, columnHeaderProperty, columnHeaderValue });
listView.FullRowSelect = true;
listView.GridLines = true;
listView.Location = new Point(4, 300);
listView.Name = "listView";
listView.ShowItemToolTips = true;
listView.Size = new Size(377, 200);
listView.TabIndex = 9;
toolTip.SetToolTip(listView, "Shows the search results");
listView.UseCompatibleStateImageBehavior = false;
listView.View = View.Details;
listView.Enter += SetStatusbar_Enter;
listView.Leave += ClearStatusbar_Leave;
listView.MouseEnter += SetStatusbar_Enter;
listView.MouseLeave += ClearStatusbar_Leave;
//
// columnHeaderIndex
//
columnHeaderIndex.Text = "Index";
//
// columnHeaderProperty
//
columnHeaderProperty.Text = "Property";
columnHeaderProperty.Width = 180;
//
// columnHeaderValue
//
columnHeaderValue.Text = "Value";
columnHeaderValue.Width = 120;
//
// buttonCancel
//
buttonCancel.AccessibleDescription = "Cancels the search";
buttonCancel.AccessibleName = "Cancel";
buttonCancel.AccessibleRole = AccessibleRole.PushButton;
buttonCancel.Location = new Point(276, 180);
buttonCancel.Margin = new Padding(4, 3, 4, 3);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(105, 29);
buttonCancel.TabIndex = 5;
toolTip.SetToolTip(buttonCancel, "Cancel");
buttonCancel.Values.Image = Properties.Resources.silk_cancel;
buttonCancel.Values.Text = "&Cancel";
buttonCancel.Click += ButtonCancel_Click;
buttonCancel.Enter += SetStatusbar_Enter;
buttonCancel.Leave += ClearStatusbar_Leave;
buttonCancel.MouseEnter += SetStatusbar_Enter;
buttonCancel.MouseLeave += ClearStatusbar_Leave;
//
// statusStrip
//
statusStrip.AccessibleDescription = "Shows some information";
statusStrip.AccessibleName = "Status bar of some information";
statusStrip.AccessibleRole = AccessibleRole.StatusBar;
statusStrip.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
statusStrip.Items.AddRange(new ToolStripItem[] { labelInformation });
statusStrip.Location = new Point(0, 503);
statusStrip.Name = "statusStrip";
statusStrip.Padding = new Padding(1, 0, 16, 0);
statusStrip.ProgressBars = null;
statusStrip.RenderMode = ToolStripRenderMode.ManagerRenderMode;
statusStrip.Size = new Size(387, 22);
statusStrip.SizingGrip = false;
statusStrip.TabIndex = 10;
statusStrip.Text = "status bar";
//
// labelInformation
//
labelInformation.AccessibleDescription = "Shows some information";
labelInformation.AccessibleName = "Shows some information";
labelInformation.AccessibleRole = AccessibleRole.StaticText;
labelInformation.AutoToolTip = true;
labelInformation.Image = Properties.Resources.silk_lightbulb;
labelInformation.Margin = new Padding(5, 3, 0, 2);
labelInformation.Name = "labelInformation";
labelInformation.Size = new Size(144, 17);
labelInformation.Text = "some information here";
labelInformation.ToolTipText = "Show some information";
//
// labelEntriesFound
//
labelEntriesFound.AccessibleDescription = "Shows the found entries";
labelEntriesFound.AccessibleName = "Found entries";
labelEntriesFound.AccessibleRole = AccessibleRole.StaticText;
labelEntriesFound.Location = new Point(255, 274);
labelEntriesFound.Margin = new Padding(4, 3, 4, 3);
labelEntriesFound.Name = "labelEntriesFound";
labelEntriesFound.RightToLeft = RightToLeft.No;
labelEntriesFound.Size = new Size(93, 20);
labelEntriesFound.TabIndex = 8;
toolTip.SetToolTip(labelEntriesFound, "Shows the found entries");
labelEntriesFound.Values.Text = "0 entries found";
labelEntriesFound.Enter += SetStatusbar_Enter;
labelEntriesFound.Leave += ClearStatusbar_Leave;
labelEntriesFound.MouseEnter += SetStatusbar_Enter;
labelEntriesFound.MouseLeave += ClearStatusbar_Leave;
//
// progressBar
//
progressBar.AccessibleDescription = "Shows the progress status of the search";
progressBar.AccessibleName = "Progress bar";
progressBar.AccessibleRole = AccessibleRole.ProgressBar;
progressBar.Location = new Point(4, 274);
progressBar.Margin = new Padding(4, 3, 4, 3);
progressBar.Name = "progressBar";
progressBar.Size = new Size(243, 20);
progressBar.TabIndex = 7;
toolTip.SetToolTip(progressBar, "Shows the progress status of the search");
progressBar.Values.Text = "";
progressBar.MouseEnter += SetStatusbar_Enter;
progressBar.MouseLeave += ClearStatusbar_Leave;
//
// groupBox
//
groupBox.AccessibleDescription = "Groups the search element";
groupBox.AccessibleName = "Group the search element";
groupBox.AccessibleRole = AccessibleRole.Grouping;
groupBox.Location = new Point(4, 3);
groupBox.Margin = new Padding(4, 3, 4, 3);
groupBox.Name = "groupBox";
//
//
//
groupBox.Panel.AccessibleDescription = "Groups the search element";
groupBox.Panel.AccessibleName = "Group the search element";
groupBox.Panel.AccessibleRole = AccessibleRole.Grouping;
groupBox.Panel.AutoScroll = true;
groupBox.Panel.Controls.Add(buttonClear);
groupBox.Panel.Controls.Add(textBox);
groupBox.Size = new Size(378, 63);
groupBox.TabIndex = 0;
toolTip.SetToolTip(groupBox, "Group the search element");
groupBox.Values.Heading = "Word, number, keyword, ...";
groupBox.Values.Image = Properties.Resources.silk_pencil;
groupBox.Enter += SetStatusbar_Enter;
groupBox.Leave += ClearStatusbar_Leave;
groupBox.MouseEnter += SetStatusbar_Enter;
groupBox.MouseLeave += ClearStatusbar_Leave;
//
// buttonClear
//
buttonClear.AccessibleDescription = "Clears the search box";
buttonClear.AccessibleName = "Clear the search box";
buttonClear.AccessibleRole = AccessibleRole.PushButton;
buttonClear.ButtonStyle = Krypton.Toolkit.ButtonStyle.Form;
buttonClear.Location = new Point(300, 5);
buttonClear.Margin = new Padding(4, 3, 4, 3);
buttonClear.Name = "buttonClear";
buttonClear.Size = new Size(68, 25);
buttonClear.TabIndex = 1;
toolTip.SetToolTip(buttonClear, "Clear the search box");
buttonClear.Values.Image = Properties.Resources.silk_cross;
buttonClear.Values.Text = "&Clear";
buttonClear.Click += ButtonClear_Click;
buttonClear.Enter += SetStatusbar_Enter;
buttonClear.Leave += ClearStatusbar_Leave;
buttonClear.MouseEnter += SetStatusbar_Enter;
buttonClear.MouseLeave += ClearStatusbar_Leave;
//
// textBox
//
textBox.AccessibleDescription = "Shows the search box to input some key words";
textBox.AccessibleName = "Search box";
textBox.AccessibleRole = AccessibleRole.Text;
textBox.Location = new Point(5, 5);
textBox.Margin = new Padding(4, 3, 4, 3);
textBox.Name = "textBox";
textBox.Size = new Size(288, 23);
textBox.TabIndex = 0;
toolTip.SetToolTip(textBox, "Search box");
textBox.TextChanged += TextBox_TextChanged;
textBox.Enter += SetStatusbar_Enter;
textBox.Leave += ClearStatusbar_Leave;
textBox.MouseEnter += SetStatusbar_Enter;
textBox.MouseLeave += ClearStatusbar_Leave;
//
// buttonOpen
//
buttonOpen.AccessibleDescription = "Opens the selected result item";
buttonOpen.AccessibleName = "Open the selected result item";
buttonOpen.AccessibleRole = AccessibleRole.PushButton;
buttonOpen.Location = new Point(276, 239);
buttonOpen.Margin = new Padding(4, 3, 4, 3);
buttonOpen.Name = "buttonOpen";
buttonOpen.Size = new Size(105, 29);
buttonOpen.TabIndex = 6;
toolTip.SetToolTip(buttonOpen, "Open the selected result item");
buttonOpen.Values.Image = Properties.Resources.silk_go;
buttonOpen.Values.Text = "&Open";
buttonOpen.Click += ButtonOpen_Click;
buttonOpen.Enter += SetStatusbar_Enter;
buttonOpen.Leave += ClearStatusbar_Leave;
buttonOpen.MouseEnter += SetStatusbar_Enter;
buttonOpen.MouseLeave += ClearStatusbar_Leave;
//
// buttonUnmarkAll
//
buttonUnmarkAll.AccessibleDescription = "Umarks all orbital elements";
buttonUnmarkAll.AccessibleName = "Umark all orbital elements";
buttonUnmarkAll.AccessibleRole = AccessibleRole.PushButton;
buttonUnmarkAll.ButtonStyle = Krypton.Toolkit.ButtonStyle.Form;
buttonUnmarkAll.Location = new Point(276, 110);
buttonUnmarkAll.Margin = new Padding(4, 3, 4, 3);
buttonUnmarkAll.Name = "buttonUnmarkAll";
buttonUnmarkAll.Size = new Size(105, 29);
buttonUnmarkAll.TabIndex = 3;
toolTip.SetToolTip(buttonUnmarkAll, "Umark all orbital elements");
buttonUnmarkAll.Values.Text = "&Unmark all";
buttonUnmarkAll.Click += ButtonUnmarkAll_Click;
buttonUnmarkAll.Enter += SetStatusbar_Enter;
buttonUnmarkAll.Leave += ClearStatusbar_Leave;
buttonUnmarkAll.MouseEnter += SetStatusbar_Enter;
buttonUnmarkAll.MouseLeave += ClearStatusbar_Leave;
//
// buttonMarkAll
//
buttonMarkAll.AccessibleDescription = "Marks all orbital elements to search";
buttonMarkAll.AccessibleName = "Mark all orbital elements";
buttonMarkAll.AccessibleRole = AccessibleRole.PushButton;
buttonMarkAll.ButtonStyle = Krypton.Toolkit.ButtonStyle.Form;
buttonMarkAll.Location = new Point(276, 74);
buttonMarkAll.Margin = new Padding(4, 3, 4, 3);
buttonMarkAll.Name = "buttonMarkAll";
buttonMarkAll.Size = new Size(105, 29);
buttonMarkAll.TabIndex = 2;
toolTip.SetToolTip(buttonMarkAll, "Mark all orbital elements");
buttonMarkAll.Values.Image = Properties.Resources.silk_asterisk_orange;
buttonMarkAll.Values.Text = "&Mark all";
buttonMarkAll.Click += ButtonMarkAll_Click;
buttonMarkAll.Enter += SetStatusbar_Enter;
buttonMarkAll.Leave += ClearStatusbar_Leave;
buttonMarkAll.MouseEnter += SetStatusbar_Enter;
buttonMarkAll.MouseLeave += ClearStatusbar_Leave;
//
// buttonSearch
//
buttonSearch.AccessibleDescription = "Searchs the keyword";
buttonSearch.AccessibleName = "Search";
buttonSearch.AccessibleRole = AccessibleRole.PushButton;
buttonSearch.Location = new Point(276, 145);
buttonSearch.Margin = new Padding(4, 3, 4, 3);
buttonSearch.Name = "buttonSearch";
buttonSearch.Size = new Size(105, 29);
buttonSearch.TabIndex = 4;
toolTip.SetToolTip(buttonSearch, "Search");
buttonSearch.Values.Image = Properties.Resources.silk_magnifier;
buttonSearch.Values.Text = "&Search";
buttonSearch.Click += ButtonSearch_Click;
buttonSearch.Enter += SetStatusbar_Enter;
buttonSearch.Leave += ClearStatusbar_Leave;
buttonSearch.MouseEnter += SetStatusbar_Enter;
buttonSearch.MouseLeave += ClearStatusbar_Leave;
//
// backgroundWorker
//
backgroundWorker.WorkerReportsProgress = true;
backgroundWorker.WorkerSupportsCancellation = true;
backgroundWorker.DoWork += BackgroundWorker_DoWork;
backgroundWorker.ProgressChanged += BackgroundWorker_ProgressChanged;
backgroundWorker.RunWorkerCompleted += BackgroundWorker_RunWorkerCompleted;
//
// SearchForm
//
AccessibleDescription = "Dialog to search a word, a keyword or a number";
AccessibleName = "Search";
AccessibleRole = AccessibleRole.Dialog;
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(387, 525);
Controls.Add(panel);
FormBorderStyle = FormBorderStyle.FixedToolWindow;
Icon = (Icon)resources.GetObject("$this.Icon");
Margin = new Padding(4, 3, 4, 3);
MaximizeBox = false;
MinimizeBox = false;
Name = "SearchForm";
ShowInTaskbar = false;
StartPosition = FormStartPosition.CenterParent;
Text = "Search";
toolTip.SetToolTip(this, "Search");
FormClosed += SearchForm_FormClosed;
Load += SearchForm_Load;
((System.ComponentModel.ISupportInitialize)panel).EndInit();
panel.ResumeLayout(false);
panel.PerformLayout();
statusStrip.ResumeLayout(false);
statusStrip.PerformLayout();
((System.ComponentModel.ISupportInitialize)groupBox.Panel).EndInit();
groupBox.Panel.ResumeLayout(false);
groupBox.Panel.PerformLayout();
((System.ComponentModel.ISupportInitialize)groupBox).EndInit();
ResumeLayout(false);
}
#endregion
private Krypton.Toolkit.KryptonCheckedListBox checkedListBox;
private Krypton.Toolkit.KryptonPanel panel;
private Krypton.Toolkit.KryptonButton buttonUnmarkAll;
private Krypton.Toolkit.KryptonButton buttonMarkAll;
private Krypton.Toolkit.KryptonButton buttonSearch;
private Krypton.Toolkit.KryptonButton buttonOpen;
private Krypton.Toolkit.KryptonGroupBox groupBox;
private Krypton.Toolkit.KryptonTextBox textBox;
private Krypton.Toolkit.KryptonButton buttonClear;
private Krypton.Toolkit.KryptonLabel labelEntriesFound;
private Krypton.Toolkit.KryptonProgressBar progressBar;
private Krypton.Toolkit.KryptonStatusStrip statusStrip;
private System.Windows.Forms.ToolStripStatusLabel labelInformation;
private System.Windows.Forms.ToolTip toolTip;
private System.ComponentModel.BackgroundWorker backgroundWorker;
private Krypton.Toolkit.KryptonButton buttonCancel;
private ListView listView;
private ColumnHeader columnHeaderIndex;
private ColumnHeader columnHeaderProperty;
private ColumnHeader columnHeaderValue;
}
}