BioImager  5.0.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
Loading...
Searching...
No Matches
Imager.Designer.cs
Go to the documentation of this file.
1
2namespace BioImager
3{
4 partial class Imager
5 {
9 private System.ComponentModel.IContainer components = null;
10
15 protected override void Dispose(bool disposing)
16 {
17 if (disposing && (components != null))
18 {
19 components.Dispose();
20 }
21 base.Dispose(disposing);
22 }
23
24 #region Windows Form Designer generated code
25
30 private void InitializeComponent()
31 {
32 components = new System.ComponentModel.Container();
33 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Imager));
34 statusTimer = new System.Windows.Forms.Timer(components);
35 statusStrip = new StatusStrip();
36 statusLabel = new ToolStripStatusLabel();
37 toolStripStatusLabel2 = new ToolStripStatusLabel();
38 toolStripStatusLabel1 = new ToolStripStatusLabel();
39 label22 = new Label();
40 RJoystickStageMoveAmountBox = new NumericUpDown();
41 label24 = new Label();
42 label15 = new Label();
43 triggerFocusBox = new NumericUpDown();
44 label14 = new Label();
45 label11 = new Label();
46 LJoystickStageMoveAmountBox = new NumericUpDown();
47 label10 = new Label();
48 label5 = new Label();
49 label4 = new Label();
50 deadzoneBox = new NumericUpDown();
51 controllerJoystickUpdate = new System.Windows.Forms.Timer(components);
52 label6 = new Label();
53 label7 = new Label();
54 label8 = new Label();
55 LJoystickLabel = new Label();
56 RJoystickLabel = new Label();
57 label9 = new Label();
58 leftTriggerLabel = new Label();
59 rightTriggerLabel = new Label();
60 label12 = new Label();
61 YPressedLabel = new Label();
62 BPressedLabel = new Label();
63 APressedLabel = new Label();
64 XPressedLabel = new Label();
65 label17 = new Label();
66 DPadLeftLabel = new Label();
67 DPadDownLabel = new Label();
68 DPadRightLabel = new Label();
69 DPadUpLabel = new Label();
70 label13 = new Label();
71 shoulderRightLabel = new Label();
72 shoulderLeftLabel = new Label();
73 BackPressedLabel = new Label();
74 StartPressedLabel = new Label();
75 storedCoordsBox = new ListBox();
76 contextMenuStrip2 = new ContextMenuStrip(components);
77 goToToolStripMenuItem1 = new ToolStripMenuItem();
78 deleteToolStripMenuItem1 = new ToolStripMenuItem();
79 clearToolStripMenuItem1 = new ToolStripMenuItem();
80 copyToolStripMenuItem = new ToolStripMenuItem();
81 snapContextMenuStrip = new ContextMenuStrip(components);
82 goToToolStripMenuItem = new ToolStripMenuItem();
83 deleteToolStripMenuItem = new ToolStripMenuItem();
84 clearToolStripMenuItem = new ToolStripMenuItem();
85 copyToolStripMenuItem1 = new ToolStripMenuItem();
86 openFileToolStripMenuItem = new ToolStripMenuItem();
87 openInImageViewToolStripMenuItem = new ToolStripMenuItem();
88 label20 = new Label();
89 addCoordBut = new Button();
90 label21 = new Label();
91 lastCoordDistanceLabel = new Label();
92 lastSelectedCoordsLabel = new Label();
93 label23 = new Label();
94 clearBut = new Button();
95 label25 = new Label();
96 l3PressedLabel = new Label();
97 r3PressedLabel = new Label();
98 lastSelectedSnapDistanceLabel = new Label();
99 label27 = new Label();
100 lastSnapDistanceLabel = new Label();
101 label29 = new Label();
102 storedImageBox = new ListBox();
103 controllerButtonUpdate = new System.Windows.Forms.Timer(components);
104 topMostCheckBox = new CheckBox();
105 mainTabControl = new TabControl();
106 ImagingTab = new TabPage();
107 dockToApp = new CheckBox();
108 label26 = new Label();
109 goToLocBox = new Button();
110 label35 = new Label();
111 zCoordBox = new NumericUpDown();
112 label34 = new Label();
113 yCoordBox = new NumericUpDown();
114 label32 = new Label();
115 xCoordBox = new NumericUpDown();
116 splitContainer = new SplitContainer();
117 clearImagesBut = new Button();
118 SettingsTab = new TabPage();
119 label36 = new Label();
120 label3 = new Label();
121 slicesPerSlideBox = new NumericUpDown();
122 label30 = new Label();
123 sliceIncrementBox = new NumericUpDown();
124 label31 = new Label();
125 imagesPerSliceBox = new NumericUpDown();
126 openProfileBut = new Button();
127 saveProfileBut = new Button();
128 label1 = new Label();
129 profilesBox = new ComboBox();
130 tabContextMenu = new ContextMenuStrip(components);
131 undockToWindowToolStripMenuItem = new ToolStripMenuItem();
132 openProfileFileDialog = new OpenFileDialog();
133 saveFileDialog = new SaveFileDialog();
134 openSnapsFileDialog = new OpenFileDialog();
135 openExeFileDialog = new OpenFileDialog();
136 mainWinContextMenuStrip = new ContextMenuStrip(components);
137 hideToolStripMenuItem = new ToolStripMenuItem();
138 closeToolStripMenuItem = new ToolStripMenuItem();
139 borderToolStripMenuItem = new ToolStripMenuItem();
140 toolTip = new ToolTip(components);
141 openImagesDialog = new OpenFileDialog();
142 saveImageDialog = new SaveFileDialog();
143 statusStrip.SuspendLayout();
144 ((System.ComponentModel.ISupportInitialize)RJoystickStageMoveAmountBox).BeginInit();
145 ((System.ComponentModel.ISupportInitialize)triggerFocusBox).BeginInit();
146 ((System.ComponentModel.ISupportInitialize)LJoystickStageMoveAmountBox).BeginInit();
147 ((System.ComponentModel.ISupportInitialize)deadzoneBox).BeginInit();
148 contextMenuStrip2.SuspendLayout();
149 snapContextMenuStrip.SuspendLayout();
150 mainTabControl.SuspendLayout();
151 ImagingTab.SuspendLayout();
152 ((System.ComponentModel.ISupportInitialize)zCoordBox).BeginInit();
153 ((System.ComponentModel.ISupportInitialize)yCoordBox).BeginInit();
154 ((System.ComponentModel.ISupportInitialize)xCoordBox).BeginInit();
155 ((System.ComponentModel.ISupportInitialize)splitContainer).BeginInit();
156 splitContainer.Panel1.SuspendLayout();
157 splitContainer.Panel2.SuspendLayout();
158 splitContainer.SuspendLayout();
159 SettingsTab.SuspendLayout();
160 ((System.ComponentModel.ISupportInitialize)slicesPerSlideBox).BeginInit();
161 ((System.ComponentModel.ISupportInitialize)sliceIncrementBox).BeginInit();
162 ((System.ComponentModel.ISupportInitialize)imagesPerSliceBox).BeginInit();
163 tabContextMenu.SuspendLayout();
164 mainWinContextMenuStrip.SuspendLayout();
165 SuspendLayout();
166 //
167 // statusTimer
168 //
169 statusTimer.Interval = 1000;
170 statusTimer.Tick += statusTimer_Tick;
171 //
172 // statusStrip
173 //
174 statusStrip.BackColor = Color.FromArgb(49, 91, 138);
175 statusStrip.ImageScalingSize = new Size(32, 32);
176 statusStrip.Items.AddRange(new ToolStripItem[] { statusLabel, toolStripStatusLabel2, toolStripStatusLabel1 });
177 statusStrip.Location = new Point(0, 1217);
178 statusStrip.Name = "statusStrip";
179 statusStrip.Padding = new Padding(2, 0, 30, 0);
180 statusStrip.Size = new Size(659, 22);
181 statusStrip.TabIndex = 7;
182 statusStrip.Text = "statusStrip1";
183 statusStrip.Click += ImagingTab_Click;
184 //
185 // statusLabel
186 //
187 statusLabel.Name = "statusLabel";
188 statusLabel.Size = new Size(0, 12);
189 //
190 // toolStripStatusLabel2
191 //
192 toolStripStatusLabel2.Name = "toolStripStatusLabel2";
193 toolStripStatusLabel2.Size = new Size(0, 12);
194 //
195 // toolStripStatusLabel1
196 //
197 toolStripStatusLabel1.Name = "toolStripStatusLabel1";
198 toolStripStatusLabel1.Size = new Size(0, 12);
199 //
200 // label22
201 //
202 label22.AutoSize = true;
203 label22.Location = new Point(470, 954);
204 label22.Margin = new Padding(7, 0, 7, 0);
205 label22.Name = "label22";
206 label22.Size = new Size(49, 32);
207 label22.TabIndex = 28;
208 label22.Text = "μm";
209 //
210 // RJoystickStageMoveAmountBox
211 //
212 RJoystickStageMoveAmountBox.BackColor = Color.FromArgb(49, 91, 138);
213 RJoystickStageMoveAmountBox.DecimalPlaces = 5;
214 RJoystickStageMoveAmountBox.ForeColor = Color.White;
215 RJoystickStageMoveAmountBox.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
216 RJoystickStageMoveAmountBox.InterceptArrowKeys = false;
217 RJoystickStageMoveAmountBox.Location = new Point(277, 947);
218 RJoystickStageMoveAmountBox.Margin = new Padding(7, 6, 7, 6);
219 RJoystickStageMoveAmountBox.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
220 RJoystickStageMoveAmountBox.Name = "RJoystickStageMoveAmountBox";
221 RJoystickStageMoveAmountBox.Size = new Size(180, 39);
222 RJoystickStageMoveAmountBox.TabIndex = 27;
223 toolTip.SetToolTip(RJoystickStageMoveAmountBox, "This will override the move amount set in objectives. If objective is changed this will revert to the value set for the objective.");
224 RJoystickStageMoveAmountBox.Value = new decimal(new int[] { 10, 0, 0, 0 });
225 //
226 // label24
227 //
228 label24.AutoSize = true;
229 label24.Location = new Point(271, 900);
230 label24.Margin = new Padding(7, 0, 7, 0);
231 label24.Name = "label24";
232 label24.Size = new Size(159, 32);
233 label24.TabIndex = 26;
234 label24.Text = "Right Joystick";
235 //
236 // label15
237 //
238 label15.AutoSize = true;
239 label15.Location = new Point(199, 1043);
240 label15.Margin = new Padding(7, 0, 7, 0);
241 label15.Name = "label15";
242 label15.Size = new Size(49, 32);
243 label15.TabIndex = 21;
244 label15.Text = "μm";
245 //
246 // triggerFocusBox
247 //
248 triggerFocusBox.BackColor = Color.FromArgb(49, 91, 138);
249 triggerFocusBox.DecimalPlaces = 5;
250 triggerFocusBox.ForeColor = Color.White;
251 triggerFocusBox.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
252 triggerFocusBox.InterceptArrowKeys = false;
253 triggerFocusBox.Location = new Point(13, 1041);
254 triggerFocusBox.Margin = new Padding(7, 6, 7, 6);
255 triggerFocusBox.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
256 triggerFocusBox.Name = "triggerFocusBox";
257 triggerFocusBox.Size = new Size(180, 39);
258 triggerFocusBox.TabIndex = 20;
259 toolTip.SetToolTip(triggerFocusBox, "This will override the move amount set in objectives. If objective is changed this will revert to the value set for the objective.");
260 triggerFocusBox.Value = new decimal(new int[] { 1, 0, 0, 196608 });
261 //
262 // label14
263 //
264 label14.AutoSize = true;
265 label14.Location = new Point(7, 1005);
266 label14.Margin = new Padding(7, 0, 7, 0);
267 label14.Name = "label14";
268 label14.Size = new Size(156, 32);
269 label14.TabIndex = 19;
270 label14.Text = "Trigger Focus";
271 //
272 // label11
273 //
274 label11.AutoSize = true;
275 label11.Location = new Point(199, 947);
276 label11.Margin = new Padding(7, 0, 7, 0);
277 label11.Name = "label11";
278 label11.Size = new Size(49, 32);
279 label11.TabIndex = 18;
280 label11.Text = "μm";
281 //
282 // LJoystickStageMoveAmountBox
283 //
284 LJoystickStageMoveAmountBox.BackColor = Color.FromArgb(49, 91, 138);
285 LJoystickStageMoveAmountBox.DecimalPlaces = 5;
286 LJoystickStageMoveAmountBox.ForeColor = Color.White;
287 LJoystickStageMoveAmountBox.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
288 LJoystickStageMoveAmountBox.InterceptArrowKeys = false;
289 LJoystickStageMoveAmountBox.Location = new Point(13, 947);
290 LJoystickStageMoveAmountBox.Margin = new Padding(7, 6, 7, 6);
291 LJoystickStageMoveAmountBox.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
292 LJoystickStageMoveAmountBox.Name = "LJoystickStageMoveAmountBox";
293 LJoystickStageMoveAmountBox.Size = new Size(180, 39);
294 LJoystickStageMoveAmountBox.TabIndex = 17;
295 toolTip.SetToolTip(LJoystickStageMoveAmountBox, "This will override the move amount set in objectives. If objective is changed this will revert to the value set for the objective.");
296 LJoystickStageMoveAmountBox.Value = new decimal(new int[] { 40, 0, 0, 0 });
297 //
298 // label10
299 //
300 label10.AutoSize = true;
301 label10.Location = new Point(7, 900);
302 label10.Margin = new Padding(7, 0, 7, 0);
303 label10.Name = "label10";
304 label10.Size = new Size(143, 32);
305 label10.TabIndex = 16;
306 label10.Text = "Left Joystick";
307 //
308 // label5
309 //
310 label5.AutoSize = true;
311 label5.Location = new Point(-2, 710);
312 label5.Margin = new Padding(7, 0, 7, 0);
313 label5.Name = "label5";
314 label5.Size = new Size(0, 32);
315 label5.TabIndex = 15;
316 //
317 // label4
318 //
319 label4.AutoSize = true;
320 label4.Location = new Point(273, 1005);
321 label4.Margin = new Padding(7, 0, 7, 0);
322 label4.Name = "label4";
323 label4.Size = new Size(122, 32);
324 label4.TabIndex = 14;
325 label4.Text = "Deadzone";
326 //
327 // deadzoneBox
328 //
329 deadzoneBox.BackColor = Color.FromArgb(49, 91, 138);
330 deadzoneBox.ForeColor = Color.White;
331 deadzoneBox.InterceptArrowKeys = false;
332 deadzoneBox.Location = new Point(279, 1043);
333 deadzoneBox.Margin = new Padding(7, 6, 7, 6);
334 deadzoneBox.Name = "deadzoneBox";
335 deadzoneBox.Size = new Size(180, 39);
336 deadzoneBox.TabIndex = 13;
337 deadzoneBox.Value = new decimal(new int[] { 5, 0, 0, 0 });
338 deadzoneBox.ValueChanged += deadzoneBox_ValueChanged;
339 //
340 // controllerJoystickUpdate
341 //
342 controllerJoystickUpdate.Tick += controllerJoystickUpdate_Tick;
343 //
344 // label6
345 //
346 label6.AutoSize = true;
347 label6.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
348 label6.Location = new Point(4, 66);
349 label6.Margin = new Padding(7, 0, 7, 0);
350 label6.Name = "label6";
351 label6.Size = new Size(173, 26);
352 label6.TabIndex = 10;
353 label6.Text = "Left Joystick %";
354 //
355 // label7
356 //
357 label7.AutoSize = true;
358 label7.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
359 label7.Location = new Point(221, 66);
360 label7.Margin = new Padding(7, 0, 7, 0);
361 label7.Name = "label7";
362 label7.Size = new Size(189, 26);
363 label7.TabIndex = 11;
364 label7.Text = "Right Joystick %";
365 //
366 // label8
367 //
368 label8.AutoSize = true;
369 label8.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
370 label8.Location = new Point(219, 388);
371 label8.Margin = new Padding(7, 0, 7, 0);
372 label8.Name = "label8";
373 label8.Size = new Size(177, 26);
374 label8.TabIndex = 12;
375 label8.Text = "Right Trigger %";
376 //
377 // LJoystickLabel
378 //
379 LJoystickLabel.AutoSize = true;
380 LJoystickLabel.Location = new Point(4, 122);
381 LJoystickLabel.Margin = new Padding(7, 0, 7, 0);
382 LJoystickLabel.Name = "LJoystickLabel";
383 LJoystickLabel.Size = new Size(46, 32);
384 LJoystickLabel.TabIndex = 13;
385 LJoystickLabel.Text = "X,Y";
386 //
387 // RJoystickLabel
388 //
389 RJoystickLabel.AutoSize = true;
390 RJoystickLabel.Location = new Point(221, 122);
391 RJoystickLabel.Margin = new Padding(7, 0, 7, 0);
392 RJoystickLabel.Name = "RJoystickLabel";
393 RJoystickLabel.Size = new Size(46, 32);
394 RJoystickLabel.TabIndex = 14;
395 RJoystickLabel.Text = "X,Y";
396 //
397 // label9
398 //
399 label9.AutoSize = true;
400 label9.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
401 label9.Location = new Point(4, 388);
402 label9.Margin = new Padding(7, 0, 7, 0);
403 label9.Name = "label9";
404 label9.Size = new Size(161, 26);
405 label9.TabIndex = 15;
406 label9.Text = "Left Trigger %";
407 //
408 // leftTriggerLabel
409 //
410 leftTriggerLabel.AutoSize = true;
411 leftTriggerLabel.Location = new Point(15, 442);
412 leftTriggerLabel.Margin = new Padding(7, 0, 7, 0);
413 leftTriggerLabel.Name = "leftTriggerLabel";
414 leftTriggerLabel.Size = new Size(0, 32);
415 leftTriggerLabel.TabIndex = 16;
416 //
417 // rightTriggerLabel
418 //
419 rightTriggerLabel.AutoSize = true;
420 rightTriggerLabel.Location = new Point(234, 444);
421 rightTriggerLabel.Margin = new Padding(7, 0, 7, 0);
422 rightTriggerLabel.Name = "rightTriggerLabel";
423 rightTriggerLabel.Size = new Size(0, 32);
424 rightTriggerLabel.TabIndex = 17;
425 //
426 // label12
427 //
428 label12.AutoSize = true;
429 label12.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
430 label12.Location = new Point(4, 171);
431 label12.Margin = new Padding(7, 0, 7, 0);
432 label12.Name = "label12";
433 label12.Size = new Size(93, 26);
434 label12.TabIndex = 18;
435 label12.Text = "Buttons";
436 //
437 // YPressedLabel
438 //
439 YPressedLabel.AutoSize = true;
440 YPressedLabel.Location = new Point(4, 213);
441 YPressedLabel.Margin = new Padding(7, 0, 7, 0);
442 YPressedLabel.Name = "YPressedLabel";
443 YPressedLabel.Size = new Size(164, 32);
444 YPressedLabel.TabIndex = 19;
445 YPressedLabel.Text = "Y: not pressed";
446 toolTip.SetToolTip(YPressedLabel, "Double click to change button function.");
447 YPressedLabel.MouseDoubleClick += YPressedLabel_MouseDoubleClick;
448 //
449 // BPressedLabel
450 //
451 BPressedLabel.AutoSize = true;
452 BPressedLabel.Location = new Point(4, 254);
453 BPressedLabel.Margin = new Padding(7, 0, 7, 0);
454 BPressedLabel.Name = "BPressedLabel";
455 BPressedLabel.Size = new Size(165, 32);
456 BPressedLabel.TabIndex = 20;
457 BPressedLabel.Text = "B: not pressed";
458 toolTip.SetToolTip(BPressedLabel, "Double click to change button function.");
459 BPressedLabel.MouseDoubleClick += BPressedLabel_MouseDoubleClick;
460 //
461 // APressedLabel
462 //
463 APressedLabel.AutoSize = true;
464 APressedLabel.Location = new Point(4, 292);
465 APressedLabel.Margin = new Padding(7, 0, 7, 0);
466 APressedLabel.Name = "APressedLabel";
467 APressedLabel.Size = new Size(166, 32);
468 APressedLabel.TabIndex = 21;
469 APressedLabel.Text = "A: not pressed";
470 toolTip.SetToolTip(APressedLabel, "Double click to change button function.");
471 APressedLabel.MouseDoubleClick += APressedLabel_MouseDoubleClick;
472 //
473 // XPressedLabel
474 //
475 XPressedLabel.AutoSize = true;
476 XPressedLabel.Location = new Point(4, 333);
477 XPressedLabel.Margin = new Padding(7, 0, 7, 0);
478 XPressedLabel.Name = "XPressedLabel";
479 XPressedLabel.Size = new Size(165, 32);
480 XPressedLabel.TabIndex = 22;
481 XPressedLabel.Text = "X: not pressed";
482 toolTip.SetToolTip(XPressedLabel, "Double click to change button function.");
483 XPressedLabel.MouseDoubleClick += XPressedLabel_MouseDoubleClick;
484 //
485 // label17
486 //
487 label17.AutoSize = true;
488 label17.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
489 label17.Location = new Point(219, 164);
490 label17.Margin = new Padding(7, 0, 7, 0);
491 label17.Name = "label17";
492 label17.Size = new Size(71, 26);
493 label17.TabIndex = 23;
494 label17.Text = "DPad";
495 //
496 // DPadLeftLabel
497 //
498 DPadLeftLabel.AutoSize = true;
499 DPadLeftLabel.Location = new Point(217, 333);
500 DPadLeftLabel.Margin = new Padding(7, 0, 7, 0);
501 DPadLeftLabel.Name = "DPadLeftLabel";
502 DPadLeftLabel.Size = new Size(191, 32);
503 DPadLeftLabel.TabIndex = 27;
504 DPadLeftLabel.Text = "Left: not pressed";
505 toolTip.SetToolTip(DPadLeftLabel, "Double click to change button function.");
506 DPadLeftLabel.MouseDoubleClick += DPadLeftLabel_MouseDoubleClick;
507 //
508 // DPadDownLabel
509 //
510 DPadDownLabel.AutoSize = true;
511 DPadDownLabel.Location = new Point(217, 292);
512 DPadDownLabel.Margin = new Padding(7, 0, 7, 0);
513 DPadDownLabel.Name = "DPadDownLabel";
514 DPadDownLabel.Size = new Size(213, 32);
515 DPadDownLabel.TabIndex = 26;
516 DPadDownLabel.Text = "Down: not pressed";
517 toolTip.SetToolTip(DPadDownLabel, "Double click to change button function.");
518 DPadDownLabel.MouseDoubleClick += DPadDownLabel_MouseDoubleClick;
519 //
520 // DPadRightLabel
521 //
522 DPadRightLabel.AutoSize = true;
523 DPadRightLabel.Location = new Point(217, 254);
524 DPadRightLabel.Margin = new Padding(7, 0, 7, 0);
525 DPadRightLabel.Name = "DPadRightLabel";
526 DPadRightLabel.Size = new Size(207, 32);
527 DPadRightLabel.TabIndex = 25;
528 DPadRightLabel.Text = "Right: not pressed";
529 toolTip.SetToolTip(DPadRightLabel, "Double click to change button function.");
530 DPadRightLabel.MouseDoubleClick += DPadRightLabel_MouseDoubleClick;
531 //
532 // DPadUpLabel
533 //
534 DPadUpLabel.AutoSize = true;
535 DPadUpLabel.Location = new Point(217, 213);
536 DPadUpLabel.Margin = new Padding(7, 0, 7, 0);
537 DPadUpLabel.Name = "DPadUpLabel";
538 DPadUpLabel.Size = new Size(181, 32);
539 DPadUpLabel.TabIndex = 24;
540 DPadUpLabel.Text = "Up: not pressed";
541 toolTip.SetToolTip(DPadUpLabel, "Double click to change button function.");
542 DPadUpLabel.MouseDoubleClick += DPadUpLabel_MouseDoubleClick;
543 //
544 // label13
545 //
546 label13.AutoSize = true;
547 label13.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
548 label13.Location = new Point(11, 486);
549 label13.Margin = new Padding(7, 0, 7, 0);
550 label13.Name = "label13";
551 label13.Size = new Size(119, 26);
552 label13.TabIndex = 28;
553 label13.Text = "Shoulders";
554 //
555 // shoulderRightLabel
556 //
557 shoulderRightLabel.AutoSize = true;
558 shoulderRightLabel.Location = new Point(11, 576);
559 shoulderRightLabel.Margin = new Padding(7, 0, 7, 0);
560 shoulderRightLabel.Name = "shoulderRightLabel";
561 shoulderRightLabel.Size = new Size(207, 32);
562 shoulderRightLabel.TabIndex = 30;
563 shoulderRightLabel.Text = "Right: not pressed";
564 toolTip.SetToolTip(shoulderRightLabel, "Double click to change button function.");
565 shoulderRightLabel.MouseDoubleClick += shoulderRightLabel_MouseDoubleClick;
566 //
567 // shoulderLeftLabel
568 //
569 shoulderLeftLabel.AutoSize = true;
570 shoulderLeftLabel.Location = new Point(11, 538);
571 shoulderLeftLabel.Margin = new Padding(7, 0, 7, 0);
572 shoulderLeftLabel.Name = "shoulderLeftLabel";
573 shoulderLeftLabel.Size = new Size(191, 32);
574 shoulderLeftLabel.TabIndex = 29;
575 shoulderLeftLabel.Text = "Left: not pressed";
576 toolTip.SetToolTip(shoulderLeftLabel, "Double click to change button function.");
577 shoulderLeftLabel.MouseDoubleClick += shoulderLeftLabel_MouseDoubleClick;
578 //
579 // BackPressedLabel
580 //
581 BackPressedLabel.AutoSize = true;
582 BackPressedLabel.Location = new Point(223, 493);
583 BackPressedLabel.Margin = new Padding(7, 0, 7, 0);
584 BackPressedLabel.Name = "BackPressedLabel";
585 BackPressedLabel.Size = new Size(200, 32);
586 BackPressedLabel.TabIndex = 31;
587 BackPressedLabel.Text = "Back: not pressed";
588 toolTip.SetToolTip(BackPressedLabel, "Double click to change button function.");
589 BackPressedLabel.MouseDoubleClick += BackPressedLabel_MouseDoubleClick;
590 //
591 // StartPressedLabel
592 //
593 StartPressedLabel.AutoSize = true;
594 StartPressedLabel.Location = new Point(223, 529);
595 StartPressedLabel.Margin = new Padding(7, 0, 7, 0);
596 StartPressedLabel.Name = "StartPressedLabel";
597 StartPressedLabel.Size = new Size(199, 32);
598 StartPressedLabel.TabIndex = 32;
599 StartPressedLabel.Text = "Start: not pressed";
600 toolTip.SetToolTip(StartPressedLabel, "Double click to change button function.");
601 StartPressedLabel.MouseDoubleClick += StartPressedLabel_MouseDoubleClick;
602 //
603 // storedCoordsBox
604 //
605 storedCoordsBox.BackColor = Color.FromArgb(49, 91, 138);
606 storedCoordsBox.ContextMenuStrip = contextMenuStrip2;
607 storedCoordsBox.Dock = DockStyle.Fill;
608 storedCoordsBox.ForeColor = Color.White;
609 storedCoordsBox.FormattingEnabled = true;
610 storedCoordsBox.Location = new Point(0, 0);
611 storedCoordsBox.Margin = new Padding(7, 6, 7, 6);
612 storedCoordsBox.Name = "storedCoordsBox";
613 storedCoordsBox.Size = new Size(297, 580);
614 storedCoordsBox.TabIndex = 33;
615 storedCoordsBox.SelectedIndexChanged += storedCoordsBox_SelectedIndexChanged;
616 //
617 // contextMenuStrip2
618 //
619 contextMenuStrip2.ImageScalingSize = new Size(32, 32);
620 contextMenuStrip2.Items.AddRange(new ToolStripItem[] { goToToolStripMenuItem1, deleteToolStripMenuItem1, clearToolStripMenuItem1, copyToolStripMenuItem });
621 contextMenuStrip2.Name = "contextMenuStrip2";
622 contextMenuStrip2.Size = new Size(159, 156);
623 //
624 // goToToolStripMenuItem1
625 //
626 goToToolStripMenuItem1.Name = "goToToolStripMenuItem1";
627 goToToolStripMenuItem1.Size = new Size(158, 38);
628 goToToolStripMenuItem1.Text = "Go To";
629 goToToolStripMenuItem1.Click += goToToolStripMenuItem1_Click;
630 //
631 // deleteToolStripMenuItem1
632 //
633 deleteToolStripMenuItem1.Name = "deleteToolStripMenuItem1";
634 deleteToolStripMenuItem1.Size = new Size(158, 38);
635 deleteToolStripMenuItem1.Text = "Delete";
636 deleteToolStripMenuItem1.Click += deleteToolStripMenuItem1_Click;
637 //
638 // clearToolStripMenuItem1
639 //
640 clearToolStripMenuItem1.Name = "clearToolStripMenuItem1";
641 clearToolStripMenuItem1.Size = new Size(158, 38);
642 clearToolStripMenuItem1.Text = "Clear";
643 clearToolStripMenuItem1.Click += clearToolStripMenuItem1_Click;
644 //
645 // copyToolStripMenuItem
646 //
647 copyToolStripMenuItem.Name = "copyToolStripMenuItem";
648 copyToolStripMenuItem.Size = new Size(158, 38);
649 copyToolStripMenuItem.Text = "Copy";
650 copyToolStripMenuItem.Click += copyToolStripMenuItem_Click;
651 //
652 // snapContextMenuStrip
653 //
654 snapContextMenuStrip.ImageScalingSize = new Size(32, 32);
655 snapContextMenuStrip.Items.AddRange(new ToolStripItem[] { goToToolStripMenuItem, deleteToolStripMenuItem, clearToolStripMenuItem, copyToolStripMenuItem1, openFileToolStripMenuItem, openInImageViewToolStripMenuItem });
656 snapContextMenuStrip.Name = "contextMenuStrip1";
657 snapContextMenuStrip.Size = new Size(430, 232);
658 //
659 // goToToolStripMenuItem
660 //
661 goToToolStripMenuItem.Name = "goToToolStripMenuItem";
662 goToToolStripMenuItem.Size = new Size(429, 38);
663 goToToolStripMenuItem.Text = "Go To";
664 goToToolStripMenuItem.Click += goToToolStripMenuItem_Click;
665 //
666 // deleteToolStripMenuItem
667 //
668 deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
669 deleteToolStripMenuItem.Size = new Size(429, 38);
670 deleteToolStripMenuItem.Text = "Delete";
671 deleteToolStripMenuItem.Click += deleteToolStripMenuItem_Click;
672 //
673 // clearToolStripMenuItem
674 //
675 clearToolStripMenuItem.Name = "clearToolStripMenuItem";
676 clearToolStripMenuItem.Size = new Size(429, 38);
677 clearToolStripMenuItem.Text = "Clear";
678 clearToolStripMenuItem.Click += clearToolStripMenuItem_Click;
679 //
680 // copyToolStripMenuItem1
681 //
682 copyToolStripMenuItem1.Name = "copyToolStripMenuItem1";
683 copyToolStripMenuItem1.Size = new Size(429, 38);
684 copyToolStripMenuItem1.Text = "Copy";
685 copyToolStripMenuItem1.Click += copyToolStripMenuItem1_Click;
686 //
687 // openFileToolStripMenuItem
688 //
689 openFileToolStripMenuItem.Name = "openFileToolStripMenuItem";
690 openFileToolStripMenuItem.Size = new Size(429, 38);
691 openFileToolStripMenuItem.Text = "Open Image in Default Program";
692 openFileToolStripMenuItem.Click += openFileToolStripMenuItem_Click;
693 //
694 // openInImageViewToolStripMenuItem
695 //
696 openInImageViewToolStripMenuItem.Name = "openInImageViewToolStripMenuItem";
697 openInImageViewToolStripMenuItem.Size = new Size(429, 38);
698 openInImageViewToolStripMenuItem.Text = "Open in Image View";
699 openInImageViewToolStripMenuItem.Click += openInImageViewToolStripMenuItem_Click;
700 //
701 // label20
702 //
703 label20.AutoSize = true;
704 label20.ForeColor = Color.White;
705 label20.Location = new Point(9, 350);
706 label20.Margin = new Padding(7, 0, 7, 0);
707 label20.Name = "label20";
708 label20.Size = new Size(218, 32);
709 label20.TabIndex = 34;
710 label20.Text = "Stored Coordinates";
711 //
712 // addCoordBut
713 //
714 addCoordBut.BackColor = Color.FromArgb(49, 91, 138);
715 addCoordBut.ForeColor = Color.White;
716 addCoordBut.Location = new Point(11, 388);
717 addCoordBut.Margin = new Padding(7, 6, 7, 6);
718 addCoordBut.Name = "addCoordBut";
719 addCoordBut.Size = new Size(104, 58);
720 addCoordBut.TabIndex = 35;
721 addCoordBut.Text = "Add";
722 addCoordBut.UseVisualStyleBackColor = false;
723 addCoordBut.Click += addCoordBut_Click;
724 //
725 // label21
726 //
727 label21.AutoSize = true;
728 label21.ForeColor = Color.White;
729 label21.Location = new Point(13, 111);
730 label21.Margin = new Padding(7, 0, 7, 0);
731 label21.Name = "label21";
732 label21.Size = new Size(406, 32);
733 label21.TabIndex = 36;
734 label21.Text = "Distance from last stored coordinate.";
735 //
736 // lastCoordDistanceLabel
737 //
738 lastCoordDistanceLabel.AutoSize = true;
739 lastCoordDistanceLabel.ForeColor = Color.White;
740 lastCoordDistanceLabel.Location = new Point(28, 162);
741 lastCoordDistanceLabel.Margin = new Padding(7, 0, 7, 0);
742 lastCoordDistanceLabel.Name = "lastCoordDistanceLabel";
743 lastCoordDistanceLabel.Size = new Size(0, 32);
744 lastCoordDistanceLabel.TabIndex = 37;
745 //
746 // lastSelectedCoordsLabel
747 //
748 lastSelectedCoordsLabel.AutoSize = true;
749 lastSelectedCoordsLabel.ForeColor = Color.White;
750 lastSelectedCoordsLabel.Location = new Point(28, 66);
751 lastSelectedCoordsLabel.Margin = new Padding(7, 0, 7, 0);
752 lastSelectedCoordsLabel.Name = "lastSelectedCoordsLabel";
753 lastSelectedCoordsLabel.Size = new Size(0, 32);
754 lastSelectedCoordsLabel.TabIndex = 39;
755 //
756 // label23
757 //
758 label23.AutoSize = true;
759 label23.ForeColor = Color.White;
760 label23.Location = new Point(11, 15);
761 label23.Margin = new Padding(7, 0, 7, 0);
762 label23.Name = "label23";
763 label23.Size = new Size(384, 32);
764 label23.TabIndex = 38;
765 label23.Text = "Distance from selected coordinate.";
766 //
767 // clearBut
768 //
769 clearBut.BackColor = Color.FromArgb(49, 91, 138);
770 clearBut.ForeColor = Color.White;
771 clearBut.Location = new Point(115, 388);
772 clearBut.Margin = new Padding(7, 6, 7, 6);
773 clearBut.Name = "clearBut";
774 clearBut.Size = new Size(104, 58);
775 clearBut.TabIndex = 40;
776 clearBut.Text = "Clear";
777 clearBut.UseVisualStyleBackColor = false;
778 clearBut.Click += clearBut_Click;
779 //
780 // label25
781 //
782 label25.AutoSize = true;
783 label25.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
784 label25.Location = new Point(221, 576);
785 label25.Margin = new Padding(7, 0, 7, 0);
786 label25.Name = "label25";
787 label25.Size = new Size(121, 26);
788 label25.TabIndex = 41;
789 label25.Text = "R3 and L3";
790 //
791 // l3PressedLabel
792 //
793 l3PressedLabel.AutoSize = true;
794 l3PressedLabel.Location = new Point(223, 659);
795 l3PressedLabel.Margin = new Padding(7, 0, 7, 0);
796 l3PressedLabel.Name = "l3PressedLabel";
797 l3PressedLabel.Size = new Size(175, 32);
798 l3PressedLabel.TabIndex = 43;
799 l3PressedLabel.Text = "L3: not pressed";
800 toolTip.SetToolTip(l3PressedLabel, "Double click to change button function.");
801 l3PressedLabel.MouseDoubleClick += l3PressedLabel_MouseDoubleClick;
802 //
803 // r3PressedLabel
804 //
805 r3PressedLabel.AutoSize = true;
806 r3PressedLabel.Location = new Point(223, 621);
807 r3PressedLabel.Margin = new Padding(7, 0, 7, 0);
808 r3PressedLabel.Name = "r3PressedLabel";
809 r3PressedLabel.Size = new Size(178, 32);
810 r3PressedLabel.TabIndex = 42;
811 r3PressedLabel.Text = "R3: not pressed";
812 toolTip.SetToolTip(r3PressedLabel, "Double click to change button function.");
813 r3PressedLabel.MouseDoubleClick += r3PressedLabel_MouseDoubleClick;
814 //
815 // lastSelectedSnapDistanceLabel
816 //
817 lastSelectedSnapDistanceLabel.AutoSize = true;
818 lastSelectedSnapDistanceLabel.ForeColor = Color.White;
819 lastSelectedSnapDistanceLabel.Location = new Point(28, 245);
820 lastSelectedSnapDistanceLabel.Margin = new Padding(7, 0, 7, 0);
821 lastSelectedSnapDistanceLabel.Name = "lastSelectedSnapDistanceLabel";
822 lastSelectedSnapDistanceLabel.Size = new Size(0, 32);
823 lastSelectedSnapDistanceLabel.TabIndex = 49;
824 //
825 // label27
826 //
827 label27.AutoSize = true;
828 label27.ForeColor = Color.White;
829 label27.Location = new Point(13, 194);
830 label27.Margin = new Padding(7, 0, 7, 0);
831 label27.Name = "label27";
832 label27.Size = new Size(336, 32);
833 label27.TabIndex = 48;
834 label27.Text = "Distance from selected image.";
835 //
836 // lastSnapDistanceLabel
837 //
838 lastSnapDistanceLabel.AutoSize = true;
839 lastSnapDistanceLabel.ForeColor = Color.White;
840 lastSnapDistanceLabel.Location = new Point(425, 299);
841 lastSnapDistanceLabel.Margin = new Padding(7, 0, 7, 0);
842 lastSnapDistanceLabel.Name = "lastSnapDistanceLabel";
843 lastSnapDistanceLabel.Size = new Size(0, 32);
844 lastSnapDistanceLabel.TabIndex = 47;
845 //
846 // label29
847 //
848 label29.AutoSize = true;
849 label29.ForeColor = Color.White;
850 label29.Location = new Point(13, 290);
851 label29.Margin = new Padding(7, 0, 7, 0);
852 label29.Name = "label29";
853 label29.Size = new Size(358, 32);
854 label29.TabIndex = 46;
855 label29.Text = "Distance from last stored image.";
856 //
857 // storedImageBox
858 //
859 storedImageBox.BackColor = Color.FromArgb(49, 91, 138);
860 storedImageBox.ContextMenuStrip = snapContextMenuStrip;
861 storedImageBox.Dock = DockStyle.Fill;
862 storedImageBox.ForeColor = Color.White;
863 storedImageBox.FormattingEnabled = true;
864 storedImageBox.Location = new Point(0, 0);
865 storedImageBox.Margin = new Padding(7, 6, 7, 6);
866 storedImageBox.Name = "storedImageBox";
867 storedImageBox.Size = new Size(318, 580);
868 storedImageBox.TabIndex = 45;
869 storedImageBox.SelectedIndexChanged += storedSnapBox_SelectedIndexChanged;
870 //
871 // controllerButtonUpdate
872 //
873 controllerButtonUpdate.Interval = 250;
874 controllerButtonUpdate.Tick += controllerButtonUpdate_Tick;
875 //
876 // topMostCheckBox
877 //
878 topMostCheckBox.AutoSize = true;
879 topMostCheckBox.Checked = true;
880 topMostCheckBox.CheckState = CheckState.Checked;
881 topMostCheckBox.ForeColor = Color.White;
882 topMostCheckBox.Location = new Point(403, 15);
883 topMostCheckBox.Margin = new Padding(7, 6, 7, 6);
884 topMostCheckBox.Name = "topMostCheckBox";
885 topMostCheckBox.Size = new Size(146, 36);
886 topMostCheckBox.TabIndex = 60;
887 topMostCheckBox.Text = "Top Most";
888 topMostCheckBox.UseVisualStyleBackColor = true;
889 topMostCheckBox.CheckedChanged += topMostCheckBox_CheckedChanged;
890 //
891 // mainTabControl
892 //
893 mainTabControl.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
894 mainTabControl.Controls.Add(ImagingTab);
895 mainTabControl.Controls.Add(SettingsTab);
896 mainTabControl.HotTrack = true;
897 mainTabControl.Location = new Point(7, 4);
898 mainTabControl.Margin = new Padding(7, 6, 7, 6);
899 mainTabControl.Name = "mainTabControl";
900 mainTabControl.SelectedIndex = 0;
901 mainTabControl.Size = new Size(652, 1173);
902 mainTabControl.TabIndex = 62;
903 //
904 // ImagingTab
905 //
906 ImagingTab.BackColor = Color.FromArgb(95, 122, 156);
907 ImagingTab.Controls.Add(dockToApp);
908 ImagingTab.Controls.Add(label26);
909 ImagingTab.Controls.Add(goToLocBox);
910 ImagingTab.Controls.Add(label35);
911 ImagingTab.Controls.Add(zCoordBox);
912 ImagingTab.Controls.Add(label34);
913 ImagingTab.Controls.Add(yCoordBox);
914 ImagingTab.Controls.Add(label32);
915 ImagingTab.Controls.Add(xCoordBox);
916 ImagingTab.Controls.Add(splitContainer);
917 ImagingTab.Controls.Add(clearImagesBut);
918 ImagingTab.Controls.Add(label20);
919 ImagingTab.Controls.Add(addCoordBut);
920 ImagingTab.Controls.Add(topMostCheckBox);
921 ImagingTab.Controls.Add(label21);
922 ImagingTab.Controls.Add(lastSelectedSnapDistanceLabel);
923 ImagingTab.Controls.Add(lastCoordDistanceLabel);
924 ImagingTab.Controls.Add(label27);
925 ImagingTab.Controls.Add(label23);
926 ImagingTab.Controls.Add(lastSnapDistanceLabel);
927 ImagingTab.Controls.Add(lastSelectedCoordsLabel);
928 ImagingTab.Controls.Add(label29);
929 ImagingTab.Controls.Add(clearBut);
930 ImagingTab.Location = new Point(8, 46);
931 ImagingTab.Margin = new Padding(7, 6, 7, 6);
932 ImagingTab.Name = "ImagingTab";
933 ImagingTab.Padding = new Padding(7, 6, 7, 6);
934 ImagingTab.Size = new Size(636, 1119);
935 ImagingTab.TabIndex = 0;
936 ImagingTab.Text = "Imaging";
937 ImagingTab.Click += ImagingTab_Click;
938 //
939 // dockToApp
940 //
941 dockToApp.AutoSize = true;
942 dockToApp.Checked = true;
943 dockToApp.CheckState = CheckState.Checked;
944 dockToApp.Location = new Point(403, 70);
945 dockToApp.Margin = new Padding(7, 6, 7, 6);
946 dockToApp.Name = "dockToApp";
947 dockToApp.Size = new Size(182, 36);
948 dockToApp.TabIndex = 71;
949 dockToApp.Text = "Dock To App";
950 dockToApp.UseVisualStyleBackColor = true;
951 dockToApp.CheckedChanged += dockToApp_CheckedChanged;
952 //
953 // label26
954 //
955 label26.AutoSize = true;
956 label26.ForeColor = Color.White;
957 label26.Location = new Point(290, 350);
958 label26.Margin = new Padding(7, 0, 7, 0);
959 label26.Name = "label26";
960 label26.Size = new Size(166, 32);
961 label26.TabIndex = 71;
962 label26.Text = "Stored Images";
963 //
964 // goToLocBox
965 //
966 goToLocBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
967 goToLocBox.BackColor = Color.FromArgb(49, 91, 138);
968 goToLocBox.ForeColor = Color.White;
969 goToLocBox.Location = new Point(539, 1045);
970 goToLocBox.Margin = new Padding(7, 6, 7, 6);
971 goToLocBox.Name = "goToLocBox";
972 goToLocBox.Size = new Size(71, 58);
973 goToLocBox.TabIndex = 70;
974 goToLocBox.Text = "Go";
975 goToLocBox.UseVisualStyleBackColor = false;
976 goToLocBox.Click += goToLocBox_Click;
977 //
978 // label35
979 //
980 label35.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
981 label35.AutoSize = true;
982 label35.ForeColor = Color.White;
983 label35.Location = new Point(353, 1058);
984 label35.Margin = new Padding(7, 0, 7, 0);
985 label35.Name = "label35";
986 label35.Size = new Size(28, 32);
987 label35.TabIndex = 69;
988 label35.Text = "Z";
989 //
990 // zCoordBox
991 //
992 zCoordBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
993 zCoordBox.BackColor = Color.FromArgb(49, 91, 138);
994 zCoordBox.DecimalPlaces = 5;
995 zCoordBox.ForeColor = Color.White;
996 zCoordBox.InterceptArrowKeys = false;
997 zCoordBox.Location = new Point(386, 1056);
998 zCoordBox.Margin = new Padding(7, 6, 7, 6);
999 zCoordBox.Maximum = new decimal(new int[] { 10000000, 0, 0, 0 });
1000 zCoordBox.Minimum = new decimal(new int[] { 10000000, 0, 0, int.MinValue });
1001 zCoordBox.Name = "zCoordBox";
1002 zCoordBox.Size = new Size(139, 39);
1003 zCoordBox.TabIndex = 68;
1004 //
1005 // label34
1006 //
1007 label34.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
1008 label34.AutoSize = true;
1009 label34.ForeColor = Color.White;
1010 label34.Location = new Point(180, 1065);
1011 label34.Margin = new Padding(7, 0, 7, 0);
1012 label34.Name = "label34";
1013 label34.Size = new Size(27, 32);
1014 label34.TabIndex = 67;
1015 label34.Text = "Y";
1016 //
1017 // yCoordBox
1018 //
1019 yCoordBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
1020 yCoordBox.BackColor = Color.FromArgb(49, 91, 138);
1021 yCoordBox.DecimalPlaces = 5;
1022 yCoordBox.ForeColor = Color.White;
1023 yCoordBox.InterceptArrowKeys = false;
1024 yCoordBox.Location = new Point(210, 1056);
1025 yCoordBox.Margin = new Padding(7, 6, 7, 6);
1026 yCoordBox.Maximum = new decimal(new int[] { 10000000, 0, 0, 0 });
1027 yCoordBox.Minimum = new decimal(new int[] { 10000000, 0, 0, int.MinValue });
1028 yCoordBox.Name = "yCoordBox";
1029 yCoordBox.Size = new Size(139, 39);
1030 yCoordBox.TabIndex = 66;
1031 //
1032 // label32
1033 //
1034 label32.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
1035 label32.AutoSize = true;
1036 label32.ForeColor = Color.White;
1037 label32.Location = new Point(4, 1065);
1038 label32.Margin = new Padding(7, 0, 7, 0);
1039 label32.Name = "label32";
1040 label32.Size = new Size(28, 32);
1041 label32.TabIndex = 65;
1042 label32.Text = "X";
1043 //
1044 // xCoordBox
1045 //
1046 xCoordBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
1047 xCoordBox.BackColor = Color.FromArgb(49, 91, 138);
1048 xCoordBox.DecimalPlaces = 5;
1049 xCoordBox.ForeColor = Color.White;
1050 xCoordBox.InterceptArrowKeys = false;
1051 xCoordBox.Location = new Point(37, 1056);
1052 xCoordBox.Margin = new Padding(7, 6, 7, 6);
1053 xCoordBox.Maximum = new decimal(new int[] { 10000000, 0, 0, 0 });
1054 xCoordBox.Minimum = new decimal(new int[] { 10000000, 0, 0, int.MinValue });
1055 xCoordBox.Name = "xCoordBox";
1056 xCoordBox.Size = new Size(139, 39);
1057 xCoordBox.TabIndex = 64;
1058 //
1059 // splitContainer
1060 //
1061 splitContainer.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
1062 splitContainer.Location = new Point(6, 459);
1063 splitContainer.Margin = new Padding(7, 6, 7, 6);
1064 splitContainer.Name = "splitContainer";
1065 //
1066 // splitContainer.Panel1
1067 //
1068 splitContainer.Panel1.Controls.Add(storedCoordsBox);
1069 //
1070 // splitContainer.Panel2
1071 //
1072 splitContainer.Panel2.Controls.Add(storedImageBox);
1073 splitContainer.Size = new Size(624, 580);
1074 splitContainer.SplitterDistance = 297;
1075 splitContainer.SplitterWidth = 9;
1076 splitContainer.TabIndex = 63;
1077 //
1078 // clearImagesBut
1079 //
1080 clearImagesBut.Anchor = AnchorStyles.Top | AnchorStyles.Right;
1081 clearImagesBut.BackColor = Color.FromArgb(49, 91, 138);
1082 clearImagesBut.ForeColor = Color.White;
1083 clearImagesBut.Location = new Point(334, 388);
1084 clearImagesBut.Margin = new Padding(7, 6, 7, 6);
1085 clearImagesBut.Name = "clearImagesBut";
1086 clearImagesBut.Size = new Size(113, 58);
1087 clearImagesBut.TabIndex = 62;
1088 clearImagesBut.Text = "Clear";
1089 clearImagesBut.UseVisualStyleBackColor = false;
1090 clearImagesBut.Click += clearSnapsBut_Click;
1091 //
1092 // SettingsTab
1093 //
1094 SettingsTab.BackColor = Color.FromArgb(95, 122, 156);
1095 SettingsTab.Controls.Add(label36);
1096 SettingsTab.Controls.Add(label22);
1097 SettingsTab.Controls.Add(RJoystickStageMoveAmountBox);
1098 SettingsTab.Controls.Add(label24);
1099 SettingsTab.Controls.Add(label15);
1100 SettingsTab.Controls.Add(label3);
1101 SettingsTab.Controls.Add(triggerFocusBox);
1102 SettingsTab.Controls.Add(label14);
1103 SettingsTab.Controls.Add(slicesPerSlideBox);
1104 SettingsTab.Controls.Add(label30);
1105 SettingsTab.Controls.Add(sliceIncrementBox);
1106 SettingsTab.Controls.Add(label31);
1107 SettingsTab.Controls.Add(imagesPerSliceBox);
1108 SettingsTab.Controls.Add(openProfileBut);
1109 SettingsTab.Controls.Add(saveProfileBut);
1110 SettingsTab.Controls.Add(label11);
1111 SettingsTab.Controls.Add(label1);
1112 SettingsTab.Controls.Add(LJoystickStageMoveAmountBox);
1113 SettingsTab.Controls.Add(label10);
1114 SettingsTab.Controls.Add(profilesBox);
1115 SettingsTab.Controls.Add(label6);
1116 SettingsTab.Controls.Add(label5);
1117 SettingsTab.Controls.Add(label7);
1118 SettingsTab.Controls.Add(label4);
1119 SettingsTab.Controls.Add(label8);
1120 SettingsTab.Controls.Add(deadzoneBox);
1121 SettingsTab.Controls.Add(LJoystickLabel);
1122 SettingsTab.Controls.Add(RJoystickLabel);
1123 SettingsTab.Controls.Add(label9);
1124 SettingsTab.Controls.Add(leftTriggerLabel);
1125 SettingsTab.Controls.Add(rightTriggerLabel);
1126 SettingsTab.Controls.Add(label12);
1127 SettingsTab.Controls.Add(YPressedLabel);
1128 SettingsTab.Controls.Add(BPressedLabel);
1129 SettingsTab.Controls.Add(APressedLabel);
1130 SettingsTab.Controls.Add(XPressedLabel);
1131 SettingsTab.Controls.Add(label17);
1132 SettingsTab.Controls.Add(DPadUpLabel);
1133 SettingsTab.Controls.Add(DPadRightLabel);
1134 SettingsTab.Controls.Add(l3PressedLabel);
1135 SettingsTab.Controls.Add(DPadDownLabel);
1136 SettingsTab.Controls.Add(r3PressedLabel);
1137 SettingsTab.Controls.Add(DPadLeftLabel);
1138 SettingsTab.Controls.Add(label25);
1139 SettingsTab.Controls.Add(label13);
1140 SettingsTab.Controls.Add(shoulderLeftLabel);
1141 SettingsTab.Controls.Add(shoulderRightLabel);
1142 SettingsTab.Controls.Add(BackPressedLabel);
1143 SettingsTab.Controls.Add(StartPressedLabel);
1144 SettingsTab.Location = new Point(8, 46);
1145 SettingsTab.Margin = new Padding(7, 6, 7, 6);
1146 SettingsTab.Name = "SettingsTab";
1147 SettingsTab.Padding = new Padding(7, 6, 7, 6);
1148 SettingsTab.Size = new Size(636, 1119);
1149 SettingsTab.TabIndex = 1;
1150 SettingsTab.Text = "Controller Settings";
1151 toolTip.SetToolTip(SettingsTab, "Double click to change button function.");
1152 //
1153 // label36
1154 //
1155 label36.AutoSize = true;
1156 label36.Location = new Point(7, 17);
1157 label36.Margin = new Padding(7, 0, 7, 0);
1158 label36.Name = "label36";
1159 label36.Size = new Size(450, 32);
1160 label36.TabIndex = 72;
1161 label36.Text = "Double click label to set button function.";
1162 //
1163 // label3
1164 //
1165 label3.AutoSize = true;
1166 label3.Location = new Point(22, 845);
1167 label3.Margin = new Padding(7, 0, 7, 0);
1168 label3.Name = "label3";
1169 label3.Size = new Size(171, 32);
1170 label3.TabIndex = 69;
1171 label3.Text = "Slices per slide";
1172 //
1173 // slicesPerSlideBox
1174 //
1175 slicesPerSlideBox.BackColor = Color.FromArgb(49, 91, 138);
1176 slicesPerSlideBox.ForeColor = Color.White;
1177 slicesPerSlideBox.InterceptArrowKeys = false;
1178 slicesPerSlideBox.Location = new Point(196, 845);
1179 slicesPerSlideBox.Margin = new Padding(7, 6, 7, 6);
1180 slicesPerSlideBox.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
1181 slicesPerSlideBox.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
1182 slicesPerSlideBox.Name = "slicesPerSlideBox";
1183 slicesPerSlideBox.Size = new Size(104, 39);
1184 slicesPerSlideBox.TabIndex = 68;
1185 slicesPerSlideBox.Value = new decimal(new int[] { 6, 0, 0, 0 });
1186 //
1187 // label30
1188 //
1189 label30.AutoSize = true;
1190 label30.Location = new Point(317, 783);
1191 label30.Margin = new Padding(7, 0, 7, 0);
1192 label30.Name = "label30";
1193 label30.Size = new Size(178, 32);
1194 label30.TabIndex = 67;
1195 label30.Text = "Slice increment";
1196 //
1197 // sliceIncrementBox
1198 //
1199 sliceIncrementBox.BackColor = Color.FromArgb(49, 91, 138);
1200 sliceIncrementBox.ForeColor = Color.White;
1201 sliceIncrementBox.InterceptArrowKeys = false;
1202 sliceIncrementBox.Location = new Point(319, 843);
1203 sliceIncrementBox.Margin = new Padding(7, 6, 7, 6);
1204 sliceIncrementBox.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
1205 sliceIncrementBox.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
1206 sliceIncrementBox.Name = "sliceIncrementBox";
1207 sliceIncrementBox.Size = new Size(104, 39);
1208 sliceIncrementBox.TabIndex = 66;
1209 sliceIncrementBox.Value = new decimal(new int[] { 4, 0, 0, 0 });
1210 //
1211 // label31
1212 //
1213 label31.AutoSize = true;
1214 label31.Location = new Point(11, 783);
1215 label31.Margin = new Padding(7, 0, 7, 0);
1216 label31.Name = "label31";
1217 label31.Size = new Size(185, 32);
1218 label31.TabIndex = 65;
1219 label31.Text = "Images per slice";
1220 //
1221 // imagesPerSliceBox
1222 //
1223 imagesPerSliceBox.BackColor = Color.FromArgb(49, 91, 138);
1224 imagesPerSliceBox.ForeColor = Color.White;
1225 imagesPerSliceBox.InterceptArrowKeys = false;
1226 imagesPerSliceBox.Location = new Point(199, 781);
1227 imagesPerSliceBox.Margin = new Padding(7, 6, 7, 6);
1228 imagesPerSliceBox.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
1229 imagesPerSliceBox.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
1230 imagesPerSliceBox.Name = "imagesPerSliceBox";
1231 imagesPerSliceBox.Size = new Size(104, 39);
1232 imagesPerSliceBox.TabIndex = 64;
1233 imagesPerSliceBox.Value = new decimal(new int[] { 3, 0, 0, 0 });
1234 //
1235 // openProfileBut
1236 //
1237 openProfileBut.BackColor = Color.FromArgb(49, 91, 138);
1238 openProfileBut.ForeColor = Color.White;
1239 openProfileBut.Location = new Point(409, 710);
1240 openProfileBut.Margin = new Padding(7, 6, 7, 6);
1241 openProfileBut.Name = "openProfileBut";
1242 openProfileBut.Size = new Size(104, 51);
1243 openProfileBut.TabIndex = 63;
1244 openProfileBut.Text = "Open";
1245 openProfileBut.UseVisualStyleBackColor = false;
1246 openProfileBut.Click += openProfileBut_Click;
1247 //
1248 // saveProfileBut
1249 //
1250 saveProfileBut.BackColor = Color.FromArgb(49, 91, 138);
1251 saveProfileBut.ForeColor = Color.White;
1252 saveProfileBut.Location = new Point(303, 710);
1253 saveProfileBut.Margin = new Padding(7, 6, 7, 6);
1254 saveProfileBut.Name = "saveProfileBut";
1255 saveProfileBut.Size = new Size(104, 51);
1256 saveProfileBut.TabIndex = 62;
1257 saveProfileBut.Text = "Save";
1258 saveProfileBut.UseVisualStyleBackColor = false;
1259 saveProfileBut.Click += saveProfileBut_Click;
1260 //
1261 // label1
1262 //
1263 label1.AutoSize = true;
1264 label1.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
1265 label1.Location = new Point(15, 659);
1266 label1.Margin = new Padding(7, 0, 7, 0);
1267 label1.Name = "label1";
1268 label1.Size = new Size(138, 26);
1269 label1.TabIndex = 61;
1270 label1.Text = "User Profile";
1271 //
1272 // profilesBox
1273 //
1274 profilesBox.BackColor = Color.FromArgb(49, 91, 138);
1275 profilesBox.ForeColor = Color.White;
1276 profilesBox.FormattingEnabled = true;
1277 profilesBox.Location = new Point(22, 710);
1278 profilesBox.Margin = new Padding(7, 6, 7, 6);
1279 profilesBox.Name = "profilesBox";
1280 profilesBox.Size = new Size(264, 40);
1281 profilesBox.TabIndex = 60;
1282 profilesBox.Text = "Default";
1283 profilesBox.SelectedIndexChanged += profilesBox_SelectedIndexChanged;
1284 //
1285 // tabContextMenu
1286 //
1287 tabContextMenu.ImageScalingSize = new Size(32, 32);
1288 tabContextMenu.Items.AddRange(new ToolStripItem[] { undockToWindowToolStripMenuItem });
1289 tabContextMenu.Name = "tabContextMenu";
1290 tabContextMenu.Size = new Size(321, 42);
1291 tabContextMenu.Opening += tabContextMenu_Opening;
1292 //
1293 // undockToWindowToolStripMenuItem
1294 //
1295 undockToWindowToolStripMenuItem.Name = "undockToWindowToolStripMenuItem";
1296 undockToWindowToolStripMenuItem.Size = new Size(320, 38);
1297 undockToWindowToolStripMenuItem.Text = "Open In Tool Window";
1298 //
1299 // saveFileDialog
1300 //
1301 saveFileDialog.DefaultExt = "profile";
1302 saveFileDialog.Filter = "Profile File (.profile)|*.profile";
1303 //
1304 // openSnapsFileDialog
1305 //
1306 openSnapsFileDialog.Filter = "Image Files|*.czi;*.tif;*.tiff;*.csv";
1307 openSnapsFileDialog.Multiselect = true;
1308 openSnapsFileDialog.SupportMultiDottedExtensions = true;
1309 openSnapsFileDialog.Title = "Open Image File";
1310 //
1311 // openExeFileDialog
1312 //
1313 openExeFileDialog.Filter = "Executable files (*.exe)|*.exe";
1314 //
1315 // mainWinContextMenuStrip
1316 //
1317 mainWinContextMenuStrip.ImageScalingSize = new Size(32, 32);
1318 mainWinContextMenuStrip.Items.AddRange(new ToolStripItem[] { hideToolStripMenuItem, closeToolStripMenuItem, borderToolStripMenuItem });
1319 mainWinContextMenuStrip.Name = "mainWinContextMenuStrip";
1320 mainWinContextMenuStrip.Size = new Size(320, 118);
1321 //
1322 // hideToolStripMenuItem
1323 //
1324 hideToolStripMenuItem.Name = "hideToolStripMenuItem";
1325 hideToolStripMenuItem.Size = new Size(319, 38);
1326 hideToolStripMenuItem.Text = "Minimize";
1327 hideToolStripMenuItem.Click += hideToolStripMenuItem_Click;
1328 //
1329 // closeToolStripMenuItem
1330 //
1331 closeToolStripMenuItem.Name = "closeToolStripMenuItem";
1332 closeToolStripMenuItem.Size = new Size(319, 38);
1333 closeToolStripMenuItem.Text = "Close";
1334 closeToolStripMenuItem.Click += closeToolStripMenuItem_Click;
1335 //
1336 // borderToolStripMenuItem
1337 //
1338 borderToolStripMenuItem.Name = "borderToolStripMenuItem";
1339 borderToolStripMenuItem.Size = new Size(319, 38);
1340 borderToolStripMenuItem.Text = "Window Border None";
1341 borderToolStripMenuItem.Click += borderToolStripMenuItem_Click;
1342 //
1343 // openImagesDialog
1344 //
1345 openImagesDialog.Filter = "Image Files|*.czi;*.tif;*.tiff;";
1346 openImagesDialog.SupportMultiDottedExtensions = true;
1347 openImagesDialog.Title = "Open Image File";
1348 //
1349 // saveImageDialog
1350 //
1351 saveImageDialog.DefaultExt = "tif";
1352 saveImageDialog.SupportMultiDottedExtensions = true;
1353 //
1354 // Imager
1355 //
1356 AutoScaleDimensions = new SizeF(13F, 32F);
1357 AutoScaleMode = AutoScaleMode.Font;
1358 BackColor = Color.FromArgb(49, 91, 138);
1359 ClientSize = new Size(659, 1239);
1360 ContextMenuStrip = mainWinContextMenuStrip;
1361 Controls.Add(mainTabControl);
1362 Controls.Add(statusStrip);
1363 ForeColor = Color.White;
1364 FormBorderStyle = FormBorderStyle.FixedToolWindow;
1365 Icon = (Icon)resources.GetObject("$this.Icon");
1366 KeyPreview = true;
1367 Margin = new Padding(7, 6, 7, 6);
1368 Name = "Imager";
1369 StartPosition = FormStartPosition.Manual;
1370 Text = "Imager";
1371 FormClosing += MainForm_FormClosing;
1372 KeyDown += MainForm_KeyDown;
1373 statusStrip.ResumeLayout(false);
1374 statusStrip.PerformLayout();
1375 ((System.ComponentModel.ISupportInitialize)RJoystickStageMoveAmountBox).EndInit();
1376 ((System.ComponentModel.ISupportInitialize)triggerFocusBox).EndInit();
1377 ((System.ComponentModel.ISupportInitialize)LJoystickStageMoveAmountBox).EndInit();
1378 ((System.ComponentModel.ISupportInitialize)deadzoneBox).EndInit();
1379 contextMenuStrip2.ResumeLayout(false);
1380 snapContextMenuStrip.ResumeLayout(false);
1381 mainTabControl.ResumeLayout(false);
1382 ImagingTab.ResumeLayout(false);
1383 ImagingTab.PerformLayout();
1384 ((System.ComponentModel.ISupportInitialize)zCoordBox).EndInit();
1385 ((System.ComponentModel.ISupportInitialize)yCoordBox).EndInit();
1386 ((System.ComponentModel.ISupportInitialize)xCoordBox).EndInit();
1387 splitContainer.Panel1.ResumeLayout(false);
1388 splitContainer.Panel2.ResumeLayout(false);
1389 ((System.ComponentModel.ISupportInitialize)splitContainer).EndInit();
1390 splitContainer.ResumeLayout(false);
1391 SettingsTab.ResumeLayout(false);
1392 SettingsTab.PerformLayout();
1393 ((System.ComponentModel.ISupportInitialize)slicesPerSlideBox).EndInit();
1394 ((System.ComponentModel.ISupportInitialize)sliceIncrementBox).EndInit();
1395 ((System.ComponentModel.ISupportInitialize)imagesPerSliceBox).EndInit();
1396 tabContextMenu.ResumeLayout(false);
1397 mainWinContextMenuStrip.ResumeLayout(false);
1398 ResumeLayout(false);
1399 PerformLayout();
1400 }
1401
1402 #endregion
1403 private System.Windows.Forms.Timer statusTimer;
1404 private StatusStrip statusStrip;
1405 private System.Windows.Forms.Timer controllerJoystickUpdate;
1406 private Label label5;
1407 private Label label4;
1408 private NumericUpDown deadzoneBox;
1409 private Label label6;
1410 private Label label7;
1411 private Label label8;
1412 private Label LJoystickLabel;
1413 private Label RJoystickLabel;
1414 private Label label9;
1415 private Label leftTriggerLabel;
1416 private Label rightTriggerLabel;
1417 private Label label11;
1418 private NumericUpDown LJoystickStageMoveAmountBox;
1419 private Label label10;
1420 private Label label12;
1421 private Label YPressedLabel;
1422 private Label BPressedLabel;
1423 private Label APressedLabel;
1424 private Label XPressedLabel;
1425 private Label label17;
1426 private Label DPadLeftLabel;
1427 private Label DPadDownLabel;
1428 private Label DPadRightLabel;
1429 private Label DPadUpLabel;
1430 private Label label13;
1431 private Label shoulderRightLabel;
1432 private Label shoulderLeftLabel;
1433 private Label BackPressedLabel;
1434 private Label StartPressedLabel;
1435 private Label label15;
1436 private NumericUpDown triggerFocusBox;
1437 private Label label14;
1438 private ListBox storedCoordsBox;
1439 private Label label20;
1440 private Button addCoordBut;
1441 private ContextMenuStrip snapContextMenuStrip;
1442 private ToolStripMenuItem goToToolStripMenuItem;
1443 private ToolStripMenuItem deleteToolStripMenuItem;
1444 private Label label21;
1445 private Label lastCoordDistanceLabel;
1446 private Label lastSelectedCoordsLabel;
1447 private Label label23;
1448 private Label label22;
1449 private NumericUpDown RJoystickStageMoveAmountBox;
1450 private Label label24;
1451 private Button clearBut;
1452 private Label label25;
1453 private Label l3PressedLabel;
1454 private Label r3PressedLabel;
1455 private ToolStripStatusLabel statusLabel;
1456 private ToolStripStatusLabel toolStripStatusLabel2;
1457 private Label lastSelectedSnapDistanceLabel;
1458 private Label label27;
1459 private Label lastSnapDistanceLabel;
1460 private Label label29;
1461 private ListBox storedImageBox;
1462 private ToolStripStatusLabel toolStripStatusLabel1;
1463 private System.Windows.Forms.Timer controllerButtonUpdate;
1464 private ToolStripMenuItem goToToolStripMenuItem1;
1465 private ToolStripMenuItem deleteToolStripMenuItem1;
1466 private ContextMenuStrip contextMenuStrip2;
1467 private ToolStripMenuItem clearToolStripMenuItem;
1468 private ToolStripMenuItem clearToolStripMenuItem1;
1469 private CheckBox topMostCheckBox;
1470 private TabControl mainTabControl;
1471 private TabPage ImagingTab;
1472 private TabPage SettingsTab;
1473 private ToolStripMenuItem openFileToolStripMenuItem;
1474 private Button openProfileBut;
1475 private Button saveProfileBut;
1476 private Label label1;
1477 private ComboBox profilesBox;
1478 private Label label3;
1479 private NumericUpDown slicesPerSlideBox;
1480 private Label label30;
1481 private NumericUpDown sliceIncrementBox;
1482 private Label label31;
1483 private NumericUpDown imagesPerSliceBox;
1484 private OpenFileDialog openProfileFileDialog;
1485 private SaveFileDialog saveFileDialog;
1486 private Button clearImagesBut;
1487 private SplitContainer splitContainer;
1488 private Label label32;
1489 private NumericUpDown xCoordBox;
1490 private Button goToLocBox;
1491 private Label label35;
1492 private NumericUpDown zCoordBox;
1493 private Label label34;
1494 private NumericUpDown yCoordBox;
1495 private OpenFileDialog openSnapsFileDialog;
1496 private CheckBox dockToApp;
1497 private ContextMenuStrip tabContextMenu;
1498 private ToolStripMenuItem undockToWindowToolStripMenuItem;
1499 private OpenFileDialog openExeFileDialog;
1500 private ContextMenuStrip mainWinContextMenuStrip;
1501 private ToolStripMenuItem hideToolStripMenuItem;
1502 private ToolStripMenuItem borderToolStripMenuItem;
1503 private ToolStripMenuItem closeToolStripMenuItem;
1504 private ToolTip toolTip;
1505 private OpenFileDialog openImagesDialog;
1506 private ToolStripMenuItem openInImageViewToolStripMenuItem;
1507 private ToolStripMenuItem copyToolStripMenuItem;
1508 private ToolStripMenuItem copyToolStripMenuItem1;
1509 private SaveFileDialog saveImageDialog;
1510 private Label label36;
1511 private Label label26;
1512 }
1513}
1514
AForge.Color Color
AForge.Point Point
System.Drawing.SizeF SizeF
System.Drawing.Size Size
override void Dispose(bool disposing)
Clean up any resources being used.