/// <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);
 }
Пример #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.label1 = new System.Windows.Forms.Label();
     this.effectComboBox = new System.Windows.Forms.ComboBox();
     this.cancelButton = new System.Windows.Forms.Button();
     this.okButton = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 18);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(42, 13);
     this.label1.TabIndex = 0;
     this.label1.Text = "Effect:";
     //
     // effectComboBox
     //
     this.effectComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.effectComboBox.Items.AddRange(new object[] {
     "Marble",
     "Wood",
     "Clouds",
     "Labyrinth",
     "Textile",
     "Dirty",
     "Rusty"});
     this.effectComboBox.Location = new System.Drawing.Point(55, 15);
     this.effectComboBox.Name = "effectComboBox";
     this.effectComboBox.Size = new System.Drawing.Size(140, 21);
     this.effectComboBox.TabIndex = 1;
     this.effectComboBox.SelectedIndexChanged += new System.EventHandler(this.effectComboBox_SelectedIndexChanged);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(209, 195);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 9;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(124, 195);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 8;
     this.okButton.Text = "Ok";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(230, 10);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(170, 175);
     this.groupBox1.TabIndex = 7;
     this.groupBox1.TabStop = false;
     this.groupBox1.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;
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location = new System.Drawing.Point(10, 182);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(210, 2);
     this.pictureBox1.TabIndex = 10;
     this.pictureBox1.TabStop = false;
     //
     // PerlinNoiseForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(409, 226);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.effectComboBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "PerlinNoiseForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Perlin Noise";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #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.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);
 }
Пример #4
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.contrastBox = new System.Windows.Forms.TextBox();
     this.contrastTrackBar = new System.Windows.Forms.TrackBar();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.cancelButton = new System.Windows.Forms.Button();
     this.okButton = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.contrastTrackBar)).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(100, 14);
     this.label1.TabIndex = 0;
     this.label1.Text = "Contrast factor:";
     //
     // contrastBox
     //
     this.contrastBox.Location = new System.Drawing.Point(110, 10);
     this.contrastBox.Name = "contrastBox";
     this.contrastBox.Size = new System.Drawing.Size(50, 20);
     this.contrastBox.TabIndex = 1;
     this.contrastBox.TextChanged += new System.EventHandler(this.contrastBox_TextChanged);
     //
     // contrastTrackBar
     //
     this.contrastTrackBar.Location = new System.Drawing.Point(10, 40);
     this.contrastTrackBar.Maximum = 5000;
     this.contrastTrackBar.Minimum = 1;
     this.contrastTrackBar.Name = "contrastTrackBar";
     this.contrastTrackBar.Size = new System.Drawing.Size(250, 45);
     this.contrastTrackBar.TabIndex = 17;
     this.contrastTrackBar.TickFrequency = 200;
     this.contrastTrackBar.Value = 1;
     this.contrastTrackBar.ValueChanged += new System.EventHandler(this.contrastTrackBar_ValueChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(270, 5);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(160, 165);
     this.groupBox1.TabIndex = 18;
     this.groupBox1.TabStop = false;
     this.groupBox1.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(140, 140);
     this.filterPreview.TabIndex = 12;
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(150, 143);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 20;
     this.cancelButton.Text = "&Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(60, 143);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 19;
     this.okButton.Text = "&Ok";
     //
     // ContrastForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(439, 178);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.contrastTrackBar);
     this.Controls.Add(this.contrastBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ContrastForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Contrast";
     ((System.ComponentModel.ISupportInitialize)(this.contrastTrackBar)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #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.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);
 }
Пример #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.brightnessBox      = new System.Windows.Forms.TextBox();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.filterPreview      = new PhotoBrushProject.FilterPreview();
     this.brightnessTrackBar = new System.Windows.Forms.TrackBar();
     this.cancelButton       = new System.Windows.Forms.Button();
     this.okButton           = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.brightnessTrackBar)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 13);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(110, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Adjust brightness by:";
     //
     // brightnessBox
     //
     this.brightnessBox.Location     = new System.Drawing.Point(115, 10);
     this.brightnessBox.Name         = "brightnessBox";
     this.brightnessBox.Size         = new System.Drawing.Size(50, 20);
     this.brightnessBox.TabIndex     = 1;
     this.brightnessBox.TextChanged += new System.EventHandler(this.brightnessBox_TextChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(270, 5);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(160, 165);
     this.groupBox1.TabIndex = 15;
     this.groupBox1.TabStop  = false;
     this.groupBox1.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(140, 140);
     this.filterPreview.TabIndex = 12;
     //
     // brightnessTrackBar
     //
     this.brightnessTrackBar.Location      = new System.Drawing.Point(10, 40);
     this.brightnessTrackBar.Maximum       = 1000;
     this.brightnessTrackBar.Minimum       = -1000;
     this.brightnessTrackBar.Name          = "brightnessTrackBar";
     this.brightnessTrackBar.Size          = new System.Drawing.Size(250, 45);
     this.brightnessTrackBar.TabIndex      = 16;
     this.brightnessTrackBar.TickFrequency = 50;
     this.brightnessTrackBar.ValueChanged += new System.EventHandler(this.brightnessTrackBar_ValueChanged);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(150, 143);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 18;
     this.cancelButton.Text         = "&Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(60, 143);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 17;
     this.okButton.Text         = "&Ok";
     //
     // BrightnessForm
     //
     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(439, 178);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.brightnessTrackBar);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.brightnessBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "BrightnessForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Brightness";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.brightnessTrackBar)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #7
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.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);
 }
Пример #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.groupBox1 = new System.Windows.Forms.GroupBox();
     this.huePicker = new PhotoBrushProject.HuePicker();
     this.hueBox = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox2 = 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();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.huePicker);
     this.groupBox1.Controls.Add(this.hueBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(10, 5);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(195, 225);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Select Hue Value";
     //
     // huePicker
     //
     this.huePicker.Location = new System.Drawing.Point(10, 45);
     this.huePicker.Name = "huePicker";
     this.huePicker.Size = new System.Drawing.Size(170, 170);
     this.huePicker.TabIndex = 2;
     this.huePicker.TabStop = false;
     this.huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged);
     //
     // hueBox
     //
     this.hueBox.Location = new System.Drawing.Point(45, 20);
     this.hueBox.Name = "hueBox";
     this.hueBox.Size = new System.Drawing.Size(100, 20);
     this.hueBox.TabIndex = 1;
     this.hueBox.TextChanged += new System.EventHandler(this.hueBox_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 = "&Hue:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.filterPreview);
     this.groupBox2.Location = new System.Drawing.Point(215, 5);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(160, 165);
     this.groupBox2.TabIndex = 16;
     this.groupBox2.TabStop = false;
     this.groupBox2.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(140, 140);
     this.filterPreview.TabIndex = 12;
     this.filterPreview.TabStop = false;
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(300, 205);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 3;
     this.cancelButton.Text = "&Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(215, 205);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 2;
     this.okButton.Text = "&Ok";
     //
     // HueModifierForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(384, 238);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     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 = "HueModifierForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Hue Modifier";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #9
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.sigmaTrackBar = new System.Windows.Forms.TrackBar();
     this.sigmaBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.sizeBox = new System.Windows.Forms.TextBox();
     this.sizeTrackBar = new System.Windows.Forms.TrackBar();
     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.pictureBox1 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sizeTrackBar)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 13);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(42, 19);
     this.label1.TabIndex = 0;
     this.label1.Text = "Sigma:";
     //
     // sigmaTrackBar
     //
     this.sigmaTrackBar.Location = new System.Drawing.Point(10, 40);
     this.sigmaTrackBar.Maximum = 50;
     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);
     //
     // sigmaBox
     //
     this.sigmaBox.Location = new System.Drawing.Point(60, 10);
     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);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 93);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(35, 15);
     this.label2.TabIndex = 3;
     this.label2.Text = "Size:";
     //
     // sizeBox
     //
     this.sizeBox.Location = new System.Drawing.Point(60, 90);
     this.sizeBox.Name = "sizeBox";
     this.sizeBox.Size = new System.Drawing.Size(60, 20);
     this.sizeBox.TabIndex = 4;
     this.sizeBox.TextChanged += new System.EventHandler(this.sizeBox_TextChanged);
     //
     // sizeTrackBar
     //
     this.sizeTrackBar.LargeChange = 1;
     this.sizeTrackBar.Location = new System.Drawing.Point(10, 120);
     this.sizeTrackBar.Maximum = 9;
     this.sizeTrackBar.Name = "sizeTrackBar";
     this.sizeTrackBar.Size = new System.Drawing.Size(260, 45);
     this.sizeTrackBar.TabIndex = 5;
     this.sizeTrackBar.Value = 1;
     this.sizeTrackBar.ValueChanged += new System.EventHandler(this.sizeTrackBar_ValueChanged);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.filterPreview);
     this.groupBox3.Location = new System.Drawing.Point(280, 5);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(170, 175);
     this.groupBox3.TabIndex = 10;
     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(237, 195);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 15;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(152, 195);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 14;
     this.okButton.Text = "Ok";
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location = new System.Drawing.Point(10, 178);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(260, 2);
     this.pictureBox1.TabIndex = 16;
     this.pictureBox1.TabStop = false;
     //
     // GaussianForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(464, 226);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.sizeTrackBar);
     this.Controls.Add(this.sizeBox);
     this.Controls.Add(this.sigmaBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.sigmaTrackBar);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "GaussianForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Gaussian Blur";
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sizeTrackBar)).EndInit();
     this.groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #10
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.huePicker     = new PhotoBrushProject.HuePicker();
     this.hueBox        = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.groupBox2     = 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();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.huePicker);
     this.groupBox1.Controls.Add(this.hueBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(10, 5);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(195, 225);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Select Hue Value";
     //
     // huePicker
     //
     this.huePicker.Location       = new System.Drawing.Point(10, 45);
     this.huePicker.Name           = "huePicker";
     this.huePicker.Size           = new System.Drawing.Size(170, 170);
     this.huePicker.TabIndex       = 2;
     this.huePicker.TabStop        = false;
     this.huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged);
     //
     // hueBox
     //
     this.hueBox.Location     = new System.Drawing.Point(45, 20);
     this.hueBox.Name         = "hueBox";
     this.hueBox.Size         = new System.Drawing.Size(100, 20);
     this.hueBox.TabIndex     = 1;
     this.hueBox.TextChanged += new System.EventHandler(this.hueBox_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     = "&Hue:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.filterPreview);
     this.groupBox2.Location = new System.Drawing.Point(215, 5);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(160, 165);
     this.groupBox2.TabIndex = 16;
     this.groupBox2.TabStop  = false;
     this.groupBox2.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(140, 140);
     this.filterPreview.TabIndex = 12;
     this.filterPreview.TabStop  = false;
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(300, 205);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 3;
     this.cancelButton.Text         = "&Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(215, 205);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 2;
     this.okButton.Text         = "&Ok";
     //
     // HueModifierForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(384, 238);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     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            = "HueModifierForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Hue Modifier";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #11
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.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);
 }
Пример #12
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);
 }
Пример #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.label1         = new System.Windows.Forms.Label();
     this.widthBox       = new System.Windows.Forms.TextBox();
     this.widthTrackBar  = new System.Windows.Forms.TrackBar();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.filterPreview  = new PhotoBrushProject.FilterPreview();
     this.pictureBox1    = new System.Windows.Forms.PictureBox();
     this.okButton       = new System.Windows.Forms.Button();
     this.cancelButton   = new System.Windows.Forms.Button();
     this.label2         = new System.Windows.Forms.Label();
     this.heightBox      = new System.Windows.Forms.TextBox();
     this.heightTrackBar = new System.Windows.Forms.TrackBar();
     this.syncCheck      = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.widthTrackBar)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.heightTrackBar)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 18);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(65, 14);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Pixel Width:";
     //
     // widthBox
     //
     this.widthBox.Location     = new System.Drawing.Point(80, 15);
     this.widthBox.Name         = "widthBox";
     this.widthBox.ReadOnly     = true;
     this.widthBox.Size         = new System.Drawing.Size(50, 20);
     this.widthBox.TabIndex     = 1;
     this.widthBox.TabStop      = false;
     this.widthBox.TextChanged += new System.EventHandler(this.sizeBox_TextChanged);
     //
     // widthTrackBar
     //
     this.widthTrackBar.Location = new System.Drawing.Point(10, 42);
     this.widthTrackBar.Maximum  = 32;
     this.widthTrackBar.Minimum  = 2;
     this.widthTrackBar.Name     = "widthTrackBar";
     this.widthTrackBar.Size     = new System.Drawing.Size(200, 45);
     this.widthTrackBar.TabIndex = 2;
     this.widthTrackBar.Value    = 2;
     this.widthTrackBar.Scroll  += new System.EventHandler(this.widthTrackBar_Scroll);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(230, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(170, 175);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop  = false;
     this.groupBox1.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;
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(10, 182);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(210, 2);
     this.pictureBox1.TabIndex    = 4;
     this.pictureBox1.TabStop     = false;
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(124, 195);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 5;
     this.okButton.Text         = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(209, 195);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 6;
     this.cancelButton.Text         = "Cancel";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 98);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(70, 16);
     this.label2.TabIndex = 7;
     this.label2.Text     = "Pixel Height:";
     //
     // heightBox
     //
     this.heightBox.Location     = new System.Drawing.Point(80, 95);
     this.heightBox.Name         = "heightBox";
     this.heightBox.ReadOnly     = true;
     this.heightBox.Size         = new System.Drawing.Size(50, 20);
     this.heightBox.TabIndex     = 8;
     this.heightBox.TabStop      = false;
     this.heightBox.TextChanged += new System.EventHandler(this.heightBox_TextChanged);
     //
     // heightTrackBar
     //
     this.heightTrackBar.Location = new System.Drawing.Point(10, 122);
     this.heightTrackBar.Maximum  = 32;
     this.heightTrackBar.Minimum  = 2;
     this.heightTrackBar.Name     = "heightTrackBar";
     this.heightTrackBar.Size     = new System.Drawing.Size(200, 45);
     this.heightTrackBar.TabIndex = 9;
     this.heightTrackBar.Value    = 2;
     this.heightTrackBar.Scroll  += new System.EventHandler(this.heightTrackBar_Scroll);
     //
     // syncCheck
     //
     this.syncCheck.Checked    = true;
     this.syncCheck.CheckState = System.Windows.Forms.CheckState.Checked;
     this.syncCheck.Location   = new System.Drawing.Point(160, 15);
     this.syncCheck.Name       = "syncCheck";
     this.syncCheck.Size       = new System.Drawing.Size(55, 24);
     this.syncCheck.TabIndex   = 10;
     this.syncCheck.Text       = "Sync";
     //
     // PixelateForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(409, 226);
     this.Controls.Add(this.syncCheck);
     this.Controls.Add(this.heightTrackBar);
     this.Controls.Add(this.heightBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.widthTrackBar);
     this.Controls.Add(this.widthBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "PixelateForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Pixelate";
     ((System.ComponentModel.ISupportInitialize)(this.widthTrackBar)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.heightTrackBar)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #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.label1        = new System.Windows.Forms.Label();
     this.sigmaTrackBar = new System.Windows.Forms.TrackBar();
     this.sigmaBox      = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.sizeBox       = new System.Windows.Forms.TextBox();
     this.sizeTrackBar  = new System.Windows.Forms.TrackBar();
     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.pictureBox1   = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sizeTrackBar)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 13);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(42, 19);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Sigma:";
     //
     // sigmaTrackBar
     //
     this.sigmaTrackBar.Location      = new System.Drawing.Point(10, 40);
     this.sigmaTrackBar.Maximum       = 50;
     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);
     //
     // sigmaBox
     //
     this.sigmaBox.Location     = new System.Drawing.Point(60, 10);
     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);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 93);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(35, 15);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Size:";
     //
     // sizeBox
     //
     this.sizeBox.Location     = new System.Drawing.Point(60, 90);
     this.sizeBox.Name         = "sizeBox";
     this.sizeBox.Size         = new System.Drawing.Size(60, 20);
     this.sizeBox.TabIndex     = 4;
     this.sizeBox.TextChanged += new System.EventHandler(this.sizeBox_TextChanged);
     //
     // sizeTrackBar
     //
     this.sizeTrackBar.LargeChange   = 1;
     this.sizeTrackBar.Location      = new System.Drawing.Point(10, 120);
     this.sizeTrackBar.Maximum       = 9;
     this.sizeTrackBar.Name          = "sizeTrackBar";
     this.sizeTrackBar.Size          = new System.Drawing.Size(260, 45);
     this.sizeTrackBar.TabIndex      = 5;
     this.sizeTrackBar.Value         = 1;
     this.sizeTrackBar.ValueChanged += new System.EventHandler(this.sizeTrackBar_ValueChanged);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.filterPreview);
     this.groupBox3.Location = new System.Drawing.Point(280, 5);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(170, 175);
     this.groupBox3.TabIndex = 10;
     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(237, 195);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 15;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(152, 195);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 14;
     this.okButton.Text         = "Ok";
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(10, 178);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(260, 2);
     this.pictureBox1.TabIndex    = 16;
     this.pictureBox1.TabStop     = false;
     //
     // GaussianForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(464, 226);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.sizeTrackBar);
     this.Controls.Add(this.sizeBox);
     this.Controls.Add(this.sigmaBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.sigmaTrackBar);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "GaussianForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Gaussian Blur";
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sizeTrackBar)).EndInit();
     this.groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #15
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.operatorCombo = new System.Windows.Forms.ComboBox();
     this.label2        = new System.Windows.Forms.Label();
     this.sizeCombo     = new System.Windows.Forms.ComboBox();
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     this.loadButton    = new System.Windows.Forms.Button();
     this.saveButton    = new System.Windows.Forms.Button();
     this.grid          = new PhotoBrushProject.GridArrayInt();
     this.label1        = new System.Windows.Forms.Label();
     this.sfd           = new System.Windows.Forms.SaveFileDialog();
     this.ofd           = new System.Windows.Forms.OpenFileDialog();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.groupBox2     = new System.Windows.Forms.GroupBox();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // cancelButton
     //
     this.cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(545, 355);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 5;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(460, 355);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 4;
     this.okButton.Text         = "Ok";
     //
     // operatorCombo
     //
     this.operatorCombo.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.operatorCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.operatorCombo.Items.AddRange(new object[] {
         "Convolution",
         "Correlation"
     });
     this.operatorCombo.Location              = new System.Drawing.Point(450, 75);
     this.operatorCombo.Name                  = "operatorCombo";
     this.operatorCombo.Size                  = new System.Drawing.Size(170, 21);
     this.operatorCombo.TabIndex              = 3;
     this.operatorCombo.SelectedIndexChanged += new System.EventHandler(this.operatorCombo_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location = new System.Drawing.Point(450, 60);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(62, 15);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Operation:";
     //
     // sizeCombo
     //
     this.sizeCombo.Anchor                = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.sizeCombo.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.sizeCombo.Location              = new System.Drawing.Point(450, 30);
     this.sizeCombo.Name                  = "sizeCombo";
     this.sizeCombo.Size                  = new System.Drawing.Size(170, 21);
     this.sizeCombo.TabIndex              = 1;
     this.sizeCombo.SelectedIndexChanged += new System.EventHandler(this.sizeCombo_SelectedIndexChanged);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.loadButton);
     this.groupBox1.Controls.Add(this.saveButton);
     this.groupBox1.Controls.Add(this.grid);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(425, 375);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Kernel";
     //
     // loadButton
     //
     this.loadButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.loadButton.Location = new System.Drawing.Point(340, 344);
     this.loadButton.Name     = "loadButton";
     this.loadButton.Size     = new System.Drawing.Size(75, 23);
     this.loadButton.TabIndex = 0;
     this.loadButton.TabStop  = false;
     this.loadButton.Text     = "&Load";
     this.loadButton.Click   += new System.EventHandler(this.loadButton_Click);
     //
     // saveButton
     //
     this.saveButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.saveButton.Location = new System.Drawing.Point(260, 344);
     this.saveButton.Name     = "saveButton";
     this.saveButton.Size     = new System.Drawing.Size(75, 23);
     this.saveButton.TabIndex = 1;
     this.saveButton.TabStop  = false;
     this.saveButton.Text     = "&Save";
     this.saveButton.Click   += new System.EventHandler(this.saveButton_Click);
     //
     // grid
     //
     this.grid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.grid.AutoSizeMinHeight            = 10;
     this.grid.AutoSizeMinWidth             = 10;
     this.grid.AutoStretchColumnsToFitWidth = false;
     this.grid.AutoStretchRowsToFitHeight   = false;
     this.grid.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.grid.ContextMenuStyle  = SourceGrid2.ContextMenuStyle.None;
     this.grid.CustomSort        = false;
     this.grid.GridToolTipActive = true;
     this.grid.Location          = new System.Drawing.Point(10, 20);
     this.grid.Name        = "grid";
     this.grid.Size        = new System.Drawing.Size(405, 315);
     this.grid.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V)
                                                                     | SourceGrid2.GridSpecialKeys.Ctrl_X)
                                                                    | SourceGrid2.GridSpecialKeys.Delete)
                                                                   | SourceGrid2.GridSpecialKeys.Arrows)
                                                                  | SourceGrid2.GridSpecialKeys.Tab)
                                                                 | SourceGrid2.GridSpecialKeys.PageDownUp)
                                                                | SourceGrid2.GridSpecialKeys.Enter)
                                                               | SourceGrid2.GridSpecialKeys.Escape)
                                                              | SourceGrid2.GridSpecialKeys.Control)
                                                             | SourceGrid2.GridSpecialKeys.Shift)));
     this.grid.TabIndex      = 2;
     this.grid.TabStop       = true;
     this.grid.ValueChanged += new PhotoBrushProject.GridArrayInt.GridEventHandler(this.grid_ValueChanged);
     //
     // label1
     //
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Location = new System.Drawing.Point(450, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(66, 15);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Kernel size:";
     //
     // sfd
     //
     this.sfd.DefaultExt = "txt";
     this.sfd.FileName   = "kernel.txt";
     this.sfd.Filter     = "Text files (*.txt)|*.txt";
     this.sfd.Title      = "Save kernel to file";
     //
     // ofd
     //
     this.ofd.DefaultExt = "txt";
     this.ofd.Filter     = "Text files (*.txt)|*.txt";
     this.ofd.Title      = "Load kernel from file";
     //
     // 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 = 8;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.filterPreview);
     this.groupBox2.Location = new System.Drawing.Point(450, 105);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(170, 175);
     this.groupBox2.TabIndex = 9;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Preview";
     //
     // ConvolutionForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(627, 396);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.operatorCombo);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.sizeCombo);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Name            = "ConvolutionForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Convolution & Correlation";
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #16
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.legendLabel = new System.Windows.Forms.Label();
     this.loadButton = new System.Windows.Forms.Button();
     this.saveButton = new System.Windows.Forms.Button();
     this.grid = new PhotoBrushProject.GridArrayInt();
     this.sizeCombo = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.operatorCombo = new System.Windows.Forms.ComboBox();
     this.OkButton = new System.Windows.Forms.Button();
     this.cancelButton = new System.Windows.Forms.Button();
     this.ofd = new System.Windows.Forms.OpenFileDialog();
     this.sfd = new System.Windows.Forms.SaveFileDialog();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.legendLabel);
     this.groupBox1.Controls.Add(this.loadButton);
     this.groupBox1.Controls.Add(this.saveButton);
     this.groupBox1.Controls.Add(this.grid);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(425, 375);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Structuring Element";
     //
     // legendLabel
     //
     this.legendLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.legendLabel.BackColor = System.Drawing.Color.White;
     this.legendLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.legendLabel.Location = new System.Drawing.Point(10, 345);
     this.legendLabel.Name = "legendLabel";
     this.legendLabel.Size = new System.Drawing.Size(240, 18);
     this.legendLabel.TabIndex = 4;
     this.legendLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // loadButton
     //
     this.loadButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.loadButton.Location = new System.Drawing.Point(340, 345);
     this.loadButton.Name = "loadButton";
     this.loadButton.Size = new System.Drawing.Size(75, 23);
     this.loadButton.TabIndex = 2;
     this.loadButton.TabStop = false;
     this.loadButton.Text = "&Load";
     this.loadButton.Click += new System.EventHandler(this.loadButton_Click);
     //
     // saveButton
     //
     this.saveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.saveButton.Location = new System.Drawing.Point(255, 345);
     this.saveButton.Name = "saveButton";
     this.saveButton.Size = new System.Drawing.Size(75, 23);
     this.saveButton.TabIndex = 3;
     this.saveButton.TabStop = false;
     this.saveButton.Text = "&Save";
     this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
     //
     // grid
     //
     this.grid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.grid.AutoSizeMinHeight = 10;
     this.grid.AutoSizeMinWidth = 10;
     this.grid.AutoStretchColumnsToFitWidth = false;
     this.grid.AutoStretchRowsToFitHeight = false;
     this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None;
     this.grid.CustomSort = false;
     this.grid.GridToolTipActive = true;
     this.grid.Location = new System.Drawing.Point(10, 20);
     this.grid.Name = "grid";
     this.grid.Size = new System.Drawing.Size(405, 315);
     this.grid.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V)
     | SourceGrid2.GridSpecialKeys.Ctrl_X)
     | SourceGrid2.GridSpecialKeys.Delete)
     | SourceGrid2.GridSpecialKeys.Arrows)
     | SourceGrid2.GridSpecialKeys.Tab)
     | SourceGrid2.GridSpecialKeys.PageDownUp)
     | SourceGrid2.GridSpecialKeys.Enter)
     | SourceGrid2.GridSpecialKeys.Escape)
     | SourceGrid2.GridSpecialKeys.Control)
     | SourceGrid2.GridSpecialKeys.Shift)));
     this.grid.TabIndex = 0;
     this.grid.ValueChanged += new PhotoBrushProject.GridArrayInt.GridEventHandler(this.grid_ValueChanged);
     //
     // sizeCombo
     //
     this.sizeCombo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.sizeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.sizeCombo.Location = new System.Drawing.Point(450, 30);
     this.sizeCombo.Name = "sizeCombo";
     this.sizeCombo.Size = new System.Drawing.Size(170, 21);
     this.sizeCombo.TabIndex = 1;
     this.sizeCombo.SelectedIndexChanged += new System.EventHandler(this.sizeCombo_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Location = new System.Drawing.Point(450, 15);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(132, 15);
     this.label1.TabIndex = 0;
     this.label1.Text = "Structuring element size:";
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location = new System.Drawing.Point(450, 60);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(120, 15);
     this.label2.TabIndex = 2;
     this.label2.Text = "Morpology operator:";
     //
     // operatorCombo
     //
     this.operatorCombo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.operatorCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.operatorCombo.Location = new System.Drawing.Point(450, 75);
     this.operatorCombo.Name = "operatorCombo";
     this.operatorCombo.Size = new System.Drawing.Size(170, 21);
     this.operatorCombo.TabIndex = 3;
     this.operatorCombo.SelectedIndexChanged += new System.EventHandler(this.operatorCombo_SelectedIndexChanged);
     //
     // OkButton
     //
     this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.OkButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.OkButton.Location = new System.Drawing.Point(460, 355);
     this.OkButton.Name = "OkButton";
     this.OkButton.Size = new System.Drawing.Size(75, 23);
     this.OkButton.TabIndex = 4;
     this.OkButton.Text = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(545, 355);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 5;
     this.cancelButton.Text = "Cancel";
     //
     // ofd
     //
     this.ofd.DefaultExt = "txt";
     this.ofd.Filter = "Text files (*.txt)|*.txt";
     this.ofd.Title = "Load structuring element from file";
     //
     // sfd
     //
     this.sfd.DefaultExt = "txt";
     this.sfd.FileName = "se.txt";
     this.sfd.Filter = "Text files (*.txt)|*.txt";
     this.sfd.Title = "Save structuring element to file";
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.filterPreview);
     this.groupBox2.Location = new System.Drawing.Point(450, 105);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(170, 175);
     this.groupBox2.TabIndex = 10;
     this.groupBox2.TabStop = false;
     this.groupBox2.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 = 8;
     //
     // MathMorphologyForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(627, 396);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.OkButton);
     this.Controls.Add(this.operatorCombo);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.sizeCombo);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Name = "MathMorphologyForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Mathematical Morphology";
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #17
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.percentageBar = new System.Windows.Forms.TrackBar();
     this.pictureBox1   = new System.Windows.Forms.PictureBox();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.okButton      = new System.Windows.Forms.Button();
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     ((System.ComponentModel.ISupportInitialize)(this.percentageBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 10);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(110, 15);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Source percentage:";
     //
     // percentageBar
     //
     this.percentageBar.Location      = new System.Drawing.Point(8, 35);
     this.percentageBar.Maximum       = 100;
     this.percentageBar.Minimum       = 1;
     this.percentageBar.Name          = "percentageBar";
     this.percentageBar.Size          = new System.Drawing.Size(220, 45);
     this.percentageBar.TabIndex      = 1;
     this.percentageBar.TickFrequency = 3;
     this.percentageBar.Value         = 1;
     this.percentageBar.ValueChanged += new System.EventHandler(this.percentageBar_ValueChanged);
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(10, 182);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(210, 2);
     this.pictureBox1.TabIndex    = 14;
     this.pictureBox1.TabStop     = false;
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(209, 195);
     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(124, 195);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 12;
     this.okButton.Text         = "Ok";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(230, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(170, 175);
     this.groupBox1.TabIndex = 11;
     this.groupBox1.TabStop  = false;
     this.groupBox1.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;
     //
     // MorphForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(409, 226);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.percentageBar);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "MorphForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Morphing";
     ((System.ComponentModel.ISupportInitialize)(this.percentageBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #18
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();
 }
Пример #19
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.widthBox = new System.Windows.Forms.TextBox();
     this.widthTrackBar = new System.Windows.Forms.TrackBar();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.okButton = new System.Windows.Forms.Button();
     this.cancelButton = new System.Windows.Forms.Button();
     this.label2 = new System.Windows.Forms.Label();
     this.heightBox = new System.Windows.Forms.TextBox();
     this.heightTrackBar = new System.Windows.Forms.TrackBar();
     this.syncCheck = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.widthTrackBar)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.heightTrackBar)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 18);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(65, 14);
     this.label1.TabIndex = 0;
     this.label1.Text = "Pixel Width:";
     //
     // widthBox
     //
     this.widthBox.Location = new System.Drawing.Point(80, 15);
     this.widthBox.Name = "widthBox";
     this.widthBox.ReadOnly = true;
     this.widthBox.Size = new System.Drawing.Size(50, 20);
     this.widthBox.TabIndex = 1;
     this.widthBox.TabStop = false;
     this.widthBox.TextChanged += new System.EventHandler(this.sizeBox_TextChanged);
     //
     // widthTrackBar
     //
     this.widthTrackBar.Location = new System.Drawing.Point(10, 42);
     this.widthTrackBar.Maximum = 32;
     this.widthTrackBar.Minimum = 2;
     this.widthTrackBar.Name = "widthTrackBar";
     this.widthTrackBar.Size = new System.Drawing.Size(200, 45);
     this.widthTrackBar.TabIndex = 2;
     this.widthTrackBar.Value = 2;
     this.widthTrackBar.Scroll += new System.EventHandler(this.widthTrackBar_Scroll);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(230, 10);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(170, 175);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop = false;
     this.groupBox1.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;
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location = new System.Drawing.Point(10, 182);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(210, 2);
     this.pictureBox1.TabIndex = 4;
     this.pictureBox1.TabStop = false;
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(124, 195);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 5;
     this.okButton.Text = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(209, 195);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 6;
     this.cancelButton.Text = "Cancel";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 98);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(70, 16);
     this.label2.TabIndex = 7;
     this.label2.Text = "Pixel Height:";
     //
     // heightBox
     //
     this.heightBox.Location = new System.Drawing.Point(80, 95);
     this.heightBox.Name = "heightBox";
     this.heightBox.ReadOnly = true;
     this.heightBox.Size = new System.Drawing.Size(50, 20);
     this.heightBox.TabIndex = 8;
     this.heightBox.TabStop = false;
     this.heightBox.TextChanged += new System.EventHandler(this.heightBox_TextChanged);
     //
     // heightTrackBar
     //
     this.heightTrackBar.Location = new System.Drawing.Point(10, 122);
     this.heightTrackBar.Maximum = 32;
     this.heightTrackBar.Minimum = 2;
     this.heightTrackBar.Name = "heightTrackBar";
     this.heightTrackBar.Size = new System.Drawing.Size(200, 45);
     this.heightTrackBar.TabIndex = 9;
     this.heightTrackBar.Value = 2;
     this.heightTrackBar.Scroll += new System.EventHandler(this.heightTrackBar_Scroll);
     //
     // syncCheck
     //
     this.syncCheck.Checked = true;
     this.syncCheck.CheckState = System.Windows.Forms.CheckState.Checked;
     this.syncCheck.Location = new System.Drawing.Point(160, 15);
     this.syncCheck.Name = "syncCheck";
     this.syncCheck.Size = new System.Drawing.Size(55, 24);
     this.syncCheck.TabIndex = 10;
     this.syncCheck.Text = "Sync";
     //
     // PixelateForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(409, 226);
     this.Controls.Add(this.syncCheck);
     this.Controls.Add(this.heightTrackBar);
     this.Controls.Add(this.heightBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.widthTrackBar);
     this.Controls.Add(this.widthBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "PixelateForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Pixelate";
     ((System.ComponentModel.ISupportInitialize)(this.widthTrackBar)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.heightTrackBar)).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);
 }
 /// <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);
 }
Пример #22
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.effectComboBox = new System.Windows.Forms.ComboBox();
     this.cancelButton   = new System.Windows.Forms.Button();
     this.okButton       = new System.Windows.Forms.Button();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.filterPreview  = new PhotoBrushProject.FilterPreview();
     this.pictureBox1    = new System.Windows.Forms.PictureBox();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 18);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(42, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Effect:";
     //
     // effectComboBox
     //
     this.effectComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.effectComboBox.Items.AddRange(new object[] {
         "Marble",
         "Wood",
         "Clouds",
         "Labyrinth",
         "Textile",
         "Dirty",
         "Rusty"
     });
     this.effectComboBox.Location              = new System.Drawing.Point(55, 15);
     this.effectComboBox.Name                  = "effectComboBox";
     this.effectComboBox.Size                  = new System.Drawing.Size(140, 21);
     this.effectComboBox.TabIndex              = 1;
     this.effectComboBox.SelectedIndexChanged += new System.EventHandler(this.effectComboBox_SelectedIndexChanged);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(209, 195);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 9;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(124, 195);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 8;
     this.okButton.Text         = "Ok";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(230, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(170, 175);
     this.groupBox1.TabIndex = 7;
     this.groupBox1.TabStop  = false;
     this.groupBox1.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;
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(10, 182);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(210, 2);
     this.pictureBox1.TabIndex    = 10;
     this.pictureBox1.TabStop     = false;
     //
     // PerlinNoiseForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(409, 226);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.effectComboBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "PerlinNoiseForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Perlin Noise";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #23
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();
 }
Пример #24
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();
 }
Пример #25
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.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.trackBar = new System.Windows.Forms.TrackBar();
     this.sizeBox = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar)).BeginInit();
     this.SuspendLayout();
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(120, 160);
     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(35, 160);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 12;
     this.okButton.Text = "Ok";
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location = new System.Drawing.Point(10, 150);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(210, 2);
     this.pictureBox1.TabIndex = 11;
     this.pictureBox1.TabStop = false;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(230, 10);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(170, 175);
     this.groupBox1.TabIndex = 10;
     this.groupBox1.TabStop = false;
     this.groupBox1.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 = 14;
     this.filterPreview.TabStop = false;
     //
     // trackBar
     //
     this.trackBar.LargeChange = 1;
     this.trackBar.Location = new System.Drawing.Point(10, 45);
     this.trackBar.Maximum = 9;
     this.trackBar.Name = "trackBar";
     this.trackBar.Size = new System.Drawing.Size(200, 45);
     this.trackBar.TabIndex = 9;
     this.trackBar.ValueChanged += new System.EventHandler(this.trackBar_ValueChanged);
     //
     // sizeBox
     //
     this.sizeBox.Location = new System.Drawing.Point(70, 15);
     this.sizeBox.Name = "sizeBox";
     this.sizeBox.ReadOnly = true;
     this.sizeBox.Size = new System.Drawing.Size(100, 20);
     this.sizeBox.TabIndex = 8;
     this.sizeBox.TabStop = false;
     this.sizeBox.TextChanged += new System.EventHandler(this.sizeBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 18);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(60, 14);
     this.label1.TabIndex = 7;
     this.label1.Text = "Brush size:";
     //
     // OilPaintingForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(409, 193);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.trackBar);
     this.Controls.Add(this.sizeBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "OilPaintingForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Oil Painting";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.trackBar)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #26
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();
 }
Пример #27
0
 /// <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);
 }
Пример #28
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.factorBox     = new System.Windows.Forms.TextBox();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.okButton      = new System.Windows.Forms.Button();
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     this.filterPreview = new PhotoBrushProject.FilterPreview();
     this.trackBar      = new System.Windows.Forms.TrackBar();
     this.pictureBox1   = new System.Windows.Forms.PictureBox();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 18);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(50, 14);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Factor:";
     //
     // factorBox
     //
     this.factorBox.Location     = new System.Drawing.Point(60, 15);
     this.factorBox.Name         = "factorBox";
     this.factorBox.Size         = new System.Drawing.Size(50, 20);
     this.factorBox.TabIndex     = 1;
     this.factorBox.TextChanged += new System.EventHandler(this.factorBox_TextChanged);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(120, 160);
     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(35, 160);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 10;
     this.okButton.Text         = "Ok";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.filterPreview);
     this.groupBox1.Location = new System.Drawing.Point(230, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(170, 175);
     this.groupBox1.TabIndex = 8;
     this.groupBox1.TabStop  = false;
     this.groupBox1.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;
     //
     // trackBar
     //
     this.trackBar.Location      = new System.Drawing.Point(10, 45);
     this.trackBar.Maximum       = 100;
     this.trackBar.Minimum       = 1;
     this.trackBar.Name          = "trackBar";
     this.trackBar.Size          = new System.Drawing.Size(200, 45);
     this.trackBar.TabIndex      = 7;
     this.trackBar.TickFrequency = 5;
     this.trackBar.Value         = 2;
     this.trackBar.ValueChanged += new System.EventHandler(this.trackBar_ValueChanged);
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(10, 150);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(210, 2);
     this.pictureBox1.TabIndex    = 9;
     this.pictureBox1.TabStop     = false;
     //
     // AdaptiveSmoothForm
     //
     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(409, 193);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.trackBar);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.factorBox);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "AdaptiveSmoothForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Adaptive Smooth";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.trackBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #29
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);
 }