/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.redSlider = new PhotoBrushProject.ColorSlider();
     this.fillRBox = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.maxRBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.minRBox = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.greenSlider = new PhotoBrushProject.ColorSlider();
     this.fillGBox = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.maxGBox = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.minGBox = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.blueSlider = new PhotoBrushProject.ColorSlider();
     this.fillBBox = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.maxBBox = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.minBBox = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.okButton = new System.Windows.Forms.Button();
     this.cancelButton = new System.Windows.Forms.Button();
     this.label10 = new System.Windows.Forms.Label();
     this.redFillTypeCombo = new System.Windows.Forms.ComboBox();
     this.greenFillTypeCombo = new System.Windows.Forms.ComboBox();
     this.blueFillTypeCombo = new System.Windows.Forms.ComboBox();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.redSlider);
     this.groupBox1.Controls.Add(this.fillRBox);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.maxRBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.minRBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(280, 75);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Red";
     //
     // redSlider
     //
     this.redSlider.Color2 = System.Drawing.Color.Red;
     this.redSlider.Location = new System.Drawing.Point(8, 45);
     this.redSlider.Name = "redSlider";
     this.redSlider.Size = new System.Drawing.Size(262, 23);
     this.redSlider.TabIndex = 6;
     this.redSlider.TabStop = false;
     this.redSlider.Type = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.redSlider.ValuesChanged += new System.EventHandler(this.redSlider_ValuesChanged);
     //
     // fillRBox
     //
     this.fillRBox.Location = new System.Drawing.Point(218, 20);
     this.fillRBox.Name = "fillRBox";
     this.fillRBox.Size = new System.Drawing.Size(50, 20);
     this.fillRBox.TabIndex = 5;
     this.fillRBox.TextChanged += new System.EventHandler(this.fillRBox_TextChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(190, 23);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(30, 14);
     this.label3.TabIndex = 4;
     this.label3.Text = "Fill:";
     //
     // maxRBox
     //
     this.maxRBox.Location = new System.Drawing.Point(130, 20);
     this.maxRBox.Name = "maxRBox";
     this.maxRBox.Size = new System.Drawing.Size(50, 20);
     this.maxRBox.TabIndex = 3;
     this.maxRBox.TextChanged += new System.EventHandler(this.maxRBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(100, 23);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(30, 14);
     this.label2.TabIndex = 2;
     this.label2.Text = "Max:";
     //
     // minRBox
     //
     this.minRBox.Location = new System.Drawing.Point(40, 20);
     this.minRBox.Name = "minRBox";
     this.minRBox.Size = new System.Drawing.Size(50, 20);
     this.minRBox.TabIndex = 1;
     this.minRBox.TextChanged += new System.EventHandler(this.minRBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 23);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(30, 14);
     this.label1.TabIndex = 0;
     this.label1.Text = "Min:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.greenSlider);
     this.groupBox2.Controls.Add(this.fillGBox);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.maxGBox);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.minGBox);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Location = new System.Drawing.Point(10, 100);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(280, 75);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Green";
     //
     // greenSlider
     //
     this.greenSlider.Color2 = System.Drawing.Color.Lime;
     this.greenSlider.Location = new System.Drawing.Point(8, 45);
     this.greenSlider.Name = "greenSlider";
     this.greenSlider.Size = new System.Drawing.Size(262, 23);
     this.greenSlider.TabIndex = 6;
     this.greenSlider.TabStop = false;
     this.greenSlider.Type = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.greenSlider.ValuesChanged += new System.EventHandler(this.greenSlider_ValuesChanged);
     //
     // fillGBox
     //
     this.fillGBox.Location = new System.Drawing.Point(218, 20);
     this.fillGBox.Name = "fillGBox";
     this.fillGBox.Size = new System.Drawing.Size(50, 20);
     this.fillGBox.TabIndex = 5;
     this.fillGBox.TextChanged += new System.EventHandler(this.fillGBox_TextChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(190, 23);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(30, 14);
     this.label4.TabIndex = 4;
     this.label4.Text = "Fill:";
     //
     // maxGBox
     //
     this.maxGBox.Location = new System.Drawing.Point(130, 20);
     this.maxGBox.Name = "maxGBox";
     this.maxGBox.Size = new System.Drawing.Size(50, 20);
     this.maxGBox.TabIndex = 3;
     this.maxGBox.TextChanged += new System.EventHandler(this.maxGBox_TextChanged);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(100, 23);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(30, 14);
     this.label5.TabIndex = 2;
     this.label5.Text = "Max:";
     //
     // minGBox
     //
     this.minGBox.Location = new System.Drawing.Point(40, 20);
     this.minGBox.Name = "minGBox";
     this.minGBox.Size = new System.Drawing.Size(50, 20);
     this.minGBox.TabIndex = 1;
     this.minGBox.TextChanged += new System.EventHandler(this.minGBox_TextChanged);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 23);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(30, 14);
     this.label6.TabIndex = 0;
     this.label6.Text = "Min:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.blueSlider);
     this.groupBox3.Controls.Add(this.fillBBox);
     this.groupBox3.Controls.Add(this.label7);
     this.groupBox3.Controls.Add(this.maxBBox);
     this.groupBox3.Controls.Add(this.label8);
     this.groupBox3.Controls.Add(this.minBBox);
     this.groupBox3.Controls.Add(this.label9);
     this.groupBox3.Location = new System.Drawing.Point(10, 190);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(280, 75);
     this.groupBox3.TabIndex = 2;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Blue";
     //
     // blueSlider
     //
     this.blueSlider.Color2 = System.Drawing.Color.Blue;
     this.blueSlider.Location = new System.Drawing.Point(8, 45);
     this.blueSlider.Name = "blueSlider";
     this.blueSlider.Size = new System.Drawing.Size(262, 23);
     this.blueSlider.TabIndex = 6;
     this.blueSlider.TabStop = false;
     this.blueSlider.Type = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.blueSlider.ValuesChanged += new System.EventHandler(this.blueSlider_ValuesChanged);
     //
     // fillBBox
     //
     this.fillBBox.Location = new System.Drawing.Point(218, 20);
     this.fillBBox.Name = "fillBBox";
     this.fillBBox.Size = new System.Drawing.Size(50, 20);
     this.fillBBox.TabIndex = 5;
     this.fillBBox.TextChanged += new System.EventHandler(this.fillBBox_TextChanged);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(190, 23);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(30, 14);
     this.label7.TabIndex = 4;
     this.label7.Text = "Fill:";
     //
     // maxBBox
     //
     this.maxBBox.Location = new System.Drawing.Point(130, 20);
     this.maxBBox.Name = "maxBBox";
     this.maxBBox.Size = new System.Drawing.Size(50, 20);
     this.maxBBox.TabIndex = 3;
     this.maxBBox.TextChanged += new System.EventHandler(this.maxBBox_TextChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(100, 23);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(30, 14);
     this.label8.TabIndex = 2;
     this.label8.Text = "Max:";
     //
     // minBBox
     //
     this.minBBox.Location = new System.Drawing.Point(40, 20);
     this.minBBox.Name = "minBBox";
     this.minBBox.Size = new System.Drawing.Size(50, 20);
     this.minBBox.TabIndex = 1;
     this.minBBox.TextChanged += new System.EventHandler(this.minBBox_TextChanged);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(10, 23);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(30, 14);
     this.label9.TabIndex = 0;
     this.label9.Text = "Min:";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.filterPreview);
     this.groupBox4.Location = new System.Drawing.Point(300, 10);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(170, 175);
     this.groupBox4.TabIndex = 3;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name = "filterPreview";
     this.filterPreview.Size = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.TabStop = false;
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(152, 295);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 10;
     this.okButton.Text = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(252, 295);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 11;
     this.cancelButton.Text = "Cancel";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(300, 198);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(67, 14);
     this.label10.TabIndex = 4;
     this.label10.Text = "Red fill type:";
     //
     // redFillTypeCombo
     //
     this.redFillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.redFillTypeCombo.Items.AddRange(new object[] {
     "Outside",
     "Inside"});
     this.redFillTypeCombo.Location = new System.Drawing.Point(380, 195);
     this.redFillTypeCombo.Name = "redFillTypeCombo";
     this.redFillTypeCombo.Size = new System.Drawing.Size(90, 21);
     this.redFillTypeCombo.TabIndex = 5;
     this.redFillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.redFillTypeCombo_SelectedIndexChanged);
     //
     // greenFillTypeCombo
     //
     this.greenFillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.greenFillTypeCombo.Items.AddRange(new object[] {
     "Outside",
     "Inside"});
     this.greenFillTypeCombo.Location = new System.Drawing.Point(380, 220);
     this.greenFillTypeCombo.Name = "greenFillTypeCombo";
     this.greenFillTypeCombo.Size = new System.Drawing.Size(90, 21);
     this.greenFillTypeCombo.TabIndex = 7;
     this.greenFillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.greenFillTypeCombo_SelectedIndexChanged);
     //
     // blueFillTypeCombo
     //
     this.blueFillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.blueFillTypeCombo.Items.AddRange(new object[] {
     "Outside",
     "Inside"});
     this.blueFillTypeCombo.Location = new System.Drawing.Point(380, 245);
     this.blueFillTypeCombo.Name = "blueFillTypeCombo";
     this.blueFillTypeCombo.Size = new System.Drawing.Size(90, 21);
     this.blueFillTypeCombo.TabIndex = 9;
     this.blueFillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.blueFillTypeCombo_SelectedIndexChanged);
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(300, 223);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(77, 14);
     this.label11.TabIndex = 6;
     this.label11.Text = "Green fill type:";
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(300, 248);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(67, 14);
     this.label12.TabIndex = 8;
     this.label12.Text = "Blue fill type:";
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location = new System.Drawing.Point(10, 275);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(460, 2);
     this.pictureBox1.TabIndex = 12;
     this.pictureBox1.TabStop = false;
     //
     // ChannelFilteringForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor = System.Drawing.SystemColors.Window;
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(479, 328);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.blueFillTypeCombo);
     this.Controls.Add(this.greenFillTypeCombo);
     this.Controls.Add(this.redFillTypeCombo);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ChannelFilteringForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Channel Filtering";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.cancelButton = new System.Windows.Forms.Button();
     this.okButton = new System.Windows.Forms.Button();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.outSlider = new PhotoBrushProject.ColorSlider();
     this.pictureBox3 = new System.Windows.Forms.PictureBox();
     this.outMaxBox = new System.Windows.Forms.TextBox();
     this.outMinBox = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.inSlider = new PhotoBrushProject.ColorSlider();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.histogram = new PhotoBrushProject.Histogram();
     this.label2 = new System.Windows.Forms.Label();
     this.inMinBox = new System.Windows.Forms.TextBox();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.label1 = new System.Windows.Forms.Label();
     this.inMaxBox = new System.Windows.Forms.TextBox();
     this.componentCombo = new System.Windows.Forms.ComboBox();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(385, 300);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 42;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(295, 300);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 41;
     this.okButton.Text = "Ok";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.filterPreview);
     this.groupBox4.Location = new System.Drawing.Point(290, 10);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(170, 175);
     this.groupBox4.TabIndex = 40;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name = "filterPreview";
     this.filterPreview.Size = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.TabStop = false;
     //
     // outSlider
     //
     this.outSlider.Location = new System.Drawing.Point(8, 295);
     this.outSlider.Name = "outSlider";
     this.outSlider.Size = new System.Drawing.Size(262, 20);
     this.outSlider.TabIndex = 39;
     this.outSlider.TabStop = false;
     this.outSlider.ValuesChanged += new System.EventHandler(this.outSlider_ValuesChanged);
     //
     // pictureBox3
     //
     this.pictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox3.Location = new System.Drawing.Point(10, 323);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new System.Drawing.Size(258, 2);
     this.pictureBox3.TabIndex = 38;
     this.pictureBox3.TabStop = false;
     //
     // outMaxBox
     //
     this.outMaxBox.Location = new System.Drawing.Point(140, 270);
     this.outMaxBox.Name = "outMaxBox";
     this.outMaxBox.Size = new System.Drawing.Size(50, 20);
     this.outMaxBox.TabIndex = 37;
     this.outMaxBox.TextChanged += new System.EventHandler(this.outMaxBox_TextChanged);
     //
     // outMinBox
     //
     this.outMinBox.Location = new System.Drawing.Point(80, 270);
     this.outMinBox.Name = "outMinBox";
     this.outMinBox.Size = new System.Drawing.Size(50, 20);
     this.outMinBox.TabIndex = 36;
     this.outMinBox.TextChanged += new System.EventHandler(this.outMinBox_TextChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10, 273);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(73, 17);
     this.label3.TabIndex = 35;
     this.label3.Text = "&Output levels:";
     //
     // inSlider
     //
     this.inSlider.Location = new System.Drawing.Point(8, 232);
     this.inSlider.Max = 253;
     this.inSlider.Min = 2;
     this.inSlider.Name = "inSlider";
     this.inSlider.Size = new System.Drawing.Size(262, 20);
     this.inSlider.TabIndex = 34;
     this.inSlider.TabStop = false;
     this.inSlider.ValuesChanged += new System.EventHandler(this.inSlider_ValuesChanged);
     //
     // pictureBox2
     //
     this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox2.Location = new System.Drawing.Point(10, 260);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(258, 2);
     this.pictureBox2.TabIndex = 33;
     this.pictureBox2.TabStop = false;
     //
     // histogram
     //
     this.histogram.Location = new System.Drawing.Point(10, 75);
     this.histogram.Name = "histogram";
     this.histogram.Size = new System.Drawing.Size(258, 162);
     this.histogram.TabIndex = 32;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 53);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(65, 17);
     this.label2.TabIndex = 29;
     this.label2.Text = "&Input levels:";
     //
     // inMinBox
     //
     this.inMinBox.Location = new System.Drawing.Point(80, 50);
     this.inMinBox.Name = "inMinBox";
     this.inMinBox.Size = new System.Drawing.Size(50, 20);
     this.inMinBox.TabIndex = 30;
     this.inMinBox.TextChanged += new System.EventHandler(this.inMinBox_TextChanged);
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location = new System.Drawing.Point(10, 40);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(258, 2);
     this.pictureBox1.TabIndex = 28;
     this.pictureBox1.TabStop = false;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 15);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(70, 15);
     this.label1.TabIndex = 26;
     this.label1.Text = "Component:";
     //
     // inMaxBox
     //
     this.inMaxBox.Location = new System.Drawing.Point(140, 50);
     this.inMaxBox.Name = "inMaxBox";
     this.inMaxBox.Size = new System.Drawing.Size(50, 20);
     this.inMaxBox.TabIndex = 31;
     this.inMaxBox.TextChanged += new System.EventHandler(this.inMaxBox_TextChanged);
     //
     // componentCombo
     //
     this.componentCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.componentCombo.Items.AddRange(new object[] {
     "Y Channel",
     "Cb Channel",
     "Cr Channel"});
     this.componentCombo.Location = new System.Drawing.Point(80, 10);
     this.componentCombo.Name = "componentCombo";
     this.componentCombo.Size = new System.Drawing.Size(90, 21);
     this.componentCombo.TabIndex = 27;
     this.componentCombo.SelectedIndexChanged += new System.EventHandler(this.componentCombo_SelectedIndexChanged);
     //
     // YCbCrLinearForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(469, 333);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.outSlider);
     this.Controls.Add(this.pictureBox3);
     this.Controls.Add(this.outMaxBox);
     this.Controls.Add(this.outMinBox);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.inSlider);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.histogram);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.inMinBox);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.inMaxBox);
     this.Controls.Add(this.componentCombo);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "YCbCrLinearForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "YCbCr Linear Correction";
     this.groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.cancelButton   = new System.Windows.Forms.Button();
     this.okButton       = new System.Windows.Forms.Button();
     this.groupBox4      = new System.Windows.Forms.GroupBox();
     this.filterPreview  = new PhotoBrushProject.FilterPreview();
     this.outSlider      = new PhotoBrushProject.ColorSlider();
     this.pictureBox3    = new System.Windows.Forms.PictureBox();
     this.outMaxBox      = new System.Windows.Forms.TextBox();
     this.outMinBox      = new System.Windows.Forms.TextBox();
     this.label3         = new System.Windows.Forms.Label();
     this.inSlider       = new PhotoBrushProject.ColorSlider();
     this.pictureBox2    = new System.Windows.Forms.PictureBox();
     this.histogram      = new PhotoBrushProject.Histogram();
     this.label2         = new System.Windows.Forms.Label();
     this.inMinBox       = new System.Windows.Forms.TextBox();
     this.pictureBox1    = new System.Windows.Forms.PictureBox();
     this.label1         = new System.Windows.Forms.Label();
     this.inMaxBox       = new System.Windows.Forms.TextBox();
     this.componentCombo = new System.Windows.Forms.ComboBox();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(385, 300);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 42;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(295, 300);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 41;
     this.okButton.Text         = "Ok";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.filterPreview);
     this.groupBox4.Location = new System.Drawing.Point(290, 10);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(170, 175);
     this.groupBox4.TabIndex = 40;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image    = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name     = "filterPreview";
     this.filterPreview.Size     = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.TabStop  = false;
     //
     // outSlider
     //
     this.outSlider.Location       = new System.Drawing.Point(8, 295);
     this.outSlider.Name           = "outSlider";
     this.outSlider.Size           = new System.Drawing.Size(262, 20);
     this.outSlider.TabIndex       = 39;
     this.outSlider.TabStop        = false;
     this.outSlider.ValuesChanged += new System.EventHandler(this.outSlider_ValuesChanged);
     //
     // pictureBox3
     //
     this.pictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox3.Location    = new System.Drawing.Point(10, 323);
     this.pictureBox3.Name        = "pictureBox3";
     this.pictureBox3.Size        = new System.Drawing.Size(258, 2);
     this.pictureBox3.TabIndex    = 38;
     this.pictureBox3.TabStop     = false;
     //
     // outMaxBox
     //
     this.outMaxBox.Location     = new System.Drawing.Point(140, 270);
     this.outMaxBox.Name         = "outMaxBox";
     this.outMaxBox.Size         = new System.Drawing.Size(50, 20);
     this.outMaxBox.TabIndex     = 37;
     this.outMaxBox.TextChanged += new System.EventHandler(this.outMaxBox_TextChanged);
     //
     // outMinBox
     //
     this.outMinBox.Location     = new System.Drawing.Point(80, 270);
     this.outMinBox.Name         = "outMinBox";
     this.outMinBox.Size         = new System.Drawing.Size(50, 20);
     this.outMinBox.TabIndex     = 36;
     this.outMinBox.TextChanged += new System.EventHandler(this.outMinBox_TextChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10, 273);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(73, 17);
     this.label3.TabIndex = 35;
     this.label3.Text     = "&Output levels:";
     //
     // inSlider
     //
     this.inSlider.Location       = new System.Drawing.Point(8, 232);
     this.inSlider.Max            = 253;
     this.inSlider.Min            = 2;
     this.inSlider.Name           = "inSlider";
     this.inSlider.Size           = new System.Drawing.Size(262, 20);
     this.inSlider.TabIndex       = 34;
     this.inSlider.TabStop        = false;
     this.inSlider.ValuesChanged += new System.EventHandler(this.inSlider_ValuesChanged);
     //
     // pictureBox2
     //
     this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox2.Location    = new System.Drawing.Point(10, 260);
     this.pictureBox2.Name        = "pictureBox2";
     this.pictureBox2.Size        = new System.Drawing.Size(258, 2);
     this.pictureBox2.TabIndex    = 33;
     this.pictureBox2.TabStop     = false;
     //
     // histogram
     //
     this.histogram.Location = new System.Drawing.Point(10, 75);
     this.histogram.Name     = "histogram";
     this.histogram.Size     = new System.Drawing.Size(258, 162);
     this.histogram.TabIndex = 32;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 53);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(65, 17);
     this.label2.TabIndex = 29;
     this.label2.Text     = "&Input levels:";
     //
     // inMinBox
     //
     this.inMinBox.Location     = new System.Drawing.Point(80, 50);
     this.inMinBox.Name         = "inMinBox";
     this.inMinBox.Size         = new System.Drawing.Size(50, 20);
     this.inMinBox.TabIndex     = 30;
     this.inMinBox.TextChanged += new System.EventHandler(this.inMinBox_TextChanged);
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(10, 40);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(258, 2);
     this.pictureBox1.TabIndex    = 28;
     this.pictureBox1.TabStop     = false;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(70, 15);
     this.label1.TabIndex = 26;
     this.label1.Text     = "Component:";
     //
     // inMaxBox
     //
     this.inMaxBox.Location     = new System.Drawing.Point(140, 50);
     this.inMaxBox.Name         = "inMaxBox";
     this.inMaxBox.Size         = new System.Drawing.Size(50, 20);
     this.inMaxBox.TabIndex     = 31;
     this.inMaxBox.TextChanged += new System.EventHandler(this.inMaxBox_TextChanged);
     //
     // componentCombo
     //
     this.componentCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.componentCombo.Items.AddRange(new object[] {
         "Y Channel",
         "Cb Channel",
         "Cr Channel"
     });
     this.componentCombo.Location              = new System.Drawing.Point(80, 10);
     this.componentCombo.Name                  = "componentCombo";
     this.componentCombo.Size                  = new System.Drawing.Size(90, 21);
     this.componentCombo.TabIndex              = 27;
     this.componentCombo.SelectedIndexChanged += new System.EventHandler(this.componentCombo_SelectedIndexChanged);
     //
     // YCbCrLinearForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(469, 333);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.outSlider);
     this.Controls.Add(this.pictureBox3);
     this.Controls.Add(this.outMaxBox);
     this.Controls.Add(this.outMinBox);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.inSlider);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.histogram);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.inMinBox);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.inMaxBox);
     this.Controls.Add(this.componentCombo);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "YCbCrLinearForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "YCbCr Linear Correction";
     this.groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox4      = new System.Windows.Forms.GroupBox();
     this.blueSlider     = new PhotoBrushProject.ColorSlider();
     this.greenSlider    = new PhotoBrushProject.ColorSlider();
     this.redSlider      = new PhotoBrushProject.ColorSlider();
     this.label4         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.label10        = new System.Windows.Forms.Label();
     this.redBox         = new System.Windows.Forms.TextBox();
     this.greenBox       = new System.Windows.Forms.TextBox();
     this.blueBox        = new System.Windows.Forms.TextBox();
     this.groupBox5      = new System.Windows.Forms.GroupBox();
     this.filterPreview  = new PhotoBrushProject.FilterPreview();
     this.radiusTrackBar = new System.Windows.Forms.TrackBar();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.radiusBox      = new System.Windows.Forms.TextBox();
     this.groupBox2      = new System.Windows.Forms.GroupBox();
     this.label1         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     this.fillRBox       = new System.Windows.Forms.TextBox();
     this.fillGBox       = new System.Windows.Forms.TextBox();
     this.fillBBox       = new System.Windows.Forms.TextBox();
     this.cancelButton   = new System.Windows.Forms.Button();
     this.okButton       = new System.Windows.Forms.Button();
     this.fillTypeCombo  = new System.Windows.Forms.ComboBox();
     this.label7         = new System.Windows.Forms.Label();
     this.groupBox4.SuspendLayout();
     this.groupBox5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radiusTrackBar)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.blueSlider);
     this.groupBox4.Controls.Add(this.greenSlider);
     this.groupBox4.Controls.Add(this.redSlider);
     this.groupBox4.Controls.Add(this.label4);
     this.groupBox4.Controls.Add(this.label3);
     this.groupBox4.Controls.Add(this.label10);
     this.groupBox4.Controls.Add(this.redBox);
     this.groupBox4.Controls.Add(this.greenBox);
     this.groupBox4.Controls.Add(this.blueBox);
     this.groupBox4.Location = new System.Drawing.Point(10, 10);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(280, 120);
     this.groupBox4.TabIndex = 0;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "Center color";
     //
     // blueSlider
     //
     this.blueSlider.Color2         = System.Drawing.Color.Blue;
     this.blueSlider.DoubleArrow    = false;
     this.blueSlider.Location       = new System.Drawing.Point(8, 90);
     this.blueSlider.Name           = "blueSlider";
     this.blueSlider.Size           = new System.Drawing.Size(262, 20);
     this.blueSlider.TabIndex       = 8;
     this.blueSlider.TabStop        = false;
     this.blueSlider.ValuesChanged += new System.EventHandler(this.blueSlider_ValuesChanged);
     //
     // greenSlider
     //
     this.greenSlider.Color2         = System.Drawing.Color.Lime;
     this.greenSlider.DoubleArrow    = false;
     this.greenSlider.Location       = new System.Drawing.Point(8, 70);
     this.greenSlider.Name           = "greenSlider";
     this.greenSlider.Size           = new System.Drawing.Size(262, 20);
     this.greenSlider.TabIndex       = 7;
     this.greenSlider.TabStop        = false;
     this.greenSlider.ValuesChanged += new System.EventHandler(this.greenSlider_ValuesChanged);
     //
     // redSlider
     //
     this.redSlider.Color2         = System.Drawing.Color.Red;
     this.redSlider.DoubleArrow    = false;
     this.redSlider.Location       = new System.Drawing.Point(8, 50);
     this.redSlider.Name           = "redSlider";
     this.redSlider.Size           = new System.Drawing.Size(262, 20);
     this.redSlider.TabIndex       = 6;
     this.redSlider.TabStop        = false;
     this.redSlider.ValuesChanged += new System.EventHandler(this.redSlider_ValuesChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(197, 23);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(17, 14);
     this.label4.TabIndex = 4;
     this.label4.Text     = "B:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(100, 23);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(17, 14);
     this.label3.TabIndex = 2;
     this.label3.Text     = "G:";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(10, 23);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(15, 14);
     this.label10.TabIndex = 0;
     this.label10.Text     = "R:";
     //
     // redBox
     //
     this.redBox.Location     = new System.Drawing.Point(30, 20);
     this.redBox.Name         = "redBox";
     this.redBox.Size         = new System.Drawing.Size(50, 20);
     this.redBox.TabIndex     = 1;
     this.redBox.TextChanged += new System.EventHandler(this.redBox_TextChanged);
     //
     // greenBox
     //
     this.greenBox.Location     = new System.Drawing.Point(120, 20);
     this.greenBox.Name         = "greenBox";
     this.greenBox.Size         = new System.Drawing.Size(50, 20);
     this.greenBox.TabIndex     = 3;
     this.greenBox.TextChanged += new System.EventHandler(this.greenBox_TextChanged);
     //
     // blueBox
     //
     this.blueBox.Location     = new System.Drawing.Point(218, 20);
     this.blueBox.Name         = "blueBox";
     this.blueBox.Size         = new System.Drawing.Size(50, 20);
     this.blueBox.TabIndex     = 5;
     this.blueBox.TextChanged += new System.EventHandler(this.blueBox_TextChanged);
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.filterPreview);
     this.groupBox5.Location = new System.Drawing.Point(300, 10);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new System.Drawing.Size(170, 175);
     this.groupBox5.TabIndex = 4;
     this.groupBox5.TabStop  = false;
     this.groupBox5.Text     = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image    = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name     = "filterPreview";
     this.filterPreview.Size     = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.TabStop  = false;
     //
     // radiusTrackBar
     //
     this.radiusTrackBar.Location      = new System.Drawing.Point(5, 45);
     this.radiusTrackBar.Maximum       = 450;
     this.radiusTrackBar.Minimum       = 1;
     this.radiusTrackBar.Name          = "radiusTrackBar";
     this.radiusTrackBar.Size          = new System.Drawing.Size(268, 45);
     this.radiusTrackBar.TabIndex      = 1;
     this.radiusTrackBar.TickFrequency = 10;
     this.radiusTrackBar.Value         = 100;
     this.radiusTrackBar.Scroll       += new System.EventHandler(this.radiusTrackBar_Scroll);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radiusBox);
     this.groupBox1.Controls.Add(this.radiusTrackBar);
     this.groupBox1.Location = new System.Drawing.Point(10, 135);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(280, 90);
     this.groupBox1.TabIndex = 6;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Radius";
     //
     // radiusBox
     //
     this.radiusBox.Location     = new System.Drawing.Point(13, 20);
     this.radiusBox.Name         = "radiusBox";
     this.radiusBox.Size         = new System.Drawing.Size(50, 20);
     this.radiusBox.TabIndex     = 0;
     this.radiusBox.TextChanged += new System.EventHandler(this.radiusBox_TextChanged);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.fillRBox);
     this.groupBox2.Controls.Add(this.fillGBox);
     this.groupBox2.Controls.Add(this.fillBBox);
     this.groupBox2.Location = new System.Drawing.Point(10, 230);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(280, 50);
     this.groupBox2.TabIndex = 7;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Fill color";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(197, 23);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(17, 14);
     this.label1.TabIndex = 7;
     this.label1.Text     = "B:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(100, 23);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(17, 14);
     this.label2.TabIndex = 6;
     this.label2.Text     = "G:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(10, 23);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(15, 14);
     this.label5.TabIndex = 0;
     this.label5.Text     = "R:";
     //
     // fillRBox
     //
     this.fillRBox.Location     = new System.Drawing.Point(30, 20);
     this.fillRBox.Name         = "fillRBox";
     this.fillRBox.Size         = new System.Drawing.Size(50, 20);
     this.fillRBox.TabIndex     = 0;
     this.fillRBox.TextChanged += new System.EventHandler(this.fillBox_TextChanged);
     //
     // fillGBox
     //
     this.fillGBox.Location     = new System.Drawing.Point(120, 20);
     this.fillGBox.Name         = "fillGBox";
     this.fillGBox.Size         = new System.Drawing.Size(50, 20);
     this.fillGBox.TabIndex     = 1;
     this.fillGBox.TextChanged += new System.EventHandler(this.fillBox_TextChanged);
     //
     // fillBBox
     //
     this.fillBBox.Location     = new System.Drawing.Point(218, 20);
     this.fillBBox.Name         = "fillBBox";
     this.fillBBox.Size         = new System.Drawing.Size(50, 20);
     this.fillBBox.TabIndex     = 2;
     this.fillBBox.TextChanged += new System.EventHandler(this.fillBox_TextChanged);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(395, 255);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 11;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(310, 255);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 10;
     this.okButton.Text         = "Ok";
     //
     // fillTypeCombo
     //
     this.fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fillTypeCombo.Items.AddRange(new object[] {
         "Outside",
         "Inside"
     });
     this.fillTypeCombo.Location              = new System.Drawing.Point(350, 195);
     this.fillTypeCombo.Name                  = "fillTypeCombo";
     this.fillTypeCombo.Size                  = new System.Drawing.Size(120, 21);
     this.fillTypeCombo.TabIndex              = 9;
     this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(300, 198);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(50, 14);
     this.label7.TabIndex = 12;
     this.label7.Text     = "Fill type:";
     //
     // EuclideanColorFilteringForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(479, 288);
     this.Controls.Add(this.fillTypeCombo);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.groupBox5);
     this.Controls.Add(this.groupBox4);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "EuclideanColorFilteringForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Euclidean Color Filtering";
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radiusTrackBar)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.redSlider          = new PhotoBrushProject.ColorSlider();
     this.fillRBox           = new System.Windows.Forms.TextBox();
     this.label3             = new System.Windows.Forms.Label();
     this.maxRBox            = new System.Windows.Forms.TextBox();
     this.label2             = new System.Windows.Forms.Label();
     this.minRBox            = new System.Windows.Forms.TextBox();
     this.label1             = new System.Windows.Forms.Label();
     this.groupBox2          = new System.Windows.Forms.GroupBox();
     this.greenSlider        = new PhotoBrushProject.ColorSlider();
     this.fillGBox           = new System.Windows.Forms.TextBox();
     this.label4             = new System.Windows.Forms.Label();
     this.maxGBox            = new System.Windows.Forms.TextBox();
     this.label5             = new System.Windows.Forms.Label();
     this.minGBox            = new System.Windows.Forms.TextBox();
     this.label6             = new System.Windows.Forms.Label();
     this.groupBox3          = new System.Windows.Forms.GroupBox();
     this.blueSlider         = new PhotoBrushProject.ColorSlider();
     this.fillBBox           = new System.Windows.Forms.TextBox();
     this.label7             = new System.Windows.Forms.Label();
     this.maxBBox            = new System.Windows.Forms.TextBox();
     this.label8             = new System.Windows.Forms.Label();
     this.minBBox            = new System.Windows.Forms.TextBox();
     this.label9             = new System.Windows.Forms.Label();
     this.groupBox4          = new System.Windows.Forms.GroupBox();
     this.filterPreview      = new PhotoBrushProject.FilterPreview();
     this.okButton           = new System.Windows.Forms.Button();
     this.cancelButton       = new System.Windows.Forms.Button();
     this.label10            = new System.Windows.Forms.Label();
     this.redFillTypeCombo   = new System.Windows.Forms.ComboBox();
     this.greenFillTypeCombo = new System.Windows.Forms.ComboBox();
     this.blueFillTypeCombo  = new System.Windows.Forms.ComboBox();
     this.label11            = new System.Windows.Forms.Label();
     this.label12            = new System.Windows.Forms.Label();
     this.pictureBox1        = new System.Windows.Forms.PictureBox();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.redSlider);
     this.groupBox1.Controls.Add(this.fillRBox);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.maxRBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.minRBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(280, 75);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Red";
     //
     // redSlider
     //
     this.redSlider.Color2         = System.Drawing.Color.Red;
     this.redSlider.Location       = new System.Drawing.Point(8, 45);
     this.redSlider.Name           = "redSlider";
     this.redSlider.Size           = new System.Drawing.Size(262, 23);
     this.redSlider.TabIndex       = 6;
     this.redSlider.TabStop        = false;
     this.redSlider.Type           = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.redSlider.ValuesChanged += new System.EventHandler(this.redSlider_ValuesChanged);
     //
     // fillRBox
     //
     this.fillRBox.Location     = new System.Drawing.Point(218, 20);
     this.fillRBox.Name         = "fillRBox";
     this.fillRBox.Size         = new System.Drawing.Size(50, 20);
     this.fillRBox.TabIndex     = 5;
     this.fillRBox.TextChanged += new System.EventHandler(this.fillRBox_TextChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(190, 23);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(30, 14);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Fill:";
     //
     // maxRBox
     //
     this.maxRBox.Location     = new System.Drawing.Point(130, 20);
     this.maxRBox.Name         = "maxRBox";
     this.maxRBox.Size         = new System.Drawing.Size(50, 20);
     this.maxRBox.TabIndex     = 3;
     this.maxRBox.TextChanged += new System.EventHandler(this.maxRBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(100, 23);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(30, 14);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Max:";
     //
     // minRBox
     //
     this.minRBox.Location     = new System.Drawing.Point(40, 20);
     this.minRBox.Name         = "minRBox";
     this.minRBox.Size         = new System.Drawing.Size(50, 20);
     this.minRBox.TabIndex     = 1;
     this.minRBox.TextChanged += new System.EventHandler(this.minRBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 23);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(30, 14);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Min:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.greenSlider);
     this.groupBox2.Controls.Add(this.fillGBox);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.maxGBox);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.minGBox);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Location = new System.Drawing.Point(10, 100);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(280, 75);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Green";
     //
     // greenSlider
     //
     this.greenSlider.Color2         = System.Drawing.Color.Lime;
     this.greenSlider.Location       = new System.Drawing.Point(8, 45);
     this.greenSlider.Name           = "greenSlider";
     this.greenSlider.Size           = new System.Drawing.Size(262, 23);
     this.greenSlider.TabIndex       = 6;
     this.greenSlider.TabStop        = false;
     this.greenSlider.Type           = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.greenSlider.ValuesChanged += new System.EventHandler(this.greenSlider_ValuesChanged);
     //
     // fillGBox
     //
     this.fillGBox.Location     = new System.Drawing.Point(218, 20);
     this.fillGBox.Name         = "fillGBox";
     this.fillGBox.Size         = new System.Drawing.Size(50, 20);
     this.fillGBox.TabIndex     = 5;
     this.fillGBox.TextChanged += new System.EventHandler(this.fillGBox_TextChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(190, 23);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(30, 14);
     this.label4.TabIndex = 4;
     this.label4.Text     = "Fill:";
     //
     // maxGBox
     //
     this.maxGBox.Location     = new System.Drawing.Point(130, 20);
     this.maxGBox.Name         = "maxGBox";
     this.maxGBox.Size         = new System.Drawing.Size(50, 20);
     this.maxGBox.TabIndex     = 3;
     this.maxGBox.TextChanged += new System.EventHandler(this.maxGBox_TextChanged);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(100, 23);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(30, 14);
     this.label5.TabIndex = 2;
     this.label5.Text     = "Max:";
     //
     // minGBox
     //
     this.minGBox.Location     = new System.Drawing.Point(40, 20);
     this.minGBox.Name         = "minGBox";
     this.minGBox.Size         = new System.Drawing.Size(50, 20);
     this.minGBox.TabIndex     = 1;
     this.minGBox.TextChanged += new System.EventHandler(this.minGBox_TextChanged);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 23);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(30, 14);
     this.label6.TabIndex = 0;
     this.label6.Text     = "Min:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.blueSlider);
     this.groupBox3.Controls.Add(this.fillBBox);
     this.groupBox3.Controls.Add(this.label7);
     this.groupBox3.Controls.Add(this.maxBBox);
     this.groupBox3.Controls.Add(this.label8);
     this.groupBox3.Controls.Add(this.minBBox);
     this.groupBox3.Controls.Add(this.label9);
     this.groupBox3.Location = new System.Drawing.Point(10, 190);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(280, 75);
     this.groupBox3.TabIndex = 2;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Blue";
     //
     // blueSlider
     //
     this.blueSlider.Color2         = System.Drawing.Color.Blue;
     this.blueSlider.Location       = new System.Drawing.Point(8, 45);
     this.blueSlider.Name           = "blueSlider";
     this.blueSlider.Size           = new System.Drawing.Size(262, 23);
     this.blueSlider.TabIndex       = 6;
     this.blueSlider.TabStop        = false;
     this.blueSlider.Type           = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.blueSlider.ValuesChanged += new System.EventHandler(this.blueSlider_ValuesChanged);
     //
     // fillBBox
     //
     this.fillBBox.Location     = new System.Drawing.Point(218, 20);
     this.fillBBox.Name         = "fillBBox";
     this.fillBBox.Size         = new System.Drawing.Size(50, 20);
     this.fillBBox.TabIndex     = 5;
     this.fillBBox.TextChanged += new System.EventHandler(this.fillBBox_TextChanged);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(190, 23);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(30, 14);
     this.label7.TabIndex = 4;
     this.label7.Text     = "Fill:";
     //
     // maxBBox
     //
     this.maxBBox.Location     = new System.Drawing.Point(130, 20);
     this.maxBBox.Name         = "maxBBox";
     this.maxBBox.Size         = new System.Drawing.Size(50, 20);
     this.maxBBox.TabIndex     = 3;
     this.maxBBox.TextChanged += new System.EventHandler(this.maxBBox_TextChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(100, 23);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(30, 14);
     this.label8.TabIndex = 2;
     this.label8.Text     = "Max:";
     //
     // minBBox
     //
     this.minBBox.Location     = new System.Drawing.Point(40, 20);
     this.minBBox.Name         = "minBBox";
     this.minBBox.Size         = new System.Drawing.Size(50, 20);
     this.minBBox.TabIndex     = 1;
     this.minBBox.TextChanged += new System.EventHandler(this.minBBox_TextChanged);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(10, 23);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(30, 14);
     this.label9.TabIndex = 0;
     this.label9.Text     = "Min:";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.filterPreview);
     this.groupBox4.Location = new System.Drawing.Point(300, 10);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(170, 175);
     this.groupBox4.TabIndex = 3;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image    = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name     = "filterPreview";
     this.filterPreview.Size     = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.TabStop  = false;
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(152, 295);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 10;
     this.okButton.Text         = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(252, 295);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 11;
     this.cancelButton.Text         = "Cancel";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(300, 198);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(67, 14);
     this.label10.TabIndex = 4;
     this.label10.Text     = "Red fill type:";
     //
     // redFillTypeCombo
     //
     this.redFillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.redFillTypeCombo.Items.AddRange(new object[] {
         "Outside",
         "Inside"
     });
     this.redFillTypeCombo.Location              = new System.Drawing.Point(380, 195);
     this.redFillTypeCombo.Name                  = "redFillTypeCombo";
     this.redFillTypeCombo.Size                  = new System.Drawing.Size(90, 21);
     this.redFillTypeCombo.TabIndex              = 5;
     this.redFillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.redFillTypeCombo_SelectedIndexChanged);
     //
     // greenFillTypeCombo
     //
     this.greenFillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.greenFillTypeCombo.Items.AddRange(new object[] {
         "Outside",
         "Inside"
     });
     this.greenFillTypeCombo.Location              = new System.Drawing.Point(380, 220);
     this.greenFillTypeCombo.Name                  = "greenFillTypeCombo";
     this.greenFillTypeCombo.Size                  = new System.Drawing.Size(90, 21);
     this.greenFillTypeCombo.TabIndex              = 7;
     this.greenFillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.greenFillTypeCombo_SelectedIndexChanged);
     //
     // blueFillTypeCombo
     //
     this.blueFillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.blueFillTypeCombo.Items.AddRange(new object[] {
         "Outside",
         "Inside"
     });
     this.blueFillTypeCombo.Location              = new System.Drawing.Point(380, 245);
     this.blueFillTypeCombo.Name                  = "blueFillTypeCombo";
     this.blueFillTypeCombo.Size                  = new System.Drawing.Size(90, 21);
     this.blueFillTypeCombo.TabIndex              = 9;
     this.blueFillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.blueFillTypeCombo_SelectedIndexChanged);
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(300, 223);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(77, 14);
     this.label11.TabIndex = 6;
     this.label11.Text     = "Green fill type:";
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(300, 248);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(67, 14);
     this.label12.TabIndex = 8;
     this.label12.Text     = "Blue fill type:";
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(10, 275);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(460, 2);
     this.pictureBox1.TabIndex    = 12;
     this.pictureBox1.TabStop     = false;
     //
     // ChannelFilteringForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.SystemColors.Window;
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(479, 328);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.blueFillTypeCombo);
     this.Controls.Add(this.greenFillTypeCombo);
     this.Controls.Add(this.redFillTypeCombo);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ChannelFilteringForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Channel Filtering";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1        = new System.Windows.Forms.Label();
     this.minBox        = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.maxBox        = new System.Windows.Forms.TextBox();
     this.slider        = new PhotoBrushProject.ColorSlider();
     this.pictureBox2   = new System.Windows.Forms.PictureBox();
     this.okButton      = new System.Windows.Forms.Button();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 13);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(30, 15);
     this.label1.TabIndex = 0;
     this.label1.Text     = "M&in:";
     //
     // minBox
     //
     this.minBox.Location     = new System.Drawing.Point(45, 10);
     this.minBox.Name         = "minBox";
     this.minBox.Size         = new System.Drawing.Size(50, 20);
     this.minBox.TabIndex     = 1;
     this.minBox.TextChanged += new System.EventHandler(this.minBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(183, 13);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(30, 15);
     this.label2.TabIndex = 2;
     this.label2.Text     = "M&ax:";
     //
     // maxBox
     //
     this.maxBox.Location     = new System.Drawing.Point(218, 10);
     this.maxBox.Name         = "maxBox";
     this.maxBox.Size         = new System.Drawing.Size(50, 20);
     this.maxBox.TabIndex     = 3;
     this.maxBox.TextChanged += new System.EventHandler(this.maxBox_TextChanged);
     //
     // slider
     //
     this.slider.Location       = new System.Drawing.Point(8, 40);
     this.slider.Name           = "slider";
     this.slider.Size           = new System.Drawing.Size(262, 23);
     this.slider.TabIndex       = 4;
     this.slider.Type           = PhotoBrushProject.ColorSliderType.Threshold;
     this.slider.ValuesChanged += new System.EventHandler(this.slider_ValuesChanged);
     //
     // pictureBox2
     //
     this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox2.Location    = new System.Drawing.Point(10, 120);
     this.pictureBox2.Name        = "pictureBox2";
     this.pictureBox2.Size        = new System.Drawing.Size(258, 2);
     this.pictureBox2.TabIndex    = 11;
     this.pictureBox2.TabStop     = false;
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(57, 140);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 6;
     this.okButton.Text         = "&Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(147, 140);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 7;
     this.cancelButton.Text         = "&Cancel";
     //
     // filterPreview
     //
     this.filterPreview.Image    = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name     = "filterPreview";
     this.filterPreview.Size     = new System.Drawing.Size(140, 140);
     this.filterPreview.TabIndex = 12;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(290, 5);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(160, 165);
     this.groupBox1.TabIndex = 13;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Preview";
     //
     // ThresholdForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(459, 178);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.slider);
     this.Controls.Add(this.maxBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.minBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ThresholdForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Threshold";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.sigmaBox = new System.Windows.Forms.TextBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.sigmaTrackBar = new System.Windows.Forms.TrackBar();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.thresholdSlider = new PhotoBrushProject.ColorSlider();
     this.highThresholdBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.lowThresholdBox = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.cancelButton = new System.Windows.Forms.Button();
     this.okButton = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // sigmaBox
     //
     this.sigmaBox.Location = new System.Drawing.Point(10, 20);
     this.sigmaBox.Name = "sigmaBox";
     this.sigmaBox.Size = new System.Drawing.Size(60, 20);
     this.sigmaBox.TabIndex = 1;
     this.sigmaBox.TextChanged += new System.EventHandler(this.sigmaBox_TextChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.sigmaTrackBar);
     this.groupBox1.Controls.Add(this.sigmaBox);
     this.groupBox1.Location = new System.Drawing.Point(10, 5);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(280, 95);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Gaussian Sigma";
     //
     // sigmaTrackBar
     //
     this.sigmaTrackBar.Location = new System.Drawing.Point(10, 45);
     this.sigmaTrackBar.Maximum = 40;
     this.sigmaTrackBar.Name = "sigmaTrackBar";
     this.sigmaTrackBar.Size = new System.Drawing.Size(260, 45);
     this.sigmaTrackBar.TabIndex = 2;
     this.sigmaTrackBar.TickFrequency = 2;
     this.sigmaTrackBar.ValueChanged += new System.EventHandler(this.sigmaTrackBar_ValueChanged);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.thresholdSlider);
     this.groupBox2.Controls.Add(this.highThresholdBox);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.lowThresholdBox);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(10, 110);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(280, 80);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Threshold Values";
     //
     // thresholdSlider
     //
     this.thresholdSlider.Location = new System.Drawing.Point(8, 50);
     this.thresholdSlider.Name = "thresholdSlider";
     this.thresholdSlider.Size = new System.Drawing.Size(262, 23);
     this.thresholdSlider.TabIndex = 4;
     this.thresholdSlider.Text = "colorSlider1";
     this.thresholdSlider.ValuesChanged += new System.EventHandler(this.thresholdSlider_ValuesChanged);
     //
     // highThresholdBox
     //
     this.highThresholdBox.Location = new System.Drawing.Point(155, 20);
     this.highThresholdBox.Name = "highThresholdBox";
     this.highThresholdBox.Size = new System.Drawing.Size(50, 20);
     this.highThresholdBox.TabIndex = 3;
     this.highThresholdBox.TextChanged += new System.EventHandler(this.highThresholdBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(120, 23);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(35, 14);
     this.label2.TabIndex = 2;
     this.label2.Text = "High:";
     //
     // lowThresholdBox
     //
     this.lowThresholdBox.Location = new System.Drawing.Point(45, 20);
     this.lowThresholdBox.Name = "lowThresholdBox";
     this.lowThresholdBox.Size = new System.Drawing.Size(50, 20);
     this.lowThresholdBox.TabIndex = 1;
     this.lowThresholdBox.TextChanged += new System.EventHandler(this.lowThresholdBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 23);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(35, 14);
     this.label1.TabIndex = 0;
     this.label1.Text = "Low:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.filterPreview);
     this.groupBox3.Location = new System.Drawing.Point(300, 5);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(170, 185);
     this.groupBox3.TabIndex = 9;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name = "filterPreview";
     this.filterPreview.Size = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 13;
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(244, 205);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 13;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(159, 205);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 12;
     this.okButton.Text = "Ok";
     //
     // CannyDetectorForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor = System.Drawing.SystemColors.Window;
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(479, 236);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "CannyDetectorForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Canny Edge Detector";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.minBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.maxBox = new System.Windows.Forms.TextBox();
     this.slider = new PhotoBrushProject.ColorSlider();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.okButton = new System.Windows.Forms.Button();
     this.cancelButton = new System.Windows.Forms.Button();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 13);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(30, 15);
     this.label1.TabIndex = 0;
     this.label1.Text = "M&in:";
     //
     // minBox
     //
     this.minBox.Location = new System.Drawing.Point(45, 10);
     this.minBox.Name = "minBox";
     this.minBox.Size = new System.Drawing.Size(50, 20);
     this.minBox.TabIndex = 1;
     this.minBox.TextChanged += new System.EventHandler(this.minBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(183, 13);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(30, 15);
     this.label2.TabIndex = 2;
     this.label2.Text = "M&ax:";
     //
     // maxBox
     //
     this.maxBox.Location = new System.Drawing.Point(218, 10);
     this.maxBox.Name = "maxBox";
     this.maxBox.Size = new System.Drawing.Size(50, 20);
     this.maxBox.TabIndex = 3;
     this.maxBox.TextChanged += new System.EventHandler(this.maxBox_TextChanged);
     //
     // slider
     //
     this.slider.Location = new System.Drawing.Point(8, 40);
     this.slider.Name = "slider";
     this.slider.Size = new System.Drawing.Size(262, 23);
     this.slider.TabIndex = 4;
     this.slider.Type = PhotoBrushProject.ColorSliderType.Threshold;
     this.slider.ValuesChanged += new System.EventHandler(this.slider_ValuesChanged);
     //
     // pictureBox2
     //
     this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox2.Location = new System.Drawing.Point(10, 120);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(258, 2);
     this.pictureBox2.TabIndex = 11;
     this.pictureBox2.TabStop = false;
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(57, 140);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 6;
     this.okButton.Text = "&Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(147, 140);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 7;
     this.cancelButton.Text = "&Cancel";
     //
     // filterPreview
     //
     this.filterPreview.Image = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name = "filterPreview";
     this.filterPreview.Size = new System.Drawing.Size(140, 140);
     this.filterPreview.TabIndex = 12;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(290, 5);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(160, 165);
     this.groupBox1.TabIndex = 13;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Preview";
     //
     // ThresholdForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(459, 178);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.slider);
     this.Controls.Add(this.maxBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.minBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ThresholdForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Threshold";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.sigmaBox         = new System.Windows.Forms.TextBox();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.sigmaTrackBar    = new System.Windows.Forms.TrackBar();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.thresholdSlider  = new PhotoBrushProject.ColorSlider();
     this.highThresholdBox = new System.Windows.Forms.TextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.lowThresholdBox  = new System.Windows.Forms.TextBox();
     this.label1           = new System.Windows.Forms.Label();
     this.groupBox3        = new System.Windows.Forms.GroupBox();
     this.filterPreview    = new PhotoBrushProject.FilterPreview();
     this.cancelButton     = new System.Windows.Forms.Button();
     this.okButton         = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // sigmaBox
     //
     this.sigmaBox.Location     = new System.Drawing.Point(10, 20);
     this.sigmaBox.Name         = "sigmaBox";
     this.sigmaBox.Size         = new System.Drawing.Size(60, 20);
     this.sigmaBox.TabIndex     = 1;
     this.sigmaBox.TextChanged += new System.EventHandler(this.sigmaBox_TextChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.sigmaTrackBar);
     this.groupBox1.Controls.Add(this.sigmaBox);
     this.groupBox1.Location = new System.Drawing.Point(10, 5);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(280, 95);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Gaussian Sigma";
     //
     // sigmaTrackBar
     //
     this.sigmaTrackBar.Location      = new System.Drawing.Point(10, 45);
     this.sigmaTrackBar.Maximum       = 40;
     this.sigmaTrackBar.Name          = "sigmaTrackBar";
     this.sigmaTrackBar.Size          = new System.Drawing.Size(260, 45);
     this.sigmaTrackBar.TabIndex      = 2;
     this.sigmaTrackBar.TickFrequency = 2;
     this.sigmaTrackBar.ValueChanged += new System.EventHandler(this.sigmaTrackBar_ValueChanged);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.thresholdSlider);
     this.groupBox2.Controls.Add(this.highThresholdBox);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.lowThresholdBox);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(10, 110);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(280, 80);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Threshold Values";
     //
     // thresholdSlider
     //
     this.thresholdSlider.Location       = new System.Drawing.Point(8, 50);
     this.thresholdSlider.Name           = "thresholdSlider";
     this.thresholdSlider.Size           = new System.Drawing.Size(262, 23);
     this.thresholdSlider.TabIndex       = 4;
     this.thresholdSlider.Text           = "colorSlider1";
     this.thresholdSlider.ValuesChanged += new System.EventHandler(this.thresholdSlider_ValuesChanged);
     //
     // highThresholdBox
     //
     this.highThresholdBox.Location     = new System.Drawing.Point(155, 20);
     this.highThresholdBox.Name         = "highThresholdBox";
     this.highThresholdBox.Size         = new System.Drawing.Size(50, 20);
     this.highThresholdBox.TabIndex     = 3;
     this.highThresholdBox.TextChanged += new System.EventHandler(this.highThresholdBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(120, 23);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(35, 14);
     this.label2.TabIndex = 2;
     this.label2.Text     = "High:";
     //
     // lowThresholdBox
     //
     this.lowThresholdBox.Location     = new System.Drawing.Point(45, 20);
     this.lowThresholdBox.Name         = "lowThresholdBox";
     this.lowThresholdBox.Size         = new System.Drawing.Size(50, 20);
     this.lowThresholdBox.TabIndex     = 1;
     this.lowThresholdBox.TextChanged += new System.EventHandler(this.lowThresholdBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 23);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(35, 14);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Low:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.filterPreview);
     this.groupBox3.Location = new System.Drawing.Point(300, 5);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(170, 185);
     this.groupBox3.TabIndex = 9;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image    = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name     = "filterPreview";
     this.filterPreview.Size     = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 13;
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(244, 205);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 13;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(159, 205);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 12;
     this.okButton.Text         = "Ok";
     //
     // CannyDetectorForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.SystemColors.Window;
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(479, 236);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CannyDetectorForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Canny Edge Detector";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.blueSlider = new PhotoBrushProject.ColorSlider();
     this.greenSlider = new PhotoBrushProject.ColorSlider();
     this.redSlider = new PhotoBrushProject.ColorSlider();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.redBox = new System.Windows.Forms.TextBox();
     this.greenBox = new System.Windows.Forms.TextBox();
     this.blueBox = new System.Windows.Forms.TextBox();
     this.groupBox5 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.radiusTrackBar = new System.Windows.Forms.TrackBar();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.radiusBox = new System.Windows.Forms.TextBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.fillRBox = new System.Windows.Forms.TextBox();
     this.fillGBox = new System.Windows.Forms.TextBox();
     this.fillBBox = new System.Windows.Forms.TextBox();
     this.cancelButton = new System.Windows.Forms.Button();
     this.okButton = new System.Windows.Forms.Button();
     this.fillTypeCombo = new System.Windows.Forms.ComboBox();
     this.label7 = new System.Windows.Forms.Label();
     this.groupBox4.SuspendLayout();
     this.groupBox5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radiusTrackBar)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.blueSlider);
     this.groupBox4.Controls.Add(this.greenSlider);
     this.groupBox4.Controls.Add(this.redSlider);
     this.groupBox4.Controls.Add(this.label4);
     this.groupBox4.Controls.Add(this.label3);
     this.groupBox4.Controls.Add(this.label10);
     this.groupBox4.Controls.Add(this.redBox);
     this.groupBox4.Controls.Add(this.greenBox);
     this.groupBox4.Controls.Add(this.blueBox);
     this.groupBox4.Location = new System.Drawing.Point(10, 10);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(280, 120);
     this.groupBox4.TabIndex = 0;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Center color";
     //
     // blueSlider
     //
     this.blueSlider.Color2 = System.Drawing.Color.Blue;
     this.blueSlider.DoubleArrow = false;
     this.blueSlider.Location = new System.Drawing.Point(8, 90);
     this.blueSlider.Name = "blueSlider";
     this.blueSlider.Size = new System.Drawing.Size(262, 20);
     this.blueSlider.TabIndex = 8;
     this.blueSlider.TabStop = false;
     this.blueSlider.ValuesChanged += new System.EventHandler(this.blueSlider_ValuesChanged);
     //
     // greenSlider
     //
     this.greenSlider.Color2 = System.Drawing.Color.Lime;
     this.greenSlider.DoubleArrow = false;
     this.greenSlider.Location = new System.Drawing.Point(8, 70);
     this.greenSlider.Name = "greenSlider";
     this.greenSlider.Size = new System.Drawing.Size(262, 20);
     this.greenSlider.TabIndex = 7;
     this.greenSlider.TabStop = false;
     this.greenSlider.ValuesChanged += new System.EventHandler(this.greenSlider_ValuesChanged);
     //
     // redSlider
     //
     this.redSlider.Color2 = System.Drawing.Color.Red;
     this.redSlider.DoubleArrow = false;
     this.redSlider.Location = new System.Drawing.Point(8, 50);
     this.redSlider.Name = "redSlider";
     this.redSlider.Size = new System.Drawing.Size(262, 20);
     this.redSlider.TabIndex = 6;
     this.redSlider.TabStop = false;
     this.redSlider.ValuesChanged += new System.EventHandler(this.redSlider_ValuesChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(197, 23);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(17, 14);
     this.label4.TabIndex = 4;
     this.label4.Text = "B:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(100, 23);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(17, 14);
     this.label3.TabIndex = 2;
     this.label3.Text = "G:";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(10, 23);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(15, 14);
     this.label10.TabIndex = 0;
     this.label10.Text = "R:";
     //
     // redBox
     //
     this.redBox.Location = new System.Drawing.Point(30, 20);
     this.redBox.Name = "redBox";
     this.redBox.Size = new System.Drawing.Size(50, 20);
     this.redBox.TabIndex = 1;
     this.redBox.TextChanged += new System.EventHandler(this.redBox_TextChanged);
     //
     // greenBox
     //
     this.greenBox.Location = new System.Drawing.Point(120, 20);
     this.greenBox.Name = "greenBox";
     this.greenBox.Size = new System.Drawing.Size(50, 20);
     this.greenBox.TabIndex = 3;
     this.greenBox.TextChanged += new System.EventHandler(this.greenBox_TextChanged);
     //
     // blueBox
     //
     this.blueBox.Location = new System.Drawing.Point(218, 20);
     this.blueBox.Name = "blueBox";
     this.blueBox.Size = new System.Drawing.Size(50, 20);
     this.blueBox.TabIndex = 5;
     this.blueBox.TextChanged += new System.EventHandler(this.blueBox_TextChanged);
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.filterPreview);
     this.groupBox5.Location = new System.Drawing.Point(300, 10);
     this.groupBox5.Name = "groupBox5";
     this.groupBox5.Size = new System.Drawing.Size(170, 175);
     this.groupBox5.TabIndex = 4;
     this.groupBox5.TabStop = false;
     this.groupBox5.Text = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name = "filterPreview";
     this.filterPreview.Size = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.TabStop = false;
     //
     // radiusTrackBar
     //
     this.radiusTrackBar.Location = new System.Drawing.Point(5, 45);
     this.radiusTrackBar.Maximum = 450;
     this.radiusTrackBar.Minimum = 1;
     this.radiusTrackBar.Name = "radiusTrackBar";
     this.radiusTrackBar.Size = new System.Drawing.Size(268, 45);
     this.radiusTrackBar.TabIndex = 1;
     this.radiusTrackBar.TickFrequency = 10;
     this.radiusTrackBar.Value = 100;
     this.radiusTrackBar.Scroll += new System.EventHandler(this.radiusTrackBar_Scroll);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radiusBox);
     this.groupBox1.Controls.Add(this.radiusTrackBar);
     this.groupBox1.Location = new System.Drawing.Point(10, 135);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(280, 90);
     this.groupBox1.TabIndex = 6;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Radius";
     //
     // radiusBox
     //
     this.radiusBox.Location = new System.Drawing.Point(13, 20);
     this.radiusBox.Name = "radiusBox";
     this.radiusBox.Size = new System.Drawing.Size(50, 20);
     this.radiusBox.TabIndex = 0;
     this.radiusBox.TextChanged += new System.EventHandler(this.radiusBox_TextChanged);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.fillRBox);
     this.groupBox2.Controls.Add(this.fillGBox);
     this.groupBox2.Controls.Add(this.fillBBox);
     this.groupBox2.Location = new System.Drawing.Point(10, 230);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(280, 50);
     this.groupBox2.TabIndex = 7;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Fill color";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(197, 23);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(17, 14);
     this.label1.TabIndex = 7;
     this.label1.Text = "B:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(100, 23);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(17, 14);
     this.label2.TabIndex = 6;
     this.label2.Text = "G:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(10, 23);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(15, 14);
     this.label5.TabIndex = 0;
     this.label5.Text = "R:";
     //
     // fillRBox
     //
     this.fillRBox.Location = new System.Drawing.Point(30, 20);
     this.fillRBox.Name = "fillRBox";
     this.fillRBox.Size = new System.Drawing.Size(50, 20);
     this.fillRBox.TabIndex = 0;
     this.fillRBox.TextChanged += new System.EventHandler(this.fillBox_TextChanged);
     //
     // fillGBox
     //
     this.fillGBox.Location = new System.Drawing.Point(120, 20);
     this.fillGBox.Name = "fillGBox";
     this.fillGBox.Size = new System.Drawing.Size(50, 20);
     this.fillGBox.TabIndex = 1;
     this.fillGBox.TextChanged += new System.EventHandler(this.fillBox_TextChanged);
     //
     // fillBBox
     //
     this.fillBBox.Location = new System.Drawing.Point(218, 20);
     this.fillBBox.Name = "fillBBox";
     this.fillBBox.Size = new System.Drawing.Size(50, 20);
     this.fillBBox.TabIndex = 2;
     this.fillBBox.TextChanged += new System.EventHandler(this.fillBox_TextChanged);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(395, 255);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 11;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(310, 255);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 10;
     this.okButton.Text = "Ok";
     //
     // fillTypeCombo
     //
     this.fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fillTypeCombo.Items.AddRange(new object[] {
     "Outside",
     "Inside"});
     this.fillTypeCombo.Location = new System.Drawing.Point(350, 195);
     this.fillTypeCombo.Name = "fillTypeCombo";
     this.fillTypeCombo.Size = new System.Drawing.Size(120, 21);
     this.fillTypeCombo.TabIndex = 9;
     this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(300, 198);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(50, 14);
     this.label7.TabIndex = 12;
     this.label7.Text = "Fill type:";
     //
     // EuclideanColorFilteringForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(479, 288);
     this.Controls.Add(this.fillTypeCombo);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.groupBox5);
     this.Controls.Add(this.groupBox4);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "EuclideanColorFilteringForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Euclidean Color Filtering";
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radiusTrackBar)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.ySlider = new PhotoBrushProject.ColorSlider();
     this.maxYBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.minYBox = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.cbSlider = new PhotoBrushProject.ColorSlider();
     this.maxCbBox = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.minCbBox = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.crSlider = new PhotoBrushProject.ColorSlider();
     this.maxCrBox = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.minCrBox = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.fillCrBox = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.fillCbBox = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.fillYBox = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.groupBox5 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.label10 = new System.Windows.Forms.Label();
     this.fillTypeCombo = new System.Windows.Forms.ComboBox();
     this.okButton = new System.Windows.Forms.Button();
     this.cancelButton = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.ySlider);
     this.groupBox1.Controls.Add(this.maxYBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.minYBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(280, 75);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Y";
     //
     // ySlider
     //
     this.ySlider.Location = new System.Drawing.Point(8, 45);
     this.ySlider.Name = "ySlider";
     this.ySlider.Size = new System.Drawing.Size(263, 23);
     this.ySlider.TabIndex = 4;
     this.ySlider.Type = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.ySlider.ValuesChanged += new System.EventHandler(this.ySlider_ValuesChanged);
     //
     // maxYBox
     //
     this.maxYBox.Location = new System.Drawing.Point(218, 20);
     this.maxYBox.Name = "maxYBox";
     this.maxYBox.Size = new System.Drawing.Size(50, 20);
     this.maxYBox.TabIndex = 3;
     this.maxYBox.TextChanged += new System.EventHandler(this.maxYBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(186, 23);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(30, 15);
     this.label2.TabIndex = 2;
     this.label2.Text = "Max:";
     //
     // minYBox
     //
     this.minYBox.Location = new System.Drawing.Point(40, 20);
     this.minYBox.Name = "minYBox";
     this.minYBox.Size = new System.Drawing.Size(50, 20);
     this.minYBox.TabIndex = 1;
     this.minYBox.TextChanged += new System.EventHandler(this.minYBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 23);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(30, 16);
     this.label1.TabIndex = 0;
     this.label1.Text = "Min:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.cbSlider);
     this.groupBox2.Controls.Add(this.maxCbBox);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.minCbBox);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Location = new System.Drawing.Point(10, 90);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(280, 75);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Cb";
     //
     // cbSlider
     //
     this.cbSlider.Location = new System.Drawing.Point(8, 45);
     this.cbSlider.Name = "cbSlider";
     this.cbSlider.Size = new System.Drawing.Size(263, 23);
     this.cbSlider.TabIndex = 4;
     this.cbSlider.Type = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.cbSlider.ValuesChanged += new System.EventHandler(this.cbSlider_ValuesChanged);
     //
     // maxCbBox
     //
     this.maxCbBox.Location = new System.Drawing.Point(218, 20);
     this.maxCbBox.Name = "maxCbBox";
     this.maxCbBox.Size = new System.Drawing.Size(50, 20);
     this.maxCbBox.TabIndex = 3;
     this.maxCbBox.TextChanged += new System.EventHandler(this.maxCbBox_TextChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(186, 23);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(30, 15);
     this.label4.TabIndex = 2;
     this.label4.Text = "Max:";
     //
     // minCbBox
     //
     this.minCbBox.Location = new System.Drawing.Point(40, 20);
     this.minCbBox.Name = "minCbBox";
     this.minCbBox.Size = new System.Drawing.Size(50, 20);
     this.minCbBox.TabIndex = 1;
     this.minCbBox.TextChanged += new System.EventHandler(this.minCbBox_TextChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10, 23);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(30, 15);
     this.label3.TabIndex = 0;
     this.label3.Text = "Min:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.crSlider);
     this.groupBox3.Controls.Add(this.maxCrBox);
     this.groupBox3.Controls.Add(this.label5);
     this.groupBox3.Controls.Add(this.minCrBox);
     this.groupBox3.Controls.Add(this.label6);
     this.groupBox3.Location = new System.Drawing.Point(10, 170);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(280, 75);
     this.groupBox3.TabIndex = 5;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Cr";
     //
     // crSlider
     //
     this.crSlider.Location = new System.Drawing.Point(8, 45);
     this.crSlider.Name = "crSlider";
     this.crSlider.Size = new System.Drawing.Size(263, 23);
     this.crSlider.TabIndex = 4;
     this.crSlider.Type = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.crSlider.ValuesChanged += new System.EventHandler(this.crSlider_ValuesChanged);
     //
     // maxCrBox
     //
     this.maxCrBox.Location = new System.Drawing.Point(218, 20);
     this.maxCrBox.Name = "maxCrBox";
     this.maxCrBox.Size = new System.Drawing.Size(50, 20);
     this.maxCrBox.TabIndex = 3;
     this.maxCrBox.TextChanged += new System.EventHandler(this.maxCrBox_TextChanged);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(186, 23);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(30, 15);
     this.label5.TabIndex = 2;
     this.label5.Text = "Max:";
     //
     // minCrBox
     //
     this.minCrBox.Location = new System.Drawing.Point(40, 20);
     this.minCrBox.Name = "minCrBox";
     this.minCrBox.Size = new System.Drawing.Size(50, 20);
     this.minCrBox.TabIndex = 1;
     this.minCrBox.TextChanged += new System.EventHandler(this.minCrBox_TextChanged);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 23);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(30, 15);
     this.label6.TabIndex = 0;
     this.label6.Text = "Min:";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.fillCrBox);
     this.groupBox4.Controls.Add(this.label9);
     this.groupBox4.Controls.Add(this.fillCbBox);
     this.groupBox4.Controls.Add(this.label8);
     this.groupBox4.Controls.Add(this.fillYBox);
     this.groupBox4.Controls.Add(this.label7);
     this.groupBox4.Location = new System.Drawing.Point(10, 250);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(280, 50);
     this.groupBox4.TabIndex = 6;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Fill Color";
     //
     // fillCrBox
     //
     this.fillCrBox.Location = new System.Drawing.Point(218, 20);
     this.fillCrBox.Name = "fillCrBox";
     this.fillCrBox.Size = new System.Drawing.Size(50, 20);
     this.fillCrBox.TabIndex = 5;
     this.fillCrBox.TextChanged += new System.EventHandler(this.fillCrBox_TextChanged);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(195, 23);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(21, 16);
     this.label9.TabIndex = 4;
     this.label9.Text = "Cr:";
     //
     // fillCbBox
     //
     this.fillCbBox.Location = new System.Drawing.Point(120, 20);
     this.fillCbBox.Name = "fillCbBox";
     this.fillCbBox.Size = new System.Drawing.Size(50, 20);
     this.fillCbBox.TabIndex = 3;
     this.fillCbBox.TextChanged += new System.EventHandler(this.fillCbBox_TextChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(96, 23);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(25, 15);
     this.label8.TabIndex = 2;
     this.label8.Text = "Cb:";
     //
     // fillYBox
     //
     this.fillYBox.Location = new System.Drawing.Point(30, 20);
     this.fillYBox.Name = "fillYBox";
     this.fillYBox.Size = new System.Drawing.Size(50, 20);
     this.fillYBox.TabIndex = 1;
     this.fillYBox.TextChanged += new System.EventHandler(this.fillYBox_TextChanged);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(10, 23);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(20, 15);
     this.label7.TabIndex = 0;
     this.label7.Text = "Y:";
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.filterPreview);
     this.groupBox5.Location = new System.Drawing.Point(300, 10);
     this.groupBox5.Name = "groupBox5";
     this.groupBox5.Size = new System.Drawing.Size(170, 175);
     this.groupBox5.TabIndex = 7;
     this.groupBox5.TabStop = false;
     this.groupBox5.Text = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name = "filterPreview";
     this.filterPreview.Size = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.Text = "filterPreview1";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(300, 198);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(52, 15);
     this.label10.TabIndex = 8;
     this.label10.Text = "Fill type:";
     //
     // fillTypeCombo
     //
     this.fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fillTypeCombo.Items.AddRange(new object[] {
     "Outside",
     "Inside"});
     this.fillTypeCombo.Location = new System.Drawing.Point(350, 195);
     this.fillTypeCombo.Name = "fillTypeCombo";
     this.fillTypeCombo.Size = new System.Drawing.Size(120, 21);
     this.fillTypeCombo.TabIndex = 9;
     this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged);
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(310, 275);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 10;
     this.okButton.Text = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(395, 275);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 11;
     this.cancelButton.Text = "Cancel";
     //
     // YCbCrFilteringForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(479, 308);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.fillTypeCombo);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.groupBox5);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.groupBox3);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "YCbCrFilteringForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "YCbCr Filtering";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     this.ySlider       = new PhotoBrushProject.ColorSlider();
     this.maxYBox       = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.minYBox       = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.groupBox2     = new System.Windows.Forms.GroupBox();
     this.cbSlider      = new PhotoBrushProject.ColorSlider();
     this.maxCbBox      = new System.Windows.Forms.TextBox();
     this.label4        = new System.Windows.Forms.Label();
     this.minCbBox      = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.groupBox3     = new System.Windows.Forms.GroupBox();
     this.crSlider      = new PhotoBrushProject.ColorSlider();
     this.maxCrBox      = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.minCrBox      = new System.Windows.Forms.TextBox();
     this.label6        = new System.Windows.Forms.Label();
     this.groupBox4     = new System.Windows.Forms.GroupBox();
     this.fillCrBox     = new System.Windows.Forms.TextBox();
     this.label9        = new System.Windows.Forms.Label();
     this.fillCbBox     = new System.Windows.Forms.TextBox();
     this.label8        = new System.Windows.Forms.Label();
     this.fillYBox      = new System.Windows.Forms.TextBox();
     this.label7        = new System.Windows.Forms.Label();
     this.groupBox5     = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.label10       = new System.Windows.Forms.Label();
     this.fillTypeCombo = new System.Windows.Forms.ComboBox();
     this.okButton      = new System.Windows.Forms.Button();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.ySlider);
     this.groupBox1.Controls.Add(this.maxYBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.minYBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(280, 75);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Y";
     //
     // ySlider
     //
     this.ySlider.Location       = new System.Drawing.Point(8, 45);
     this.ySlider.Name           = "ySlider";
     this.ySlider.Size           = new System.Drawing.Size(263, 23);
     this.ySlider.TabIndex       = 4;
     this.ySlider.Type           = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.ySlider.ValuesChanged += new System.EventHandler(this.ySlider_ValuesChanged);
     //
     // maxYBox
     //
     this.maxYBox.Location     = new System.Drawing.Point(218, 20);
     this.maxYBox.Name         = "maxYBox";
     this.maxYBox.Size         = new System.Drawing.Size(50, 20);
     this.maxYBox.TabIndex     = 3;
     this.maxYBox.TextChanged += new System.EventHandler(this.maxYBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(186, 23);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(30, 15);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Max:";
     //
     // minYBox
     //
     this.minYBox.Location     = new System.Drawing.Point(40, 20);
     this.minYBox.Name         = "minYBox";
     this.minYBox.Size         = new System.Drawing.Size(50, 20);
     this.minYBox.TabIndex     = 1;
     this.minYBox.TextChanged += new System.EventHandler(this.minYBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 23);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(30, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Min:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.cbSlider);
     this.groupBox2.Controls.Add(this.maxCbBox);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.minCbBox);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Location = new System.Drawing.Point(10, 90);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(280, 75);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Cb";
     //
     // cbSlider
     //
     this.cbSlider.Location       = new System.Drawing.Point(8, 45);
     this.cbSlider.Name           = "cbSlider";
     this.cbSlider.Size           = new System.Drawing.Size(263, 23);
     this.cbSlider.TabIndex       = 4;
     this.cbSlider.Type           = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.cbSlider.ValuesChanged += new System.EventHandler(this.cbSlider_ValuesChanged);
     //
     // maxCbBox
     //
     this.maxCbBox.Location     = new System.Drawing.Point(218, 20);
     this.maxCbBox.Name         = "maxCbBox";
     this.maxCbBox.Size         = new System.Drawing.Size(50, 20);
     this.maxCbBox.TabIndex     = 3;
     this.maxCbBox.TextChanged += new System.EventHandler(this.maxCbBox_TextChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(186, 23);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(30, 15);
     this.label4.TabIndex = 2;
     this.label4.Text     = "Max:";
     //
     // minCbBox
     //
     this.minCbBox.Location     = new System.Drawing.Point(40, 20);
     this.minCbBox.Name         = "minCbBox";
     this.minCbBox.Size         = new System.Drawing.Size(50, 20);
     this.minCbBox.TabIndex     = 1;
     this.minCbBox.TextChanged += new System.EventHandler(this.minCbBox_TextChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10, 23);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(30, 15);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Min:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.crSlider);
     this.groupBox3.Controls.Add(this.maxCrBox);
     this.groupBox3.Controls.Add(this.label5);
     this.groupBox3.Controls.Add(this.minCrBox);
     this.groupBox3.Controls.Add(this.label6);
     this.groupBox3.Location = new System.Drawing.Point(10, 170);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(280, 75);
     this.groupBox3.TabIndex = 5;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Cr";
     //
     // crSlider
     //
     this.crSlider.Location       = new System.Drawing.Point(8, 45);
     this.crSlider.Name           = "crSlider";
     this.crSlider.Size           = new System.Drawing.Size(263, 23);
     this.crSlider.TabIndex       = 4;
     this.crSlider.Type           = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.crSlider.ValuesChanged += new System.EventHandler(this.crSlider_ValuesChanged);
     //
     // maxCrBox
     //
     this.maxCrBox.Location     = new System.Drawing.Point(218, 20);
     this.maxCrBox.Name         = "maxCrBox";
     this.maxCrBox.Size         = new System.Drawing.Size(50, 20);
     this.maxCrBox.TabIndex     = 3;
     this.maxCrBox.TextChanged += new System.EventHandler(this.maxCrBox_TextChanged);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(186, 23);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(30, 15);
     this.label5.TabIndex = 2;
     this.label5.Text     = "Max:";
     //
     // minCrBox
     //
     this.minCrBox.Location     = new System.Drawing.Point(40, 20);
     this.minCrBox.Name         = "minCrBox";
     this.minCrBox.Size         = new System.Drawing.Size(50, 20);
     this.minCrBox.TabIndex     = 1;
     this.minCrBox.TextChanged += new System.EventHandler(this.minCrBox_TextChanged);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 23);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(30, 15);
     this.label6.TabIndex = 0;
     this.label6.Text     = "Min:";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.fillCrBox);
     this.groupBox4.Controls.Add(this.label9);
     this.groupBox4.Controls.Add(this.fillCbBox);
     this.groupBox4.Controls.Add(this.label8);
     this.groupBox4.Controls.Add(this.fillYBox);
     this.groupBox4.Controls.Add(this.label7);
     this.groupBox4.Location = new System.Drawing.Point(10, 250);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(280, 50);
     this.groupBox4.TabIndex = 6;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "Fill Color";
     //
     // fillCrBox
     //
     this.fillCrBox.Location     = new System.Drawing.Point(218, 20);
     this.fillCrBox.Name         = "fillCrBox";
     this.fillCrBox.Size         = new System.Drawing.Size(50, 20);
     this.fillCrBox.TabIndex     = 5;
     this.fillCrBox.TextChanged += new System.EventHandler(this.fillCrBox_TextChanged);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(195, 23);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(21, 16);
     this.label9.TabIndex = 4;
     this.label9.Text     = "Cr:";
     //
     // fillCbBox
     //
     this.fillCbBox.Location     = new System.Drawing.Point(120, 20);
     this.fillCbBox.Name         = "fillCbBox";
     this.fillCbBox.Size         = new System.Drawing.Size(50, 20);
     this.fillCbBox.TabIndex     = 3;
     this.fillCbBox.TextChanged += new System.EventHandler(this.fillCbBox_TextChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(96, 23);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(25, 15);
     this.label8.TabIndex = 2;
     this.label8.Text     = "Cb:";
     //
     // fillYBox
     //
     this.fillYBox.Location     = new System.Drawing.Point(30, 20);
     this.fillYBox.Name         = "fillYBox";
     this.fillYBox.Size         = new System.Drawing.Size(50, 20);
     this.fillYBox.TabIndex     = 1;
     this.fillYBox.TextChanged += new System.EventHandler(this.fillYBox_TextChanged);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(10, 23);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(20, 15);
     this.label7.TabIndex = 0;
     this.label7.Text     = "Y:";
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.filterPreview);
     this.groupBox5.Location = new System.Drawing.Point(300, 10);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new System.Drawing.Size(170, 175);
     this.groupBox5.TabIndex = 7;
     this.groupBox5.TabStop  = false;
     this.groupBox5.Text     = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image    = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name     = "filterPreview";
     this.filterPreview.Size     = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.Text     = "filterPreview1";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(300, 198);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(52, 15);
     this.label10.TabIndex = 8;
     this.label10.Text     = "Fill type:";
     //
     // fillTypeCombo
     //
     this.fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fillTypeCombo.Items.AddRange(new object[] {
         "Outside",
         "Inside"
     });
     this.fillTypeCombo.Location              = new System.Drawing.Point(350, 195);
     this.fillTypeCombo.Name                  = "fillTypeCombo";
     this.fillTypeCombo.Size                  = new System.Drawing.Size(120, 21);
     this.fillTypeCombo.TabIndex              = 9;
     this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged);
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(310, 275);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 10;
     this.okButton.Text         = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(395, 275);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 11;
     this.cancelButton.Text         = "Cancel";
     //
     // YCbCrFilteringForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(479, 308);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.fillTypeCombo);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.groupBox5);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.groupBox3);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "YCbCrFilteringForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "YCbCr Filtering";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.huePicker = new PhotoBrushProject.HuePicker();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.maxHBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.minHBox = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.saturationSlider = new PhotoBrushProject.ColorSlider();
     this.maxSBox = new System.Windows.Forms.TextBox();
     this.minSBox = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.luminanceSlider = new PhotoBrushProject.ColorSlider();
     this.maxLBox = new System.Windows.Forms.TextBox();
     this.minLBox = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.groupBox5 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.updateLCheck = new System.Windows.Forms.CheckBox();
     this.fillLBox = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.updateSCheck = new System.Windows.Forms.CheckBox();
     this.fillSBox = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.updateHCheck = new System.Windows.Forms.CheckBox();
     this.fillHBox = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.fillTypeCombo = new System.Windows.Forms.ComboBox();
     this.label10 = new System.Windows.Forms.Label();
     this.cancelButton = new System.Windows.Forms.Button();
     this.okButton = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.SuspendLayout();
     //
     // huePicker
     //
     this.huePicker.Location = new System.Drawing.Point(53, 50);
     this.huePicker.Name = "huePicker";
     this.huePicker.Size = new System.Drawing.Size(170, 170);
     this.huePicker.TabIndex = 0;
     this.huePicker.Type = PhotoBrushProject.HuePickerType.Region;
     this.huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.maxHBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.minHBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.huePicker);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(280, 230);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Hue";
     //
     // maxHBox
     //
     this.maxHBox.Location = new System.Drawing.Point(218, 20);
     this.maxHBox.Name = "maxHBox";
     this.maxHBox.Size = new System.Drawing.Size(50, 20);
     this.maxHBox.TabIndex = 4;
     this.maxHBox.TextChanged += new System.EventHandler(this.maxHBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(186, 23);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(39, 15);
     this.label2.TabIndex = 3;
     this.label2.Text = "Max:";
     //
     // minHBox
     //
     this.minHBox.Location = new System.Drawing.Point(40, 20);
     this.minHBox.Name = "minHBox";
     this.minHBox.Size = new System.Drawing.Size(50, 20);
     this.minHBox.TabIndex = 2;
     this.minHBox.TextChanged += new System.EventHandler(this.minHBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 23);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(31, 17);
     this.label1.TabIndex = 1;
     this.label1.Text = "Min:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.saturationSlider);
     this.groupBox2.Controls.Add(this.maxSBox);
     this.groupBox2.Controls.Add(this.minSBox);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Location = new System.Drawing.Point(10, 245);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(280, 75);
     this.groupBox2.TabIndex = 2;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Saturation";
     //
     // saturationSlider
     //
     this.saturationSlider.Location = new System.Drawing.Point(8, 45);
     this.saturationSlider.Name = "saturationSlider";
     this.saturationSlider.Size = new System.Drawing.Size(262, 23);
     this.saturationSlider.TabIndex = 4;
     this.saturationSlider.Type = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.saturationSlider.ValuesChanged += new System.EventHandler(this.saturationSlider_ValuesChanged);
     //
     // maxSBox
     //
     this.maxSBox.Location = new System.Drawing.Point(218, 20);
     this.maxSBox.Name = "maxSBox";
     this.maxSBox.Size = new System.Drawing.Size(50, 20);
     this.maxSBox.TabIndex = 3;
     this.maxSBox.TextChanged += new System.EventHandler(this.maxSBox_TextChanged);
     //
     // minSBox
     //
     this.minSBox.Location = new System.Drawing.Point(40, 20);
     this.minSBox.Name = "minSBox";
     this.minSBox.Size = new System.Drawing.Size(50, 20);
     this.minSBox.TabIndex = 2;
     this.minSBox.TextChanged += new System.EventHandler(this.minSBox_TextChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(186, 23);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(30, 17);
     this.label4.TabIndex = 1;
     this.label4.Text = "Max:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10, 23);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(30, 16);
     this.label3.TabIndex = 0;
     this.label3.Text = "Min:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.luminanceSlider);
     this.groupBox3.Controls.Add(this.maxLBox);
     this.groupBox3.Controls.Add(this.minLBox);
     this.groupBox3.Controls.Add(this.label5);
     this.groupBox3.Controls.Add(this.label6);
     this.groupBox3.Location = new System.Drawing.Point(10, 325);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(280, 75);
     this.groupBox3.TabIndex = 3;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Luminance";
     //
     // luminanceSlider
     //
     this.luminanceSlider.Location = new System.Drawing.Point(8, 45);
     this.luminanceSlider.Name = "luminanceSlider";
     this.luminanceSlider.Size = new System.Drawing.Size(262, 23);
     this.luminanceSlider.TabIndex = 9;
     this.luminanceSlider.Type = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.luminanceSlider.ValuesChanged += new System.EventHandler(this.luminanceSlider_ValuesChanged);
     //
     // maxLBox
     //
     this.maxLBox.Location = new System.Drawing.Point(218, 20);
     this.maxLBox.Name = "maxLBox";
     this.maxLBox.Size = new System.Drawing.Size(50, 20);
     this.maxLBox.TabIndex = 8;
     this.maxLBox.TextChanged += new System.EventHandler(this.maxLBox_TextChanged);
     //
     // minLBox
     //
     this.minLBox.Location = new System.Drawing.Point(40, 20);
     this.minLBox.Name = "minLBox";
     this.minLBox.Size = new System.Drawing.Size(50, 20);
     this.minLBox.TabIndex = 7;
     this.minLBox.TextChanged += new System.EventHandler(this.minLBox_TextChanged);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(186, 23);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(30, 17);
     this.label5.TabIndex = 6;
     this.label5.Text = "Max:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 23);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(30, 16);
     this.label6.TabIndex = 5;
     this.label6.Text = "Min:";
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.filterPreview);
     this.groupBox5.Location = new System.Drawing.Point(300, 10);
     this.groupBox5.Name = "groupBox5";
     this.groupBox5.Size = new System.Drawing.Size(170, 175);
     this.groupBox5.TabIndex = 4;
     this.groupBox5.TabStop = false;
     this.groupBox5.Text = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name = "filterPreview";
     this.filterPreview.Size = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.TabStop = false;
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.updateLCheck);
     this.groupBox4.Controls.Add(this.fillLBox);
     this.groupBox4.Controls.Add(this.label9);
     this.groupBox4.Controls.Add(this.updateSCheck);
     this.groupBox4.Controls.Add(this.fillSBox);
     this.groupBox4.Controls.Add(this.label8);
     this.groupBox4.Controls.Add(this.updateHCheck);
     this.groupBox4.Controls.Add(this.fillHBox);
     this.groupBox4.Controls.Add(this.label7);
     this.groupBox4.Location = new System.Drawing.Point(300, 190);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(170, 100);
     this.groupBox4.TabIndex = 5;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Fill Color";
     //
     // updateLCheck
     //
     this.updateLCheck.Checked = true;
     this.updateLCheck.CheckState = System.Windows.Forms.CheckState.Checked;
     this.updateLCheck.Location = new System.Drawing.Point(125, 70);
     this.updateLCheck.Name = "updateLCheck";
     this.updateLCheck.Size = new System.Drawing.Size(14, 24);
     this.updateLCheck.TabIndex = 8;
     this.updateLCheck.CheckedChanged += new System.EventHandler(this.updateLCheck_CheckedChanged);
     //
     // fillLBox
     //
     this.fillLBox.Location = new System.Drawing.Point(40, 70);
     this.fillLBox.Name = "fillLBox";
     this.fillLBox.Size = new System.Drawing.Size(50, 20);
     this.fillLBox.TabIndex = 7;
     this.fillLBox.TextChanged += new System.EventHandler(this.fillLBox_TextChanged);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(10, 73);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(20, 16);
     this.label9.TabIndex = 6;
     this.label9.Text = "L:";
     //
     // updateSCheck
     //
     this.updateSCheck.Checked = true;
     this.updateSCheck.CheckState = System.Windows.Forms.CheckState.Checked;
     this.updateSCheck.Location = new System.Drawing.Point(125, 45);
     this.updateSCheck.Name = "updateSCheck";
     this.updateSCheck.Size = new System.Drawing.Size(14, 24);
     this.updateSCheck.TabIndex = 5;
     this.updateSCheck.CheckedChanged += new System.EventHandler(this.updateSCheck_CheckedChanged);
     //
     // fillSBox
     //
     this.fillSBox.Location = new System.Drawing.Point(40, 45);
     this.fillSBox.Name = "fillSBox";
     this.fillSBox.Size = new System.Drawing.Size(50, 20);
     this.fillSBox.TabIndex = 4;
     this.fillSBox.TextChanged += new System.EventHandler(this.fillSBox_TextChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(10, 48);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(20, 16);
     this.label8.TabIndex = 3;
     this.label8.Text = "S:";
     //
     // updateHCheck
     //
     this.updateHCheck.Checked = true;
     this.updateHCheck.CheckState = System.Windows.Forms.CheckState.Checked;
     this.updateHCheck.Location = new System.Drawing.Point(125, 20);
     this.updateHCheck.Name = "updateHCheck";
     this.updateHCheck.Size = new System.Drawing.Size(14, 24);
     this.updateHCheck.TabIndex = 2;
     this.updateHCheck.CheckedChanged += new System.EventHandler(this.updateHCheck_CheckedChanged);
     //
     // fillHBox
     //
     this.fillHBox.Location = new System.Drawing.Point(40, 20);
     this.fillHBox.Name = "fillHBox";
     this.fillHBox.Size = new System.Drawing.Size(50, 20);
     this.fillHBox.TabIndex = 1;
     this.fillHBox.TextChanged += new System.EventHandler(this.fillHBox_TextChanged);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(10, 23);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(20, 16);
     this.label7.TabIndex = 0;
     this.label7.Text = "H:";
     //
     // fillTypeCombo
     //
     this.fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fillTypeCombo.Items.AddRange(new object[] {
     "Outside",
     "Inside"});
     this.fillTypeCombo.Location = new System.Drawing.Point(350, 300);
     this.fillTypeCombo.Name = "fillTypeCombo";
     this.fillTypeCombo.Size = new System.Drawing.Size(120, 21);
     this.fillTypeCombo.TabIndex = 10;
     this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged);
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(300, 303);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(50, 14);
     this.label10.TabIndex = 13;
     this.label10.Text = "Fill type:";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(395, 378);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 12;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(310, 378);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 11;
     this.okButton.Text = "Ok";
     //
     // HSLFilteringForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(479, 408);
     this.Controls.Add(this.fillTypeCombo);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox5);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "HSLFilteringForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "HSL Filtering";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.huePicker        = new PhotoBrushProject.HuePicker();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.maxHBox          = new System.Windows.Forms.TextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.minHBox          = new System.Windows.Forms.TextBox();
     this.label1           = new System.Windows.Forms.Label();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.saturationSlider = new PhotoBrushProject.ColorSlider();
     this.maxSBox          = new System.Windows.Forms.TextBox();
     this.minSBox          = new System.Windows.Forms.TextBox();
     this.label4           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     this.groupBox3        = new System.Windows.Forms.GroupBox();
     this.luminanceSlider  = new PhotoBrushProject.ColorSlider();
     this.maxLBox          = new System.Windows.Forms.TextBox();
     this.minLBox          = new System.Windows.Forms.TextBox();
     this.label5           = new System.Windows.Forms.Label();
     this.label6           = new System.Windows.Forms.Label();
     this.groupBox5        = new System.Windows.Forms.GroupBox();
     this.filterPreview    = new PhotoBrushProject.FilterPreview();
     this.groupBox4        = new System.Windows.Forms.GroupBox();
     this.updateLCheck     = new System.Windows.Forms.CheckBox();
     this.fillLBox         = new System.Windows.Forms.TextBox();
     this.label9           = new System.Windows.Forms.Label();
     this.updateSCheck     = new System.Windows.Forms.CheckBox();
     this.fillSBox         = new System.Windows.Forms.TextBox();
     this.label8           = new System.Windows.Forms.Label();
     this.updateHCheck     = new System.Windows.Forms.CheckBox();
     this.fillHBox         = new System.Windows.Forms.TextBox();
     this.label7           = new System.Windows.Forms.Label();
     this.fillTypeCombo    = new System.Windows.Forms.ComboBox();
     this.label10          = new System.Windows.Forms.Label();
     this.cancelButton     = new System.Windows.Forms.Button();
     this.okButton         = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.SuspendLayout();
     //
     // huePicker
     //
     this.huePicker.Location       = new System.Drawing.Point(53, 50);
     this.huePicker.Name           = "huePicker";
     this.huePicker.Size           = new System.Drawing.Size(170, 170);
     this.huePicker.TabIndex       = 0;
     this.huePicker.Type           = PhotoBrushProject.HuePickerType.Region;
     this.huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.maxHBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.minHBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.huePicker);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(280, 230);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Hue";
     //
     // maxHBox
     //
     this.maxHBox.Location     = new System.Drawing.Point(218, 20);
     this.maxHBox.Name         = "maxHBox";
     this.maxHBox.Size         = new System.Drawing.Size(50, 20);
     this.maxHBox.TabIndex     = 4;
     this.maxHBox.TextChanged += new System.EventHandler(this.maxHBox_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(186, 23);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(39, 15);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Max:";
     //
     // minHBox
     //
     this.minHBox.Location     = new System.Drawing.Point(40, 20);
     this.minHBox.Name         = "minHBox";
     this.minHBox.Size         = new System.Drawing.Size(50, 20);
     this.minHBox.TabIndex     = 2;
     this.minHBox.TextChanged += new System.EventHandler(this.minHBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 23);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(31, 17);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Min:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.saturationSlider);
     this.groupBox2.Controls.Add(this.maxSBox);
     this.groupBox2.Controls.Add(this.minSBox);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Location = new System.Drawing.Point(10, 245);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(280, 75);
     this.groupBox2.TabIndex = 2;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Saturation";
     //
     // saturationSlider
     //
     this.saturationSlider.Location       = new System.Drawing.Point(8, 45);
     this.saturationSlider.Name           = "saturationSlider";
     this.saturationSlider.Size           = new System.Drawing.Size(262, 23);
     this.saturationSlider.TabIndex       = 4;
     this.saturationSlider.Type           = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.saturationSlider.ValuesChanged += new System.EventHandler(this.saturationSlider_ValuesChanged);
     //
     // maxSBox
     //
     this.maxSBox.Location     = new System.Drawing.Point(218, 20);
     this.maxSBox.Name         = "maxSBox";
     this.maxSBox.Size         = new System.Drawing.Size(50, 20);
     this.maxSBox.TabIndex     = 3;
     this.maxSBox.TextChanged += new System.EventHandler(this.maxSBox_TextChanged);
     //
     // minSBox
     //
     this.minSBox.Location     = new System.Drawing.Point(40, 20);
     this.minSBox.Name         = "minSBox";
     this.minSBox.Size         = new System.Drawing.Size(50, 20);
     this.minSBox.TabIndex     = 2;
     this.minSBox.TextChanged += new System.EventHandler(this.minSBox_TextChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(186, 23);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(30, 17);
     this.label4.TabIndex = 1;
     this.label4.Text     = "Max:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10, 23);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(30, 16);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Min:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.luminanceSlider);
     this.groupBox3.Controls.Add(this.maxLBox);
     this.groupBox3.Controls.Add(this.minLBox);
     this.groupBox3.Controls.Add(this.label5);
     this.groupBox3.Controls.Add(this.label6);
     this.groupBox3.Location = new System.Drawing.Point(10, 325);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(280, 75);
     this.groupBox3.TabIndex = 3;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Luminance";
     //
     // luminanceSlider
     //
     this.luminanceSlider.Location       = new System.Drawing.Point(8, 45);
     this.luminanceSlider.Name           = "luminanceSlider";
     this.luminanceSlider.Size           = new System.Drawing.Size(262, 23);
     this.luminanceSlider.TabIndex       = 9;
     this.luminanceSlider.Type           = PhotoBrushProject.ColorSliderType.InnerGradient;
     this.luminanceSlider.ValuesChanged += new System.EventHandler(this.luminanceSlider_ValuesChanged);
     //
     // maxLBox
     //
     this.maxLBox.Location     = new System.Drawing.Point(218, 20);
     this.maxLBox.Name         = "maxLBox";
     this.maxLBox.Size         = new System.Drawing.Size(50, 20);
     this.maxLBox.TabIndex     = 8;
     this.maxLBox.TextChanged += new System.EventHandler(this.maxLBox_TextChanged);
     //
     // minLBox
     //
     this.minLBox.Location     = new System.Drawing.Point(40, 20);
     this.minLBox.Name         = "minLBox";
     this.minLBox.Size         = new System.Drawing.Size(50, 20);
     this.minLBox.TabIndex     = 7;
     this.minLBox.TextChanged += new System.EventHandler(this.minLBox_TextChanged);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(186, 23);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(30, 17);
     this.label5.TabIndex = 6;
     this.label5.Text     = "Max:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 23);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(30, 16);
     this.label6.TabIndex = 5;
     this.label6.Text     = "Min:";
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.filterPreview);
     this.groupBox5.Location = new System.Drawing.Point(300, 10);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new System.Drawing.Size(170, 175);
     this.groupBox5.TabIndex = 4;
     this.groupBox5.TabStop  = false;
     this.groupBox5.Text     = "Preview";
     //
     // filterPreview
     //
     this.filterPreview.Image    = null;
     this.filterPreview.Location = new System.Drawing.Point(10, 15);
     this.filterPreview.Name     = "filterPreview";
     this.filterPreview.Size     = new System.Drawing.Size(150, 150);
     this.filterPreview.TabIndex = 0;
     this.filterPreview.TabStop  = false;
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.updateLCheck);
     this.groupBox4.Controls.Add(this.fillLBox);
     this.groupBox4.Controls.Add(this.label9);
     this.groupBox4.Controls.Add(this.updateSCheck);
     this.groupBox4.Controls.Add(this.fillSBox);
     this.groupBox4.Controls.Add(this.label8);
     this.groupBox4.Controls.Add(this.updateHCheck);
     this.groupBox4.Controls.Add(this.fillHBox);
     this.groupBox4.Controls.Add(this.label7);
     this.groupBox4.Location = new System.Drawing.Point(300, 190);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(170, 100);
     this.groupBox4.TabIndex = 5;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "Fill Color";
     //
     // updateLCheck
     //
     this.updateLCheck.Checked         = true;
     this.updateLCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.updateLCheck.Location        = new System.Drawing.Point(125, 70);
     this.updateLCheck.Name            = "updateLCheck";
     this.updateLCheck.Size            = new System.Drawing.Size(14, 24);
     this.updateLCheck.TabIndex        = 8;
     this.updateLCheck.CheckedChanged += new System.EventHandler(this.updateLCheck_CheckedChanged);
     //
     // fillLBox
     //
     this.fillLBox.Location     = new System.Drawing.Point(40, 70);
     this.fillLBox.Name         = "fillLBox";
     this.fillLBox.Size         = new System.Drawing.Size(50, 20);
     this.fillLBox.TabIndex     = 7;
     this.fillLBox.TextChanged += new System.EventHandler(this.fillLBox_TextChanged);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(10, 73);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(20, 16);
     this.label9.TabIndex = 6;
     this.label9.Text     = "L:";
     //
     // updateSCheck
     //
     this.updateSCheck.Checked         = true;
     this.updateSCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.updateSCheck.Location        = new System.Drawing.Point(125, 45);
     this.updateSCheck.Name            = "updateSCheck";
     this.updateSCheck.Size            = new System.Drawing.Size(14, 24);
     this.updateSCheck.TabIndex        = 5;
     this.updateSCheck.CheckedChanged += new System.EventHandler(this.updateSCheck_CheckedChanged);
     //
     // fillSBox
     //
     this.fillSBox.Location     = new System.Drawing.Point(40, 45);
     this.fillSBox.Name         = "fillSBox";
     this.fillSBox.Size         = new System.Drawing.Size(50, 20);
     this.fillSBox.TabIndex     = 4;
     this.fillSBox.TextChanged += new System.EventHandler(this.fillSBox_TextChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(10, 48);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(20, 16);
     this.label8.TabIndex = 3;
     this.label8.Text     = "S:";
     //
     // updateHCheck
     //
     this.updateHCheck.Checked         = true;
     this.updateHCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.updateHCheck.Location        = new System.Drawing.Point(125, 20);
     this.updateHCheck.Name            = "updateHCheck";
     this.updateHCheck.Size            = new System.Drawing.Size(14, 24);
     this.updateHCheck.TabIndex        = 2;
     this.updateHCheck.CheckedChanged += new System.EventHandler(this.updateHCheck_CheckedChanged);
     //
     // fillHBox
     //
     this.fillHBox.Location     = new System.Drawing.Point(40, 20);
     this.fillHBox.Name         = "fillHBox";
     this.fillHBox.Size         = new System.Drawing.Size(50, 20);
     this.fillHBox.TabIndex     = 1;
     this.fillHBox.TextChanged += new System.EventHandler(this.fillHBox_TextChanged);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(10, 23);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(20, 16);
     this.label7.TabIndex = 0;
     this.label7.Text     = "H:";
     //
     // fillTypeCombo
     //
     this.fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fillTypeCombo.Items.AddRange(new object[] {
         "Outside",
         "Inside"
     });
     this.fillTypeCombo.Location              = new System.Drawing.Point(350, 300);
     this.fillTypeCombo.Name                  = "fillTypeCombo";
     this.fillTypeCombo.Size                  = new System.Drawing.Size(120, 21);
     this.fillTypeCombo.TabIndex              = 10;
     this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged);
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(300, 303);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(50, 14);
     this.label10.TabIndex = 13;
     this.label10.Text     = "Fill type:";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(395, 378);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 12;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(310, 378);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 11;
     this.okButton.Text         = "Ok";
     //
     // HSLFilteringForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(479, 408);
     this.Controls.Add(this.fillTypeCombo);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox5);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "HSLFilteringForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "HSL Filtering";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.ResumeLayout(false);
 }