コード例 #1
0
ファイル: colorHSLPreviewForm.cs プロジェクト: LynxAS/iplab_d
 /// <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.selected_hue = new System.Windows.Forms.Label();
     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.huePicker = new IPLab.HuePicker();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.selected_saturation = new System.Windows.Forms.Label();
     this.saturationSlider = new IPLab.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.selected_luminance = new System.Windows.Forms.Label();
     this.luminanceSlider = new IPLab.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.cancelButton = new System.Windows.Forms.Button();
     this.okButton = new System.Windows.Forms.Button();
     this.previewColor = new System.Windows.Forms.PictureBox();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewColor)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.selected_hue);
     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";
     //
     // selected_hue
     //
     this.selected_hue.AutoSize = true;
     this.selected_hue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.selected_hue.Location = new System.Drawing.Point(115, 24);
     this.selected_hue.Name = "selected_hue";
     this.selected_hue.Size = new System.Drawing.Size(41, 13);
     this.selected_hue.TabIndex = 5;
     this.selected_hue.Text = "label7";
     //
     // 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:";
     //
     // 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 = IPLab.HuePickerType.Region;
     this.huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.selected_saturation);
     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";
     //
     // selected_saturation
     //
     this.selected_saturation.AutoSize = true;
     this.selected_saturation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.selected_saturation.Location = new System.Drawing.Point(115, 23);
     this.selected_saturation.Name = "selected_saturation";
     this.selected_saturation.Size = new System.Drawing.Size(41, 13);
     this.selected_saturation.TabIndex = 6;
     this.selected_saturation.Text = "label7";
     //
     // 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 = IPLab.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.selected_luminance);
     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";
     //
     // selected_luminance
     //
     this.selected_luminance.AutoSize = true;
     this.selected_luminance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.selected_luminance.Location = new System.Drawing.Point(115, 26);
     this.selected_luminance.Name = "selected_luminance";
     this.selected_luminance.Size = new System.Drawing.Size(41, 13);
     this.selected_luminance.TabIndex = 10;
     this.selected_luminance.Text = "label8";
     //
     // 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 = IPLab.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.previewColor);
     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";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location = new System.Drawing.Point(296, 377);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(174, 23);
     this.cancelButton.TabIndex = 12;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location = new System.Drawing.Point(296, 348);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(174, 23);
     this.okButton.TabIndex = 11;
     this.okButton.Text = "Ok";
     //
     // previewColor
     //
     this.previewColor.Location = new System.Drawing.Point(6, 19);
     this.previewColor.Name = "previewColor";
     this.previewColor.Size = new System.Drawing.Size(158, 148);
     this.previewColor.TabIndex = 13;
     this.previewColor.TabStop = false;
     //
     // colorHSLPreviewForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(474, 406);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     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 = "colorHSLPreviewForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "HSL Preview";
     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);
     ((System.ComponentModel.ISupportInitialize)(this.previewColor)).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.groupBox4 = new System.Windows.Forms.GroupBox( );
     this.blueSlider = new IPLab.ColorSlider( );
     this.greenSlider = new IPLab.ColorSlider( );
     this.redSlider = new IPLab.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 IPLab.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.AddRange( new System.Windows.Forms.Control[] {
                                                                             this.blueSlider,
                                                                             this.greenSlider,
                                                                             this.redSlider,
                                                                             this.label4,
                                                                             this.label3,
                                                                             this.label10,
                                                                             this.redBox,
                                                                             this.greenBox,
                                                                             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.Text = "";
     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.Text = "";
     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.Text = "";
     this.blueBox.TextChanged += new System.EventHandler( this.blueBox_TextChanged );
     //
     // groupBox5
     //
     this.groupBox5.Controls.AddRange( new System.Windows.Forms.Control[] {
                                                                             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, 42 );
     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.AddRange( new System.Windows.Forms.Control[] {
                                                                             this.radiusBox,
                                                                             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.Text = "";
     this.radiusBox.TextChanged += new System.EventHandler( this.radiusBox_TextChanged );
     //
     // groupBox2
     //
     this.groupBox2.Controls.AddRange( new System.Windows.Forms.Control[] {
                                                                             this.label1,
                                                                             this.label2,
                                                                             this.label5,
                                                                             this.fillRBox,
                                                                             this.fillGBox,
                                                                             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.Text = "";
     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.Text = "";
     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.Text = "";
     this.fillBBox.TextChanged += new System.EventHandler( this.fillBox_TextChanged );
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location = new System.Drawing.Point( 395, 255 );
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.TabIndex = 11;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location = new System.Drawing.Point( 310, 255 );
     this.okButton.Name = "okButton";
     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.AddRange( new System.Windows.Forms.Control[] {
                                                                   this.fillTypeCombo,
                                                                   this.label7,
                                                                   this.cancelButton,
                                                                   this.okButton,
                                                                   this.groupBox2,
                                                                   this.groupBox1,
                                                                   this.groupBox5,
                                                                   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.groupBox5.ResumeLayout( false );
     ( (System.ComponentModel.ISupportInitialize) ( this.radiusTrackBar ) ).EndInit( );
     this.groupBox1.ResumeLayout( false );
     this.groupBox2.ResumeLayout( false );
     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.cancelButton   = new System.Windows.Forms.Button( );
     this.okButton       = new System.Windows.Forms.Button( );
     this.groupBox4      = new System.Windows.Forms.GroupBox( );
     this.filterPreview  = new IPLab.FilterPreview( );
     this.outSlider      = new IPLab.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 IPLab.ColorSlider( );
     this.pictureBox2    = new System.Windows.Forms.PictureBox( );
     this.histogram      = new IPLab.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( );
     this.SuspendLayout( );
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location     = new System.Drawing.Point(385, 300);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.TabIndex     = 42;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location     = new System.Drawing.Point(295, 300);
     this.okButton.Name         = "okButton";
     this.okButton.TabIndex     = 41;
     this.okButton.Text         = "Ok";
     //
     // groupBox4
     //
     this.groupBox4.Controls.AddRange(new System.Windows.Forms.Control[] {
         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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.AddRange(new System.Windows.Forms.Control[] {
         this.cancelButton,
         this.okButton,
         this.groupBox4,
         this.outSlider,
         this.pictureBox3,
         this.outMaxBox,
         this.outMinBox,
         this.label3,
         this.inSlider,
         this.pictureBox2,
         this.histogram,
         this.label2,
         this.inMinBox,
         this.pictureBox1,
         this.label1,
         this.inMaxBox,
         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);
     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.thresholdBox = new System.Windows.Forms.TextBox();
            this.slider = new IPLab.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 IPLab.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(90, 15);
            this.label1.TabIndex = 0;
            this.label1.Text = "&Threshold value:";
            //
            // thresholdBox
            //
            this.thresholdBox.Location = new System.Drawing.Point(100, 10);
            this.thresholdBox.Name = "thresholdBox";
            this.thresholdBox.Size = new System.Drawing.Size(50, 20);
            this.thresholdBox.TabIndex = 1;
            this.thresholdBox.TextChanged += new System.EventHandler(this.minBox_TextChanged);
            //
            // slider
            //
            this.slider.DoubleArrow = false;
            this.slider.Location = new System.Drawing.Point(8, 40);
            this.slider.Min = 127;
            this.slider.Name = "slider";
            this.slider.Size = new System.Drawing.Size(262, 23);
            this.slider.TabIndex = 4;
            this.slider.Type = IPLab.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.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            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.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            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.thresholdBox);
            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();
        }
コード例 #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.cancelButton = new System.Windows.Forms.Button( );
     this.okButton = new System.Windows.Forms.Button( );
     this.groupBox4 = new System.Windows.Forms.GroupBox( );
     this.filterPreview = new IPLab.FilterPreview( );
     this.outSlider = new IPLab.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 IPLab.ColorSlider( );
     this.pictureBox2 = new System.Windows.Forms.PictureBox( );
     this.histogram = new IPLab.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( );
     this.SuspendLayout( );
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location = new System.Drawing.Point( 385, 300 );
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.TabIndex = 42;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location = new System.Drawing.Point( 295, 300 );
     this.okButton.Name = "okButton";
     this.okButton.TabIndex = 41;
     this.okButton.Text = "Ok";
     //
     // groupBox4
     //
     this.groupBox4.Controls.AddRange( new System.Windows.Forms.Control[] {
                                                                             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.Text = "";
     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.Text = "";
     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.Text = "";
     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.Text = "";
     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.AddRange( new System.Windows.Forms.Control[] {
                                                                   this.cancelButton,
                                                                   this.okButton,
                                                                   this.groupBox4,
                                                                   this.outSlider,
                                                                   this.pictureBox3,
                                                                   this.outMaxBox,
                                                                   this.outMinBox,
                                                                   this.label3,
                                                                   this.inSlider,
                                                                   this.pictureBox2,
                                                                   this.histogram,
                                                                   this.label2,
                                                                   this.inMinBox,
                                                                   this.pictureBox1,
                                                                   this.label1,
                                                                   this.inMaxBox,
                                                                   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 );
     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.groupBox1          = new System.Windows.Forms.GroupBox( );
     this.redSlider          = new IPLab.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 IPLab.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 IPLab.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 IPLab.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( );
     this.SuspendLayout( );
     //
     // groupBox1
     //
     this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.redSlider,
         this.fillRBox,
         this.label3,
         this.maxRBox,
         this.label2,
         this.minRBox,
         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           = IPLab.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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.AddRange(new System.Windows.Forms.Control[] {
         this.greenSlider,
         this.fillGBox,
         this.label4,
         this.maxGBox,
         this.label5,
         this.minGBox,
         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           = IPLab.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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.AddRange(new System.Windows.Forms.Control[] {
         this.blueSlider,
         this.fillBBox,
         this.label7,
         this.maxBBox,
         this.label8,
         this.minBBox,
         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           = IPLab.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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.AddRange(new System.Windows.Forms.Control[] {
         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.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location     = new System.Drawing.Point(152, 295);
     this.okButton.Name         = "okButton";
     this.okButton.TabIndex     = 10;
     this.okButton.Text         = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location     = new System.Drawing.Point(252, 295);
     this.cancelButton.Name         = "cancelButton";
     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.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(479, 328);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.pictureBox1,
         this.label12,
         this.label11,
         this.blueFillTypeCombo,
         this.greenFillTypeCombo,
         this.redFillTypeCombo,
         this.label10,
         this.cancelButton,
         this.okButton,
         this.groupBox4,
         this.groupBox3,
         this.groupBox2,
         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.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #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.huePicker = new IPLab.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 IPLab.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 IPLab.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 IPLab.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 = IPLab.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.Text = "";
     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.Text = "";
     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 = IPLab.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.Text = "";
     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.Text = "";
     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 = IPLab.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.Text = "";
     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.Text = "";
     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.Text = "";
     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.Text = "";
     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.Text = "";
     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.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location = new System.Drawing.Point( 395, 378 );
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.TabIndex = 12;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location = new System.Drawing.Point( 310, 378 );
     this.okButton.Name = "okButton";
     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.groupBox2.ResumeLayout( false );
     this.groupBox3.ResumeLayout( false );
     this.groupBox5.ResumeLayout( false );
     this.groupBox4.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.huePicker        = new IPLab.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 IPLab.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 IPLab.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 IPLab.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           = IPLab.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.Text         = "";
     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.Text         = "";
     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           = IPLab.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.Text         = "";
     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.Text         = "";
     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           = IPLab.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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location     = new System.Drawing.Point(395, 378);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.TabIndex     = 12;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location     = new System.Drawing.Point(310, 378);
     this.okButton.Name         = "okButton";
     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.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox5.ResumeLayout(false);
     this.groupBox4.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.groupBox1 = new System.Windows.Forms.GroupBox( );
     this.redSlider = new IPLab.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 IPLab.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 IPLab.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 IPLab.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( );
     this.SuspendLayout( );
     //
     // groupBox1
     //
     this.groupBox1.Controls.AddRange( new System.Windows.Forms.Control[] {
                                                                             this.redSlider,
                                                                             this.fillRBox,
                                                                             this.label3,
                                                                             this.maxRBox,
                                                                             this.label2,
                                                                             this.minRBox,
                                                                             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 = IPLab.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.Text = "";
     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.Text = "";
     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.Text = "";
     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.AddRange( new System.Windows.Forms.Control[] {
                                                                             this.greenSlider,
                                                                             this.fillGBox,
                                                                             this.label4,
                                                                             this.maxGBox,
                                                                             this.label5,
                                                                             this.minGBox,
                                                                             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 = IPLab.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.Text = "";
     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.Text = "";
     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.Text = "";
     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.AddRange( new System.Windows.Forms.Control[] {
                                                                             this.blueSlider,
                                                                             this.fillBBox,
                                                                             this.label7,
                                                                             this.maxBBox,
                                                                             this.label8,
                                                                             this.minBBox,
                                                                             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 = IPLab.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.Text = "";
     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.Text = "";
     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.Text = "";
     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.AddRange( new System.Windows.Forms.Control[] {
                                                                             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.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location = new System.Drawing.Point( 152, 295 );
     this.okButton.Name = "okButton";
     this.okButton.TabIndex = 10;
     this.okButton.Text = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location = new System.Drawing.Point( 252, 295 );
     this.cancelButton.Name = "cancelButton";
     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.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size( 479, 328 );
     this.Controls.AddRange( new System.Windows.Forms.Control[] {
                                                                   this.pictureBox1,
                                                                   this.label12,
                                                                   this.label11,
                                                                   this.blueFillTypeCombo,
                                                                   this.greenFillTypeCombo,
                                                                   this.redFillTypeCombo,
                                                                   this.label10,
                                                                   this.cancelButton,
                                                                   this.okButton,
                                                                   this.groupBox4,
                                                                   this.groupBox3,
                                                                   this.groupBox2,
                                                                   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.groupBox2.ResumeLayout( false );
     this.groupBox3.ResumeLayout( false );
     this.groupBox4.ResumeLayout( false );
     this.ResumeLayout( false );
 }
コード例 #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.ySlider = new IPLab.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 IPLab.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 IPLab.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 IPLab.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 = IPLab.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.Text = "";
     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.Text = "";
     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 = IPLab.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.Text = "";
     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.Text = "";
     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 = IPLab.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.Text = "";
     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.Text = "";
     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.Text = "";
     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.Text = "";
     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.Text = "";
     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.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location = new System.Drawing.Point( 310, 275 );
     this.okButton.Name = "okButton";
     this.okButton.TabIndex = 10;
     this.okButton.Text = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location = new System.Drawing.Point( 395, 275 );
     this.cancelButton.Name = "cancelButton";
     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.groupBox2.ResumeLayout( false );
     this.groupBox3.ResumeLayout( false );
     this.groupBox4.ResumeLayout( false );
     this.groupBox5.ResumeLayout( false );
     this.ResumeLayout( false );
 }
コード例 #11
0
ファイル: HSLFilteringForm.cs プロジェクト: LynxAS/iplab_d
 /// <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.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.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.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.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.lblFillColor = new System.Windows.Forms.Label();
     this.fillColorCombo = new System.Windows.Forms.ComboBox();
     this.groupBox6 = new System.Windows.Forms.GroupBox();
     this.previewFillColor = new System.Windows.Forms.PictureBox();
     this.useAvgAsFill = new System.Windows.Forms.CheckBox();
     this.avgColorH = new System.Windows.Forms.TextBox();
     this.label12 = new System.Windows.Forms.Label();
     this.avgColorS = new System.Windows.Forms.TextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.avgColorL = new System.Windows.Forms.TextBox();
     this.label14 = new System.Windows.Forms.Label();
     this.filterPreview = new IPLab.FilterPreview();
     this.luminanceSlider = new IPLab.ColorSlider();
     this.saturationSlider = new IPLab.ColorSlider();
     this.huePicker = new IPLab.HuePicker();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.groupBox6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewFillColor)).BeginInit();
     this.SuspendLayout();
     //
     // 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";
     //
     // 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";
     //
     // 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";
     //
     // fillTypeCombo
     //
     this.fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fillTypeCombo.Items.AddRange(new object[] {
     "Outside",
     "Inside"});
     this.fillTypeCombo.Location = new System.Drawing.Point(347, 218);
     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(297, 221);
     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.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location = new System.Drawing.Point(395, 377);
     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.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location = new System.Drawing.Point(300, 378);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(89, 23);
     this.okButton.TabIndex = 11;
     this.okButton.Text = "Ok";
     //
     // lblFillColor
     //
     this.lblFillColor.Location = new System.Drawing.Point(297, 199);
     this.lblFillColor.Name = "lblFillColor";
     this.lblFillColor.Size = new System.Drawing.Size(50, 14);
     this.lblFillColor.TabIndex = 14;
     this.lblFillColor.Text = "Fill color:";
     //
     // fillColorCombo
     //
     this.fillColorCombo.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.fillColorCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fillColorCombo.FormattingEnabled = true;
     this.fillColorCombo.Location = new System.Drawing.Point(347, 192);
     this.fillColorCombo.Name = "fillColorCombo";
     this.fillColorCombo.Size = new System.Drawing.Size(120, 21);
     this.fillColorCombo.TabIndex = 15;
     this.fillColorCombo.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.fillColorCombo_DrawItem);
     this.fillColorCombo.SelectedIndexChanged += new System.EventHandler(this.fillColorCombo_SelectedIndexChanged);
     //
     // groupBox6
     //
     this.groupBox6.Controls.Add(this.previewFillColor);
     this.groupBox6.Controls.Add(this.useAvgAsFill);
     this.groupBox6.Controls.Add(this.avgColorH);
     this.groupBox6.Controls.Add(this.label12);
     this.groupBox6.Controls.Add(this.avgColorS);
     this.groupBox6.Controls.Add(this.label13);
     this.groupBox6.Controls.Add(this.avgColorL);
     this.groupBox6.Controls.Add(this.label14);
     this.groupBox6.Location = new System.Drawing.Point(300, 245);
     this.groupBox6.Name = "groupBox6";
     this.groupBox6.Size = new System.Drawing.Size(170, 127);
     this.groupBox6.TabIndex = 16;
     this.groupBox6.TabStop = false;
     this.groupBox6.Text = "Average Color";
     //
     // previewFillColor
     //
     this.previewFillColor.Location = new System.Drawing.Point(92, 18);
     this.previewFillColor.Name = "previewFillColor";
     this.previewFillColor.Size = new System.Drawing.Size(74, 70);
     this.previewFillColor.TabIndex = 16;
     this.previewFillColor.TabStop = false;
     //
     // useAvgAsFill
     //
     this.useAvgAsFill.AutoSize = true;
     this.useAvgAsFill.Location = new System.Drawing.Point(6, 100);
     this.useAvgAsFill.Name = "useAvgAsFill";
     this.useAvgAsFill.Size = new System.Drawing.Size(139, 17);
     this.useAvgAsFill.TabIndex = 15;
     this.useAvgAsFill.Text = "Use average color as fill";
     this.useAvgAsFill.UseVisualStyleBackColor = true;
     this.useAvgAsFill.CheckedChanged += new System.EventHandler(this.useAvgAsFill_CheckedChanged);
     //
     // avgColorH
     //
     this.avgColorH.Location = new System.Drawing.Point(36, 17);
     this.avgColorH.Name = "avgColorH";
     this.avgColorH.ReadOnly = true;
     this.avgColorH.Size = new System.Drawing.Size(50, 20);
     this.avgColorH.TabIndex = 9;
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(6, 70);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(20, 16);
     this.label12.TabIndex = 12;
     this.label12.Text = "L:";
     //
     // avgColorS
     //
     this.avgColorS.Location = new System.Drawing.Point(36, 42);
     this.avgColorS.Name = "avgColorS";
     this.avgColorS.ReadOnly = true;
     this.avgColorS.Size = new System.Drawing.Size(50, 20);
     this.avgColorS.TabIndex = 11;
     //
     // label13
     //
     this.label13.Location = new System.Drawing.Point(6, 45);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(20, 16);
     this.label13.TabIndex = 10;
     this.label13.Text = "S:";
     //
     // avgColorL
     //
     this.avgColorL.Location = new System.Drawing.Point(36, 67);
     this.avgColorL.Name = "avgColorL";
     this.avgColorL.ReadOnly = true;
     this.avgColorL.Size = new System.Drawing.Size(50, 20);
     this.avgColorL.TabIndex = 13;
     //
     // label14
     //
     this.label14.Location = new System.Drawing.Point(6, 20);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(20, 16);
     this.label14.TabIndex = 8;
     this.label14.Text = "H:";
     //
     // 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;
     //
     // 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 = IPLab.ColorSliderType.InnerGradient;
     this.luminanceSlider.ValuesChanged += new System.EventHandler(this.luminanceSlider_ValuesChanged);
     //
     // 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 = IPLab.ColorSliderType.InnerGradient;
     this.saturationSlider.ValuesChanged += new System.EventHandler(this.saturationSlider_ValuesChanged);
     //
     // 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 = IPLab.HuePickerType.Region;
     this.huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged);
     //
     // HSLFilteringForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(474, 406);
     this.Controls.Add(this.groupBox6);
     this.Controls.Add(this.fillColorCombo);
     this.Controls.Add(this.lblFillColor);
     this.Controls.Add(this.fillTypeCombo);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     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.groupBox6.ResumeLayout(false);
     this.groupBox6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewFillColor)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #12
0
ファイル: LevelsLinearForm.cs プロジェクト: LynxAS/iplab_d
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent( )
 {
     this.histogram = new IPLab.Histogram();
     this.label1 = new System.Windows.Forms.Label();
     this.channelCombo = new System.Windows.Forms.ComboBox();
     this.okButton = new System.Windows.Forms.Button();
     this.cancelButton = new System.Windows.Forms.Button();
     this.inMinBox = new System.Windows.Forms.TextBox();
     this.inMaxBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.allCheckBox = new System.Windows.Forms.CheckBox();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.label3 = new System.Windows.Forms.Label();
     this.outMinBox = new System.Windows.Forms.TextBox();
     this.outMaxBox = new System.Windows.Forms.TextBox();
     this.inSlider = new IPLab.ColorSlider();
     this.outSlider = new IPLab.ColorSlider();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.filterPreview = new IPLab.FilterPreview();
     this.pictureBox3 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     this.SuspendLayout();
     //
     // 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 = 7;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 15);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(51, 16);
     this.label1.TabIndex = 1;
     this.label1.Text = "&Channel:";
     //
     // channelCombo
     //
     this.channelCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.channelCombo.Location = new System.Drawing.Point(60, 10);
     this.channelCombo.Name = "channelCombo";
     this.channelCombo.Size = new System.Drawing.Size(90, 21);
     this.channelCombo.TabIndex = 2;
     this.channelCombo.SelectedIndexChanged += new System.EventHandler(this.channelCombo_SelectedIndexChanged);
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     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 = 10;
     this.okButton.Text = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     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 = 11;
     this.cancelButton.Text = "Cancel";
     //
     // 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 = 5;
     this.inMinBox.TextChanged += new System.EventHandler(this.inMinBox_TextChanged);
     //
     // 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 = 6;
     this.inMaxBox.TextChanged += new System.EventHandler(this.inMaxBox_TextChanged);
     //
     // 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 = 4;
     this.label2.Text = "&Input levels:";
     //
     // allCheckBox
     //
     this.allCheckBox.Location = new System.Drawing.Point(165, 10);
     this.allCheckBox.Name = "allCheckBox";
     this.allCheckBox.Size = new System.Drawing.Size(104, 24);
     this.allCheckBox.TabIndex = 3;
     this.allCheckBox.Text = "&Sync channels";
     //
     // 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 = 9;
     this.pictureBox1.TabStop = false;
     //
     // 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 = 10;
     this.pictureBox2.TabStop = false;
     //
     // 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 = 7;
     this.label3.Text = "&Output levels:";
     //
     // 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 = 8;
     this.outMinBox.TextChanged += new System.EventHandler(this.outMinBox_TextChanged);
     //
     // 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 = 9;
     this.outMaxBox.TextChanged += new System.EventHandler(this.outMaxBox_TextChanged);
     //
     // 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 = 15;
     this.inSlider.TabStop = false;
     this.inSlider.ValuesChanged += new System.EventHandler(this.inSlider_ValuesChanged);
     //
     // 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 = 16;
     this.outSlider.TabStop = false;
     this.outSlider.ValuesChanged += new System.EventHandler(this.outSlider_ValuesChanged);
     //
     // 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 = 17;
     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;
     //
     // 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 = 14;
     this.pictureBox3.TabStop = false;
     //
     // LevelsLinearForm
     //
     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.groupBox4);
     this.Controls.Add(this.outSlider);
     this.Controls.Add(this.inSlider);
     this.Controls.Add(this.pictureBox3);
     this.Controls.Add(this.outMaxBox);
     this.Controls.Add(this.outMinBox);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.allCheckBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.inMaxBox);
     this.Controls.Add(this.inMinBox);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.channelCombo);
     this.Controls.Add(this.histogram);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "LevelsLinearForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Levels";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #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.groupBox1     = new System.Windows.Forms.GroupBox( );
     this.ySlider       = new IPLab.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 IPLab.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 IPLab.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 IPLab.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           = IPLab.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.Text         = "";
     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.Text         = "";
     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           = IPLab.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.Text         = "";
     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.Text         = "";
     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           = IPLab.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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location     = new System.Drawing.Point(310, 275);
     this.okButton.Name         = "okButton";
     this.okButton.TabIndex     = 10;
     this.okButton.Text         = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location     = new System.Drawing.Point(395, 275);
     this.cancelButton.Name         = "cancelButton";
     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.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox5.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #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.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 IPLab.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 IPLab.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.Text = "";
     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.Text = "";
     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.Text = "";
     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.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location = new System.Drawing.Point( 244, 205 );
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.TabIndex = 13;
     this.cancelButton.Text = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location = new System.Drawing.Point( 159, 205 );
     this.okButton.Name = "okButton";
     this.okButton.TabIndex = 12;
     this.okButton.Text = "Ok";
     //
     // CannyDetectorForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 );
     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 );
     ( (System.ComponentModel.ISupportInitialize) ( this.sigmaTrackBar ) ).EndInit( );
     this.groupBox2.ResumeLayout( false );
     this.groupBox3.ResumeLayout( false );
     this.ResumeLayout( false );
 }
コード例 #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.label1        = new System.Windows.Forms.Label();
            this.thresholdBox  = new System.Windows.Forms.TextBox();
            this.slider        = new IPLab.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 IPLab.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(90, 15);
            this.label1.TabIndex = 0;
            this.label1.Text     = "&Threshold value:";
            //
            // thresholdBox
            //
            this.thresholdBox.Location     = new System.Drawing.Point(100, 10);
            this.thresholdBox.Name         = "thresholdBox";
            this.thresholdBox.Size         = new System.Drawing.Size(50, 20);
            this.thresholdBox.TabIndex     = 1;
            this.thresholdBox.TextChanged += new System.EventHandler(this.minBox_TextChanged);
            //
            // slider
            //
            this.slider.DoubleArrow    = false;
            this.slider.Location       = new System.Drawing.Point(8, 40);
            this.slider.Min            = 127;
            this.slider.Name           = "slider";
            this.slider.Size           = new System.Drawing.Size(262, 23);
            this.slider.TabIndex       = 4;
            this.slider.Type           = IPLab.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.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
            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.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
            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.thresholdBox);
            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();
        }
コード例 #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.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 IPLab.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 IPLab.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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     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.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location     = new System.Drawing.Point(244, 205);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.TabIndex     = 13;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location     = new System.Drawing.Point(159, 205);
     this.okButton.Name         = "okButton";
     this.okButton.TabIndex     = 12;
     this.okButton.Text         = "Ok";
     //
     // CannyDetectorForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     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);
     ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).EndInit( );
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.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.groupBox4      = new System.Windows.Forms.GroupBox( );
     this.blueSlider     = new IPLab.ColorSlider( );
     this.greenSlider    = new IPLab.ColorSlider( );
     this.redSlider      = new IPLab.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 IPLab.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.AddRange(new System.Windows.Forms.Control[] {
         this.blueSlider,
         this.greenSlider,
         this.redSlider,
         this.label4,
         this.label3,
         this.label10,
         this.redBox,
         this.greenBox,
         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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     this.blueBox.TextChanged += new System.EventHandler(this.blueBox_TextChanged);
     //
     // groupBox5
     //
     this.groupBox5.Controls.AddRange(new System.Windows.Forms.Control[] {
         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, 42);
     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.AddRange(new System.Windows.Forms.Control[] {
         this.radiusBox,
         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.Text         = "";
     this.radiusBox.TextChanged += new System.EventHandler(this.radiusBox_TextChanged);
     //
     // groupBox2
     //
     this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.label2,
         this.label5,
         this.fillRBox,
         this.fillGBox,
         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.Text         = "";
     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.Text         = "";
     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.Text         = "";
     this.fillBBox.TextChanged += new System.EventHandler(this.fillBox_TextChanged);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location     = new System.Drawing.Point(395, 255);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.TabIndex     = 11;
     this.cancelButton.Text         = "Cancel";
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location     = new System.Drawing.Point(310, 255);
     this.okButton.Name         = "okButton";
     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.AddRange(new System.Windows.Forms.Control[] {
         this.fillTypeCombo,
         this.label7,
         this.cancelButton,
         this.okButton,
         this.groupBox2,
         this.groupBox1,
         this.groupBox5,
         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.groupBox5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radiusTrackBar)).EndInit( );
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }