8 private System.ComponentModel.IContainer components =
null;
14 protected override void Dispose(
bool disposing)
16 if (disposing && (components !=
null))
20 base.Dispose(disposing);
23 #region Windows Form Designer generated code
29 private void InitializeComponent()
31 System.ComponentModel.ComponentResourceManager resources =
new System.ComponentModel.ComponentResourceManager(typeof(
CellImager));
32 helpToolStripMenuItem =
new ToolStripMenuItem();
33 menuStrip1 =
new MenuStrip();
34 clearBut =
new Button();
35 tileYBox =
new NumericUpDown();
37 tileXBox =
new NumericUpDown();
38 tileBox =
new CheckBox();
39 numericRBut =
new RadioButton();
40 medianRBut =
new RadioButton();
41 maxHeightLabel =
new Label();
42 maxHeightBar =
new TrackBar();
43 maxWidthLabel =
new Label();
44 maxWidthBar =
new TrackBar();
45 detectBut =
new Button();
46 comboBox =
new ComboBox();
47 minHeightLabel =
new Label();
48 minHeightBar =
new TrackBar();
50 imageAllBut =
new Button();
51 thresholdBar =
new TrackBar();
52 imageCurBut =
new Button();
53 thresholdLabel =
new Label();
54 minWidthLabel =
new Label();
55 minWidthBar =
new TrackBar();
56 imageSplitContainer =
new SplitContainer();
57 pictureBox =
new PictureBox();
58 chanBox =
new NumericUpDown();
61 rgbBox =
new NumericUpDown();
62 objectivesBox =
new ComboBox();
64 listView =
new ListView();
65 menuStrip1.SuspendLayout();
66 ((System.ComponentModel.ISupportInitialize)tileYBox).BeginInit();
67 ((System.ComponentModel.ISupportInitialize)tileXBox).BeginInit();
68 ((System.ComponentModel.ISupportInitialize)maxHeightBar).BeginInit();
69 ((System.ComponentModel.ISupportInitialize)maxWidthBar).BeginInit();
70 ((System.ComponentModel.ISupportInitialize)minHeightBar).BeginInit();
71 ((System.ComponentModel.ISupportInitialize)thresholdBar).BeginInit();
72 ((System.ComponentModel.ISupportInitialize)minWidthBar).BeginInit();
73 ((System.ComponentModel.ISupportInitialize)imageSplitContainer).BeginInit();
74 imageSplitContainer.Panel1.SuspendLayout();
75 imageSplitContainer.SuspendLayout();
76 ((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
77 ((System.ComponentModel.ISupportInitialize)chanBox).BeginInit();
78 ((System.ComponentModel.ISupportInitialize)rgbBox).BeginInit();
83 helpToolStripMenuItem.Name =
"helpToolStripMenuItem";
84 helpToolStripMenuItem.Size =
new Size(44, 20);
85 helpToolStripMenuItem.Text =
"Help";
86 helpToolStripMenuItem.Click += helpToolStripMenuItem_Click;
90 menuStrip1.Items.AddRange(
new ToolStripItem[] { helpToolStripMenuItem });
91 menuStrip1.Location =
new Point(0, 0);
92 menuStrip1.Name =
"menuStrip1";
93 menuStrip1.Size =
new Size(800, 24);
94 menuStrip1.TabIndex = 10;
95 menuStrip1.Text =
"menuStrip1";
99 clearBut.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
100 clearBut.BackColor =
Color.FromArgb(49, 91, 138);
101 clearBut.Location =
new Point(482, 443);
102 clearBut.Name =
"clearBut";
103 clearBut.Size =
new Size(96, 23);
104 clearBut.TabIndex = 24;
105 clearBut.Text =
"Clear Viewport";
106 clearBut.UseVisualStyleBackColor =
false;
107 clearBut.Click += clearBut_Click;
111 tileYBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
112 tileYBox.BackColor =
Color.FromArgb(49, 91, 138);
113 tileYBox.ForeColor =
Color.White;
114 tileYBox.Location =
new Point(428, 512);
115 tileYBox.Minimum =
new decimal(
new int[] { 1, 0, 0, 0 });
116 tileYBox.Name =
"tileYBox";
117 tileYBox.Size =
new Size(46, 23);
118 tileYBox.TabIndex = 23;
119 tileYBox.Value =
new decimal(
new int[] { 2, 0, 0, 0 });
123 label2.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
124 label2.AutoSize =
true;
125 label2.Location =
new Point(408, 517);
126 label2.Name =
"label2";
127 label2.Size =
new Size(14, 15);
128 label2.TabIndex = 22;
133 tileXBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
134 tileXBox.BackColor =
Color.FromArgb(49, 91, 138);
135 tileXBox.ForeColor =
Color.White;
136 tileXBox.Location =
new Point(356, 512);
137 tileXBox.Minimum =
new decimal(
new int[] { 1, 0, 0, 0 });
138 tileXBox.Name =
"tileXBox";
139 tileXBox.Size =
new Size(46, 23);
140 tileXBox.TabIndex = 21;
141 tileXBox.Value =
new decimal(
new int[] { 2, 0, 0, 0 });
145 tileBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
146 tileBox.AutoSize =
true;
147 tileBox.Location =
new Point(306, 513);
148 tileBox.Name =
"tileBox";
149 tileBox.Size =
new Size(44, 19);
150 tileBox.TabIndex = 20;
151 tileBox.Text =
"Tile";
152 tileBox.UseVisualStyleBackColor =
true;
156 numericRBut.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
157 numericRBut.AutoSize =
true;
158 numericRBut.Location =
new Point(305, 389);
159 numericRBut.Name =
"numericRBut";
160 numericRBut.Size =
new Size(71, 19);
161 numericRBut.TabIndex = 19;
162 numericRBut.Text =
"Numeric";
163 numericRBut.UseVisualStyleBackColor =
true;
167 medianRBut.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
168 medianRBut.AutoSize =
true;
169 medianRBut.Checked =
true;
170 medianRBut.ForeColor =
Color.White;
171 medianRBut.Location =
new Point(305, 360);
172 medianRBut.Name =
"medianRBut";
173 medianRBut.Size =
new Size(114, 19);
174 medianRBut.TabIndex = 16;
175 medianRBut.TabStop =
true;
176 medianRBut.Text =
"Statistics Median";
177 medianRBut.UseVisualStyleBackColor =
true;
181 maxHeightLabel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
182 maxHeightLabel.AutoSize =
true;
183 maxHeightLabel.Location =
new Point(212, 537);
184 maxHeightLabel.Name =
"maxHeightLabel";
185 maxHeightLabel.Size =
new Size(72, 15);
186 maxHeightLabel.TabIndex = 15;
187 maxHeightLabel.Text =
"Max Height:";
191 maxHeightBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
192 maxHeightBar.LargeChange = 1;
193 maxHeightBar.Location =
new Point(0, 541);
194 maxHeightBar.Maximum = 5000;
195 maxHeightBar.Minimum = 1;
196 maxHeightBar.Name =
"maxHeightBar";
197 maxHeightBar.Size =
new Size(203, 45);
198 maxHeightBar.TabIndex = 14;
199 maxHeightBar.Value = 500;
200 maxHeightBar.Scroll += maxHeightBar_Scroll;
204 maxWidthLabel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
205 maxWidthLabel.AutoSize =
true;
206 maxWidthLabel.Location =
new Point(212, 500);
207 maxWidthLabel.Name =
"maxWidthLabel";
208 maxWidthLabel.Size =
new Size(68, 15);
209 maxWidthLabel.TabIndex = 13;
210 maxWidthLabel.Text =
"Max Width:";
214 maxWidthBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
215 maxWidthBar.LargeChange = 1;
216 maxWidthBar.Location =
new Point(0, 500);
217 maxWidthBar.Maximum = 5000;
218 maxWidthBar.Minimum = 1;
219 maxWidthBar.Name =
"maxWidthBar";
220 maxWidthBar.Size =
new Size(203, 45);
221 maxWidthBar.TabIndex = 12;
222 maxWidthBar.Value = 500;
223 maxWidthBar.Scroll += maxWidthBar_Scroll;
227 detectBut.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
228 detectBut.BackColor =
Color.FromArgb(49, 91, 138);
229 detectBut.Location =
new Point(482, 356);
230 detectBut.Name =
"detectBut";
231 detectBut.Size =
new Size(96, 23);
232 detectBut.TabIndex = 11;
233 detectBut.Text =
"Detect";
234 detectBut.UseVisualStyleBackColor =
false;
235 detectBut.Click += detectBut_Click;
239 comboBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
240 comboBox.BackColor =
Color.FromArgb(49, 91, 138);
241 comboBox.ForeColor =
Color.White;
242 comboBox.FormattingEnabled =
true;
243 comboBox.Location =
new Point(305, 484);
244 comboBox.Name =
"comboBox";
245 comboBox.Size =
new Size(273, 23);
246 comboBox.TabIndex = 10;
250 minHeightLabel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
251 minHeightLabel.AutoSize =
true;
252 minHeightLabel.Location =
new Point(212, 465);
253 minHeightLabel.Name =
"minHeightLabel";
254 minHeightLabel.Size =
new Size(70, 15);
255 minHeightLabel.TabIndex = 9;
256 minHeightLabel.Text =
"Min Height:";
260 minHeightBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
261 minHeightBar.LargeChange = 1;
262 minHeightBar.Location =
new Point(0, 462);
263 minHeightBar.Maximum = 5000;
264 minHeightBar.Name =
"minHeightBar";
265 minHeightBar.Size =
new Size(203, 45);
266 minHeightBar.TabIndex = 8;
267 minHeightBar.Value = 2;
268 minHeightBar.Scroll += minHeightBar_Scroll;
272 label1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
273 label1.AutoSize =
true;
274 label1.Location =
new Point(305, 466);
275 label1.Name =
"label1";
276 label1.Size =
new Size(84, 15);
278 label1.Text =
"Imaging Script";
282 imageAllBut.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
283 imageAllBut.BackColor =
Color.FromArgb(49, 91, 138);
284 imageAllBut.Location =
new Point(482, 414);
285 imageAllBut.Name =
"imageAllBut";
286 imageAllBut.Size =
new Size(96, 23);
287 imageAllBut.TabIndex = 6;
288 imageAllBut.Text =
"Image All";
289 imageAllBut.UseVisualStyleBackColor =
false;
290 imageAllBut.Click += imageAllBut_Click;
294 thresholdBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
295 thresholdBar.Location =
new Point(0, 385);
296 thresholdBar.Maximum = 65535;
297 thresholdBar.Name =
"thresholdBar";
298 thresholdBar.Size =
new Size(203, 45);
299 thresholdBar.TabIndex = 0;
300 thresholdBar.Scroll += thresholdBar_Scroll;
304 imageCurBut.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
305 imageCurBut.BackColor =
Color.FromArgb(49, 91, 138);
306 imageCurBut.Location =
new Point(482, 385);
307 imageCurBut.Name =
"imageCurBut";
308 imageCurBut.Size =
new Size(96, 23);
309 imageCurBut.TabIndex = 5;
310 imageCurBut.Text =
"Image Selected";
311 imageCurBut.UseVisualStyleBackColor =
false;
312 imageCurBut.Click += imageCurBut_Click;
316 thresholdLabel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
317 thresholdLabel.AutoSize =
true;
318 thresholdLabel.Location =
new Point(212, 389);
319 thresholdLabel.Name =
"thresholdLabel";
320 thresholdLabel.Size =
new Size(62, 15);
321 thresholdLabel.TabIndex = 1;
322 thresholdLabel.Text =
"Threshold:";
326 minWidthLabel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
327 minWidthLabel.AutoSize =
true;
328 minWidthLabel.Location =
new Point(212, 428);
329 minWidthLabel.Name =
"minWidthLabel";
330 minWidthLabel.Size =
new Size(66, 15);
331 minWidthLabel.TabIndex = 4;
332 minWidthLabel.Text =
"Min Width:";
336 minWidthBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
337 minWidthBar.LargeChange = 1;
338 minWidthBar.Location =
new Point(0, 421);
339 minWidthBar.Maximum = 5000;
340 minWidthBar.Name =
"minWidthBar";
341 minWidthBar.Size =
new Size(203, 45);
342 minWidthBar.TabIndex = 3;
343 minWidthBar.Value = 2;
344 minWidthBar.Scroll += sizeBar_Scroll;
348 imageSplitContainer.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
349 imageSplitContainer.Location =
new Point(0, 27);
350 imageSplitContainer.Name =
"imageSplitContainer";
354 imageSplitContainer.Panel1.Controls.Add(pictureBox);
355 imageSplitContainer.Size =
new Size(800, 319);
356 imageSplitContainer.SplitterDistance = 387;
357 imageSplitContainer.TabIndex = 8;
361 pictureBox.Dock = DockStyle.Fill;
362 pictureBox.Location =
new Point(0, 0);
363 pictureBox.Name =
"pictureBox";
364 pictureBox.Size =
new Size(387, 319);
365 pictureBox.SizeMode = PictureBoxSizeMode.StretchImage;
366 pictureBox.TabIndex = 0;
367 pictureBox.TabStop =
false;
368 pictureBox.Paint += pictureBox_Paint;
372 chanBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
373 chanBox.BackColor =
Color.FromArgb(49, 91, 138);
374 chanBox.ForeColor =
Color.White;
375 chanBox.Location =
new Point(69, 355);
376 chanBox.Minimum =
new decimal(
new int[] { 1, 0, 0, 0 });
377 chanBox.Name =
"chanBox";
378 chanBox.Size =
new Size(46, 23);
379 chanBox.TabIndex = 25;
380 chanBox.Value =
new decimal(
new int[] { 1, 0, 0, 0 });
384 label3.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
385 label3.AutoSize =
true;
386 label3.Location =
new Point(12, 357);
387 label3.Name =
"label3";
388 label3.Size =
new Size(51, 15);
389 label3.TabIndex = 26;
390 label3.Text =
"Channel";
394 label4.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
395 label4.AutoSize =
true;
396 label4.Location =
new Point(121, 357);
397 label4.Name =
"label4";
398 label4.Size =
new Size(76, 15);
399 label4.TabIndex = 28;
400 label4.Text =
"RGB Channel";
404 rgbBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
405 rgbBox.BackColor =
Color.FromArgb(49, 91, 138);
406 rgbBox.ForeColor =
Color.White;
407 rgbBox.Location =
new Point(203, 355);
408 rgbBox.Maximum =
new decimal(
new int[] { 3, 0, 0, 0 });
409 rgbBox.Minimum =
new decimal(
new int[] { 1, 0, 0, 0 });
410 rgbBox.Name =
"rgbBox";
411 rgbBox.Size =
new Size(46, 23);
412 rgbBox.TabIndex = 27;
413 rgbBox.Value =
new decimal(
new int[] { 1, 0, 0, 0 });
417 objectivesBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
418 objectivesBox.BackColor =
Color.FromArgb(49, 91, 138);
419 objectivesBox.ForeColor =
Color.White;
420 objectivesBox.FormattingEnabled =
true;
421 objectivesBox.Location =
new Point(368, 541);
422 objectivesBox.Name =
"objectivesBox";
423 objectivesBox.Size =
new Size(121, 23);
424 objectivesBox.TabIndex = 29;
428 label5.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
429 label5.AutoSize =
true;
430 label5.Location =
new Point(305, 544);
431 label5.Name =
"label5";
432 label5.Size =
new Size(57, 15);
433 label5.TabIndex = 30;
434 label5.Text =
"Objective";
438 listView.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
439 listView.BackColor =
Color.FromArgb(49, 91, 138);
440 listView.ForeColor =
Color.White;
441 listView.Location =
new Point(584, 355);
442 listView.Name =
"listView";
443 listView.Size =
new Size(204, 214);
444 listView.TabIndex = 31;
445 listView.UseCompatibleStateImageBehavior =
false;
446 listView.View = View.List;
447 listView.SelectedIndexChanged += listView_SelectedIndexChanged;
451 AutoScaleDimensions =
new SizeF(7F, 15F);
452 AutoScaleMode = AutoScaleMode.Font;
453 BackColor =
Color.FromArgb(95, 122, 156);
454 ClientSize =
new Size(800, 581);
455 Controls.Add(listView);
456 Controls.Add(label5);
457 Controls.Add(objectivesBox);
458 Controls.Add(label4);
459 Controls.Add(rgbBox);
460 Controls.Add(label3);
461 Controls.Add(chanBox);
462 Controls.Add(clearBut);
463 Controls.Add(menuStrip1);
464 Controls.Add(tileYBox);
465 Controls.Add(imageSplitContainer);
466 Controls.Add(label2);
467 Controls.Add(maxWidthBar);
468 Controls.Add(tileXBox);
469 Controls.Add(minWidthBar);
470 Controls.Add(tileBox);
471 Controls.Add(minWidthLabel);
472 Controls.Add(numericRBut);
473 Controls.Add(thresholdLabel);
474 Controls.Add(imageCurBut);
475 Controls.Add(thresholdBar);
476 Controls.Add(medianRBut);
477 Controls.Add(imageAllBut);
478 Controls.Add(maxHeightLabel);
479 Controls.Add(label1);
480 Controls.Add(maxHeightBar);
481 Controls.Add(minHeightBar);
482 Controls.Add(maxWidthLabel);
483 Controls.Add(minHeightLabel);
484 Controls.Add(comboBox);
485 Controls.Add(detectBut);
486 ForeColor =
Color.White;
487 Icon = (Icon)resources.GetObject(
"$this.Icon");
489 Text =
"Cell Imager";
490 FormClosing += CellImager_FormClosing;
491 menuStrip1.ResumeLayout(
false);
492 menuStrip1.PerformLayout();
493 ((System.ComponentModel.ISupportInitialize)tileYBox).EndInit();
494 ((System.ComponentModel.ISupportInitialize)tileXBox).EndInit();
495 ((System.ComponentModel.ISupportInitialize)maxHeightBar).EndInit();
496 ((System.ComponentModel.ISupportInitialize)maxWidthBar).EndInit();
497 ((System.ComponentModel.ISupportInitialize)minHeightBar).EndInit();
498 ((System.ComponentModel.ISupportInitialize)thresholdBar).EndInit();
499 ((System.ComponentModel.ISupportInitialize)minWidthBar).EndInit();
500 imageSplitContainer.Panel1.ResumeLayout(
false);
501 ((System.ComponentModel.ISupportInitialize)imageSplitContainer).EndInit();
502 imageSplitContainer.ResumeLayout(
false);
503 ((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
504 ((System.ComponentModel.ISupportInitialize)chanBox).EndInit();
505 ((System.ComponentModel.ISupportInitialize)rgbBox).EndInit();
512 private ToolStripMenuItem helpToolStripMenuItem;
513 private MenuStrip menuStrip1;
514 private Button clearBut;
515 private NumericUpDown tileYBox;
516 private Label label2;
517 private NumericUpDown tileXBox;
518 private CheckBox tileBox;
519 private RadioButton numericRBut;
520 private RadioButton medianRBut;
521 private Label maxHeightLabel;
522 private TrackBar maxHeightBar;
523 private Label maxWidthLabel;
524 private TrackBar maxWidthBar;
525 private Button detectBut;
526 private ComboBox comboBox;
527 private Label minHeightLabel;
528 private TrackBar minHeightBar;
529 private Label label1;
530 private Button imageAllBut;
531 private TrackBar thresholdBar;
532 private Button imageCurBut;
533 private Label thresholdLabel;
534 private Label minWidthLabel;
535 private TrackBar minWidthBar;
536 private SplitContainer imageSplitContainer;
537 private PictureBox pictureBox;
538 private NumericUpDown chanBox;
539 private Label label3;
540 private Label label4;
541 private NumericUpDown rgbBox;
542 private ComboBox objectivesBox;
543 private Label label5;
544 private ListView listView;