/// <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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label(); this.sigmaTrackBar = new System.Windows.Forms.TrackBar(); this.sigmaBox = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.sizeBox = new System.Windows.Forms.TextBox(); this.sizeTrackBar = new System.Windows.Forms.TrackBar(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.filterPreview = new IPLab.FilterPreview(); this.cancelButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sizeTrackBar)).BeginInit(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(10, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(42, 19); this.label1.TabIndex = 0; this.label1.Text = "Sigma:"; // // sigmaTrackBar // this.sigmaTrackBar.Location = new System.Drawing.Point(10, 40); this.sigmaTrackBar.Maximum = 50; this.sigmaTrackBar.Name = "sigmaTrackBar"; this.sigmaTrackBar.Size = new System.Drawing.Size(260, 45); this.sigmaTrackBar.TabIndex = 2; this.sigmaTrackBar.TickFrequency = 2; this.sigmaTrackBar.ValueChanged += new System.EventHandler(this.sigmaTrackBar_ValueChanged); // // sigmaBox // this.sigmaBox.Location = new System.Drawing.Point(60, 10); this.sigmaBox.Name = "sigmaBox"; this.sigmaBox.Size = new System.Drawing.Size(60, 20); this.sigmaBox.TabIndex = 1; this.sigmaBox.TextChanged += new System.EventHandler(this.sigmaBox_TextChanged); // // label2 // this.label2.Location = new System.Drawing.Point(10, 93); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(35, 15); this.label2.TabIndex = 3; this.label2.Text = "Size:"; // // sizeBox // this.sizeBox.Location = new System.Drawing.Point(60, 90); this.sizeBox.Name = "sizeBox"; this.sizeBox.Size = new System.Drawing.Size(60, 20); this.sizeBox.TabIndex = 4; this.sizeBox.TextChanged += new System.EventHandler(this.sizeBox_TextChanged); // // sizeTrackBar // this.sizeTrackBar.LargeChange = 1; this.sizeTrackBar.Location = new System.Drawing.Point(10, 120); this.sizeTrackBar.Maximum = 9; this.sizeTrackBar.Name = "sizeTrackBar"; this.sizeTrackBar.Size = new System.Drawing.Size(260, 45); this.sizeTrackBar.TabIndex = 5; this.sizeTrackBar.Value = 1; this.sizeTrackBar.ValueChanged += new System.EventHandler(this.sizeTrackBar_ValueChanged); // // groupBox3 // this.groupBox3.Controls.Add(this.filterPreview); this.groupBox3.Location = new System.Drawing.Point(280, 5); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(170, 175); this.groupBox3.TabIndex = 10; this.groupBox3.TabStop = false; this.groupBox3.Text = "Ön izleme"; // // 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(237, 195); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); this.cancelButton.TabIndex = 15; this.cancelButton.Text = "Cancel"; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point(152, 195); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(75, 23); this.okButton.TabIndex = 14; this.okButton.Text = "Ok"; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point(10, 178); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(260, 2); this.pictureBox1.TabIndex = 16; this.pictureBox1.TabStop = false; // // GaussianForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(464, 226); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.groupBox3); this.Controls.Add(this.sizeTrackBar); this.Controls.Add(this.sizeBox); this.Controls.Add(this.sigmaBox); this.Controls.Add(this.label2); this.Controls.Add(this.sigmaTrackBar); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "GaussianForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gaussian Blur"; this.Load += new System.EventHandler(this.GaussianForm_Load); ((System.ComponentModel.ISupportInitialize)(this.sigmaTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sizeTrackBar)).EndInit(); this.groupBox3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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 ); }
/// <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 Accord.Controls.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 Accord.Controls.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 Accord.Controls.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.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.okButton = new System.Windows.Forms.Button(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.filterPreview = new IPLab.FilterPreview(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox4.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.flowLayoutPanel2.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // huePicker // this.huePicker.Location = new System.Drawing.Point(85, 73); this.huePicker.Name = "huePicker"; this.huePicker.Size = new System.Drawing.Size(272, 249); this.huePicker.TabIndex = 0; this.huePicker.Type = Accord.Controls.HuePicker.HuePickerType.Range; 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(3, 3); this.groupBox1.MinimumSize = new System.Drawing.Size(448, 336); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(448, 336); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Hue"; // // maxHBox // this.maxHBox.Location = new System.Drawing.Point(349, 29); this.maxHBox.Name = "maxHBox"; this.maxHBox.Size = new System.Drawing.Size(80, 26); this.maxHBox.TabIndex = 4; this.maxHBox.TextChanged += new System.EventHandler(this.maxHBox_TextChanged); // // label2 // this.label2.Location = new System.Drawing.Point(298, 34); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(62, 22); this.label2.TabIndex = 3; this.label2.Text = "Max:"; // // minHBox // this.minHBox.Location = new System.Drawing.Point(64, 29); this.minHBox.Name = "minHBox"; this.minHBox.Size = new System.Drawing.Size(80, 26); this.minHBox.TabIndex = 2; this.minHBox.TextChanged += new System.EventHandler(this.minHBox_TextChanged); // // label1 // this.label1.Location = new System.Drawing.Point(16, 34); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(50, 24); 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(3, 345); this.groupBox2.MinimumSize = new System.Drawing.Size(448, 110); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(448, 110); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "Saturation"; // // saturationSlider // this.saturationSlider.Location = new System.Drawing.Point(13, 66); this.saturationSlider.Name = "saturationSlider"; this.saturationSlider.Size = new System.Drawing.Size(419, 33); this.saturationSlider.TabIndex = 4; this.saturationSlider.Type = Accord.Controls.ColorSlider.ColorSliderType.InnerGradient; this.saturationSlider.ValuesChanged += new System.EventHandler(this.saturationSlider_ValuesChanged); // // maxSBox // this.maxSBox.Location = new System.Drawing.Point(349, 29); this.maxSBox.Name = "maxSBox"; this.maxSBox.Size = new System.Drawing.Size(80, 26); this.maxSBox.TabIndex = 3; this.maxSBox.TextChanged += new System.EventHandler(this.maxSBox_TextChanged); // // minSBox // this.minSBox.Location = new System.Drawing.Point(64, 29); this.minSBox.Name = "minSBox"; this.minSBox.Size = new System.Drawing.Size(80, 26); this.minSBox.TabIndex = 2; this.minSBox.TextChanged += new System.EventHandler(this.minSBox_TextChanged); // // label4 // this.label4.Location = new System.Drawing.Point(298, 34); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 24); this.label4.TabIndex = 1; this.label4.Text = "Max:"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 34); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 23); 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(3, 461); this.groupBox3.MinimumSize = new System.Drawing.Size(448, 110); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(448, 110); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "Luminance"; // // luminanceSlider // this.luminanceSlider.Location = new System.Drawing.Point(13, 66); this.luminanceSlider.Name = "luminanceSlider"; this.luminanceSlider.Size = new System.Drawing.Size(419, 33); this.luminanceSlider.TabIndex = 9; this.luminanceSlider.Type = Accord.Controls.ColorSlider.ColorSliderType.InnerGradient; this.luminanceSlider.ValuesChanged += new System.EventHandler(this.luminanceSlider_ValuesChanged); // // maxLBox // this.maxLBox.Location = new System.Drawing.Point(349, 29); this.maxLBox.Name = "maxLBox"; this.maxLBox.Size = new System.Drawing.Size(80, 26); this.maxLBox.TabIndex = 8; this.maxLBox.TextChanged += new System.EventHandler(this.maxLBox_TextChanged); // // minLBox // this.minLBox.Location = new System.Drawing.Point(64, 29); this.minLBox.Name = "minLBox"; this.minLBox.Size = new System.Drawing.Size(80, 26); this.minLBox.TabIndex = 7; this.minLBox.TextChanged += new System.EventHandler(this.minLBox_TextChanged); // // label5 // this.label5.Location = new System.Drawing.Point(298, 34); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 24); this.label5.TabIndex = 6; this.label5.Text = "Max:"; // // label6 // this.label6.Location = new System.Drawing.Point(16, 34); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(48, 23); this.label6.TabIndex = 5; this.label6.Text = "Min:"; // // groupBox5 // this.groupBox5.Controls.Add(this.filterPreview); this.groupBox5.Location = new System.Drawing.Point(3, 3); this.groupBox5.MinimumSize = new System.Drawing.Size(272, 255); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(272, 255); this.groupBox5.TabIndex = 4; this.groupBox5.TabStop = false; this.groupBox5.Text = "Preview"; // // 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(3, 264); this.groupBox4.MinimumSize = new System.Drawing.Size(272, 146); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(272, 146); 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(200, 102); this.updateLCheck.Name = "updateLCheck"; this.updateLCheck.Size = new System.Drawing.Size(22, 35); this.updateLCheck.TabIndex = 8; this.updateLCheck.CheckedChanged += new System.EventHandler(this.updateLCheck_CheckedChanged); // // fillLBox // this.fillLBox.Location = new System.Drawing.Point(64, 102); this.fillLBox.Name = "fillLBox"; this.fillLBox.Size = new System.Drawing.Size(80, 26); this.fillLBox.TabIndex = 7; this.fillLBox.TextChanged += new System.EventHandler(this.fillLBox_TextChanged); // // label9 // this.label9.Location = new System.Drawing.Point(16, 107); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(32, 23); 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(200, 66); this.updateSCheck.Name = "updateSCheck"; this.updateSCheck.Size = new System.Drawing.Size(22, 35); this.updateSCheck.TabIndex = 5; this.updateSCheck.CheckedChanged += new System.EventHandler(this.updateSCheck_CheckedChanged); // // fillSBox // this.fillSBox.Location = new System.Drawing.Point(64, 66); this.fillSBox.Name = "fillSBox"; this.fillSBox.Size = new System.Drawing.Size(80, 26); this.fillSBox.TabIndex = 4; this.fillSBox.TextChanged += new System.EventHandler(this.fillSBox_TextChanged); // // label8 // this.label8.Location = new System.Drawing.Point(16, 70); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(32, 24); 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(200, 29); this.updateHCheck.Name = "updateHCheck"; this.updateHCheck.Size = new System.Drawing.Size(22, 35); this.updateHCheck.TabIndex = 2; this.updateHCheck.CheckedChanged += new System.EventHandler(this.updateHCheck_CheckedChanged); // // fillHBox // this.fillHBox.Location = new System.Drawing.Point(64, 29); this.fillHBox.Name = "fillHBox"; this.fillHBox.Size = new System.Drawing.Size(80, 26); this.fillHBox.TabIndex = 1; this.fillHBox.TextChanged += new System.EventHandler(this.fillHBox_TextChanged); // // label7 // this.label7.Location = new System.Drawing.Point(16, 34); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(32, 23); 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(85, 8); this.fillTypeCombo.Name = "fillTypeCombo"; this.fillTypeCombo.Size = new System.Drawing.Size(192, 28); this.fillTypeCombo.TabIndex = 10; this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged); // // label10 // this.label10.Location = new System.Drawing.Point(5, 13); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(80, 20); this.label10.TabIndex = 13; this.label10.Text = "Fill type:"; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.Dock = System.Windows.Forms.DockStyle.Bottom; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point(467, 550); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(286, 34); this.okButton.TabIndex = 11; this.okButton.Text = "Close"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel2, 1, 0); this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.okButton, 1, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(756, 587); this.tableLayoutPanel1.TabIndex = 0; // // flowLayoutPanel1 // this.flowLayoutPanel1.AutoSize = true; this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.flowLayoutPanel1.Controls.Add(this.groupBox1); this.flowLayoutPanel1.Controls.Add(this.groupBox2); this.flowLayoutPanel1.Controls.Add(this.groupBox3); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.tableLayoutPanel1.SetRowSpan(this.flowLayoutPanel1, 2); this.flowLayoutPanel1.Size = new System.Drawing.Size(458, 581); this.flowLayoutPanel1.TabIndex = 0; // // flowLayoutPanel2 // this.flowLayoutPanel2.AutoSize = true; this.flowLayoutPanel2.Controls.Add(this.groupBox5); this.flowLayoutPanel2.Controls.Add(this.groupBox4); this.flowLayoutPanel2.Controls.Add(this.panel1); this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel2.Location = new System.Drawing.Point(467, 3); this.flowLayoutPanel2.Name = "flowLayoutPanel2"; this.flowLayoutPanel2.Size = new System.Drawing.Size(286, 458); this.flowLayoutPanel2.TabIndex = 14; // // panel1 // this.panel1.AutoSize = true; this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.fillTypeCombo); this.panel1.Location = new System.Drawing.Point(3, 416); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(280, 39); this.panel1.TabIndex = 15; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(16, 22); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(240, 219); this.filterPreview.TabIndex = 0; this.filterPreview.TabStop = false; // // HSLFilteringForm // this.AcceptButton = this.okButton; this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(756, 587); this.Controls.Add(this.tableLayoutPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "HSLFilteringForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "HSL Filtering"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel2.ResumeLayout(false); this.flowLayoutPanel2.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.groupBox4 = new System.Windows.Forms.GroupBox( ); this.blueSlider = new AForge.Controls.ColorSlider( ); this.greenSlider = new AForge.Controls.ColorSlider( ); this.redSlider = new AForge.Controls.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.EndColor = 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.EndColor = 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.EndColor = 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 ); }
/// <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 AForge.Controls.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 AForge.Controls.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 AForge.Controls.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 = AForge.Controls.ColorSlider.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 = AForge.Controls.ColorSlider.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 = AForge.Controls.ColorSlider.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 ); }
/// <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); }
/// <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 ); }
/// <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.maxRBox = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.minRBox = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.csR = new IPLab.ColorSlider(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.filterPreview = new IPLab.FilterPreview(); 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.avgColorB = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.avgColorG = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.avgColorR = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.groupBox7 = new System.Windows.Forms.GroupBox(); this.maxGBox = new System.Windows.Forms.NumericUpDown(); this.label15 = new System.Windows.Forms.Label(); this.minGBox = new System.Windows.Forms.NumericUpDown(); this.label16 = new System.Windows.Forms.Label(); this.csG = new IPLab.ColorSlider(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.maxBBox = new System.Windows.Forms.NumericUpDown(); this.label3 = new System.Windows.Forms.Label(); this.minBBox = new System.Windows.Forms.NumericUpDown(); this.label4 = new System.Windows.Forms.Label(); this.csB = new IPLab.ColorSlider(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.maxRBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.minRBox)).BeginInit(); this.groupBox5.SuspendLayout(); this.groupBox6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.previewFillColor)).BeginInit(); this.groupBox7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.maxGBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.minGBox)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.maxBBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.minBBox)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.maxRBox); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.minRBox); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.csR); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(280, 96); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "R channel"; // // maxRBox // this.maxRBox.Location = new System.Drawing.Point(214, 23); this.maxRBox.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.maxRBox.Name = "maxRBox"; this.maxRBox.Size = new System.Drawing.Size(56, 20); this.maxRBox.TabIndex = 4; this.maxRBox.ValueChanged += new System.EventHandler(this.maxRBox_ValueChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(181, 25); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(30, 13); this.label2.TabIndex = 3; this.label2.Text = "Max:"; // // minRBox // this.minRBox.Location = new System.Drawing.Point(43, 23); this.minRBox.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.minRBox.Name = "minRBox"; this.minRBox.Size = new System.Drawing.Size(56, 20); this.minRBox.TabIndex = 2; this.minRBox.ValueChanged += new System.EventHandler(this.minRBox_ValueChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(10, 25); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(27, 13); this.label1.TabIndex = 1; this.label1.Text = "Min:"; // // csR // this.csR.Color2 = System.Drawing.Color.Red; this.csR.Location = new System.Drawing.Point(8, 60); this.csR.Name = "csR"; this.csR.Size = new System.Drawing.Size(266, 23); this.csR.TabIndex = 0; this.csR.Text = "colorSlider1"; this.csR.ValuesChanged += new System.EventHandler(this.csR_ValuesChanged); // // 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; // // 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, 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(300, 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(179, 345); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(115, 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(10, 345); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(163, 23); this.okButton.TabIndex = 11; this.okButton.Text = "Ok"; // // lblFillColor // this.lblFillColor.Location = new System.Drawing.Point(300, 194); 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(350, 191); 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.avgColorB); this.groupBox6.Controls.Add(this.label12); this.groupBox6.Controls.Add(this.avgColorG); this.groupBox6.Controls.Add(this.label13); this.groupBox6.Controls.Add(this.avgColorR); 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, 17); 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); // // avgColorB // this.avgColorB.Location = new System.Drawing.Point(36, 67); this.avgColorB.Name = "avgColorB"; this.avgColorB.ReadOnly = true; this.avgColorB.Size = new System.Drawing.Size(50, 20); this.avgColorB.TabIndex = 13; // // 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 = "B:"; // // avgColorG // this.avgColorG.Location = new System.Drawing.Point(36, 42); this.avgColorG.Name = "avgColorG"; this.avgColorG.ReadOnly = true; this.avgColorG.Size = new System.Drawing.Size(50, 20); this.avgColorG.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 = "G:"; // // avgColorR // this.avgColorR.Location = new System.Drawing.Point(36, 17); this.avgColorR.Name = "avgColorR"; this.avgColorR.ReadOnly = true; this.avgColorR.Size = new System.Drawing.Size(50, 20); this.avgColorR.TabIndex = 9; // // 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 = "R:"; // // groupBox7 // this.groupBox7.Controls.Add(this.maxGBox); this.groupBox7.Controls.Add(this.label15); this.groupBox7.Controls.Add(this.minGBox); this.groupBox7.Controls.Add(this.label16); this.groupBox7.Controls.Add(this.csG); this.groupBox7.Location = new System.Drawing.Point(10, 116); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new System.Drawing.Size(280, 96); this.groupBox7.TabIndex = 17; this.groupBox7.TabStop = false; this.groupBox7.Text = "G channel"; // // maxGBox // this.maxGBox.Location = new System.Drawing.Point(214, 23); this.maxGBox.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.maxGBox.Name = "maxGBox"; this.maxGBox.Size = new System.Drawing.Size(56, 20); this.maxGBox.TabIndex = 4; this.maxGBox.ValueChanged += new System.EventHandler(this.maxGBox_ValueChanged); // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(181, 25); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(30, 13); this.label15.TabIndex = 3; this.label15.Text = "Max:"; // // minGBox // this.minGBox.Location = new System.Drawing.Point(43, 23); this.minGBox.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.minGBox.Name = "minGBox"; this.minGBox.Size = new System.Drawing.Size(56, 20); this.minGBox.TabIndex = 2; this.minGBox.ValueChanged += new System.EventHandler(this.minGBox_ValueChanged); // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(10, 25); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(27, 13); this.label16.TabIndex = 1; this.label16.Text = "Min:"; // // csG // this.csG.Color2 = System.Drawing.Color.Green; this.csG.Location = new System.Drawing.Point(8, 60); this.csG.Name = "csG"; this.csG.Size = new System.Drawing.Size(266, 23); this.csG.TabIndex = 0; this.csG.Text = "colorSlider2"; this.csG.ValuesChanged += new System.EventHandler(this.csG_ValuesChanged); // // groupBox2 // this.groupBox2.Controls.Add(this.maxBBox); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.minBBox); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.csB); this.groupBox2.Location = new System.Drawing.Point(10, 218); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(280, 96); this.groupBox2.TabIndex = 18; this.groupBox2.TabStop = false; this.groupBox2.Text = "B channel"; // // maxBBox // this.maxBBox.Location = new System.Drawing.Point(214, 23); this.maxBBox.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.maxBBox.Name = "maxBBox"; this.maxBBox.Size = new System.Drawing.Size(56, 20); this.maxBBox.TabIndex = 4; this.maxBBox.ValueChanged += new System.EventHandler(this.maxBBox_ValueChanged); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(181, 25); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(30, 13); this.label3.TabIndex = 3; this.label3.Text = "Max:"; // // minBBox // this.minBBox.Location = new System.Drawing.Point(43, 23); this.minBBox.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.minBBox.Name = "minBBox"; this.minBBox.Size = new System.Drawing.Size(56, 20); this.minBBox.TabIndex = 2; this.minBBox.ValueChanged += new System.EventHandler(this.minBBox_ValueChanged); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(10, 25); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(27, 13); this.label4.TabIndex = 1; this.label4.Text = "Min:"; // // csB // this.csB.Color2 = System.Drawing.Color.Blue; this.csB.Location = new System.Drawing.Point(8, 60); this.csB.Name = "csB"; this.csB.Size = new System.Drawing.Size(266, 23); this.csB.TabIndex = 0; this.csB.Text = "colorSlider3"; this.csB.ValuesChanged += new System.EventHandler(this.csB_ValuesChanged); // // RGBFilteringForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(474, 376); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox7); 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.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "RGBFilteringForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "RGB Filtering"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.maxRBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.minRBox)).EndInit(); this.groupBox5.ResumeLayout(false); this.groupBox6.ResumeLayout(false); this.groupBox6.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.previewFillColor)).EndInit(); this.groupBox7.ResumeLayout(false); this.groupBox7.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.maxGBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.minGBox)).EndInit(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.maxBBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.minBBox)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.gammaBox = new System.Windows.Forms.TextBox( ); this.gammaTrackBar = new System.Windows.Forms.TrackBar( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); ((System.ComponentModel.ISupportInitialize)(this.gammaTrackBar)).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(80, 15); this.label1.TabIndex = 0; this.label1.Text = "Gamma value:"; // // gammaBox // this.gammaBox.Location = new System.Drawing.Point(90, 10); this.gammaBox.Name = "gammaBox"; this.gammaBox.Size = new System.Drawing.Size(70, 20); this.gammaBox.TabIndex = 1; this.gammaBox.Text = ""; this.gammaBox.TextChanged += new System.EventHandler(this.gammaBox_TextChanged); // // gammaTrackBar // this.gammaTrackBar.Location = new System.Drawing.Point(10, 40); this.gammaTrackBar.Maximum = 5000; this.gammaTrackBar.Minimum = 100; this.gammaTrackBar.Name = "gammaTrackBar"; this.gammaTrackBar.Size = new System.Drawing.Size(260, 42); this.gammaTrackBar.TabIndex = 2; this.gammaTrackBar.TickFrequency = 100; this.gammaTrackBar.Value = 1000; this.gammaTrackBar.ValueChanged += new System.EventHandler(this.gammaTrackBar_ValueChanged); // // groupBox1 // this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { this.filterPreview }); this.groupBox1.Location = new System.Drawing.Point(280, 5); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(160, 165); this.groupBox1.TabIndex = 14; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 15); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(140, 140); this.filterPreview.TabIndex = 12; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(145, 143); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 16; 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(55, 143); this.okButton.Name = "okButton"; this.okButton.TabIndex = 15; this.okButton.Text = "&Ok"; // // GammaForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(449, 178); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.cancelButton, this.okButton, this.groupBox1, this.gammaTrackBar, this.gammaBox, this.label1 }); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "GammaForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gamma Correction"; ((System.ComponentModel.ISupportInitialize)(this.gammaTrackBar)).EndInit( ); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.legendLabel = new System.Windows.Forms.Label( ); this.loadButton = new System.Windows.Forms.Button( ); this.saveButton = new System.Windows.Forms.Button( ); this.grid = new IPLab.GridArrayInt( ); this.sizeCombo = new System.Windows.Forms.ComboBox( ); this.label1 = new System.Windows.Forms.Label( ); this.label2 = new System.Windows.Forms.Label( ); this.operatorCombo = new System.Windows.Forms.ComboBox( ); this.OkButton = new System.Windows.Forms.Button( ); this.cancelButton = new System.Windows.Forms.Button( ); this.ofd = new System.Windows.Forms.OpenFileDialog( ); this.sfd = new System.Windows.Forms.SaveFileDialog( ); this.groupBox2 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.groupBox1.SuspendLayout( ); this.groupBox2.SuspendLayout( ); this.SuspendLayout( ); // // groupBox1 // this.groupBox1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { this.legendLabel, this.loadButton, this.saveButton, this.grid }); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(425, 375); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Structuring Element"; // // legendLabel // this.legendLabel.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.legendLabel.BackColor = System.Drawing.Color.White; this.legendLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.legendLabel.Location = new System.Drawing.Point(10, 345); this.legendLabel.Name = "legendLabel"; this.legendLabel.Size = new System.Drawing.Size(240, 18); this.legendLabel.TabIndex = 4; this.legendLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // loadButton // this.loadButton.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.loadButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.loadButton.Location = new System.Drawing.Point(340, 345); this.loadButton.Name = "loadButton"; this.loadButton.TabIndex = 2; this.loadButton.TabStop = false; this.loadButton.Text = "&Load"; this.loadButton.Click += new System.EventHandler(this.loadButton_Click); // // saveButton // this.saveButton.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.saveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.saveButton.Location = new System.Drawing.Point(255, 345); this.saveButton.Name = "saveButton"; this.saveButton.TabIndex = 3; this.saveButton.TabStop = false; this.saveButton.Text = "&Save"; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // grid // this.grid.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(10, 20); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(405, 315); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 0; this.grid.ValueChanged += new IPLab.GridArrayInt.GridEventHandler(this.grid_ValueChanged); // // sizeCombo // this.sizeCombo.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.sizeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.sizeCombo.Location = new System.Drawing.Point(450, 30); this.sizeCombo.Name = "sizeCombo"; this.sizeCombo.Size = new System.Drawing.Size(170, 21); this.sizeCombo.TabIndex = 1; this.sizeCombo.SelectedIndexChanged += new System.EventHandler(this.sizeCombo_SelectedIndexChanged); // // label1 // this.label1.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.label1.Location = new System.Drawing.Point(450, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(132, 15); this.label1.TabIndex = 0; this.label1.Text = "Structuring element size:"; // // label2 // this.label2.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.label2.Location = new System.Drawing.Point(450, 60); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(120, 15); this.label2.TabIndex = 2; this.label2.Text = "Morpology operator:"; // // operatorCombo // this.operatorCombo.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.operatorCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.operatorCombo.Location = new System.Drawing.Point(450, 75); this.operatorCombo.Name = "operatorCombo"; this.operatorCombo.Size = new System.Drawing.Size(170, 21); this.operatorCombo.TabIndex = 3; this.operatorCombo.SelectedIndexChanged += new System.EventHandler(this.operatorCombo_SelectedIndexChanged); // // OkButton // this.OkButton.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.OkButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.OkButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.OkButton.Location = new System.Drawing.Point(460, 355); this.OkButton.Name = "OkButton"; this.OkButton.TabIndex = 4; this.OkButton.Text = "Ok"; // // cancelButton // this.cancelButton.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(545, 355); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 5; this.cancelButton.Text = "Cancel"; // // ofd // this.ofd.DefaultExt = "txt"; this.ofd.Filter = "Text files (*.txt)|*.txt"; this.ofd.Title = "Load structuring element from file"; // // sfd // this.sfd.DefaultExt = "txt"; this.sfd.FileName = "se.txt"; this.sfd.Filter = "Text files (*.txt)|*.txt"; this.sfd.Title = "Save structuring element to file"; // // groupBox2 // this.groupBox2.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] { this.filterPreview }); this.groupBox2.Location = new System.Drawing.Point(450, 105); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(170, 175); this.groupBox2.TabIndex = 10; this.groupBox2.TabStop = false; this.groupBox2.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 15); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(150, 150); this.filterPreview.TabIndex = 8; // // MathMorphologyForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(627, 396); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.groupBox2, this.cancelButton, this.OkButton, this.operatorCombo, this.label2, this.label1, this.sizeCombo, this.groupBox1 }); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "MathMorphologyForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Mathematical Morphology"; this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <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(); }
/// <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 AForge.Controls.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 AForge.Controls.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 AForge.Controls.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.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.okButton = new System.Windows.Forms.Button(); this.filterPreview = new IPLab.FilterPreview(); 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 = AForge.Controls.HuePicker.HuePickerType.Range; this.huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.maxHBox); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.minHBox); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.huePicker); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(280, 230); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Hue"; // // maxHBox // this.maxHBox.Location = new System.Drawing.Point(218, 20); this.maxHBox.Name = "maxHBox"; this.maxHBox.Size = new System.Drawing.Size(50, 20); this.maxHBox.TabIndex = 4; this.maxHBox.TextChanged += new System.EventHandler(this.maxHBox_TextChanged); // // label2 // this.label2.Location = new System.Drawing.Point(186, 23); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(39, 15); this.label2.TabIndex = 3; this.label2.Text = "Max:"; // // minHBox // this.minHBox.Location = new System.Drawing.Point(40, 20); this.minHBox.Name = "minHBox"; this.minHBox.Size = new System.Drawing.Size(50, 20); this.minHBox.TabIndex = 2; this.minHBox.TextChanged += new System.EventHandler(this.minHBox_TextChanged); // // label1 // this.label1.Location = new System.Drawing.Point(10, 23); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(31, 17); this.label1.TabIndex = 1; this.label1.Text = "Min:"; // // groupBox2 // this.groupBox2.Controls.Add(this.saturationSlider); this.groupBox2.Controls.Add(this.maxSBox); this.groupBox2.Controls.Add(this.minSBox); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Location = new System.Drawing.Point(10, 245); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(280, 75); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "Saturation"; // // saturationSlider // this.saturationSlider.Location = new System.Drawing.Point(8, 45); this.saturationSlider.Name = "saturationSlider"; this.saturationSlider.Size = new System.Drawing.Size(262, 23); this.saturationSlider.TabIndex = 4; this.saturationSlider.Type = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient; this.saturationSlider.ValuesChanged += new System.EventHandler(this.saturationSlider_ValuesChanged); // // maxSBox // this.maxSBox.Location = new System.Drawing.Point(218, 20); this.maxSBox.Name = "maxSBox"; this.maxSBox.Size = new System.Drawing.Size(50, 20); this.maxSBox.TabIndex = 3; this.maxSBox.TextChanged += new System.EventHandler(this.maxSBox_TextChanged); // // minSBox // this.minSBox.Location = new System.Drawing.Point(40, 20); this.minSBox.Name = "minSBox"; this.minSBox.Size = new System.Drawing.Size(50, 20); this.minSBox.TabIndex = 2; this.minSBox.TextChanged += new System.EventHandler(this.minSBox_TextChanged); // // label4 // this.label4.Location = new System.Drawing.Point(186, 23); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(30, 17); this.label4.TabIndex = 1; this.label4.Text = "Max:"; // // label3 // this.label3.Location = new System.Drawing.Point(10, 23); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(30, 16); this.label3.TabIndex = 0; this.label3.Text = "Min:"; // // groupBox3 // this.groupBox3.Controls.Add(this.luminanceSlider); this.groupBox3.Controls.Add(this.maxLBox); this.groupBox3.Controls.Add(this.minLBox); this.groupBox3.Controls.Add(this.label5); this.groupBox3.Controls.Add(this.label6); this.groupBox3.Location = new System.Drawing.Point(10, 325); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(280, 75); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "Luminance"; // // luminanceSlider // this.luminanceSlider.Location = new System.Drawing.Point(8, 45); this.luminanceSlider.Name = "luminanceSlider"; this.luminanceSlider.Size = new System.Drawing.Size(262, 23); this.luminanceSlider.TabIndex = 9; this.luminanceSlider.Type = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient; this.luminanceSlider.ValuesChanged += new System.EventHandler(this.luminanceSlider_ValuesChanged); // // maxLBox // this.maxLBox.Location = new System.Drawing.Point(218, 20); this.maxLBox.Name = "maxLBox"; this.maxLBox.Size = new System.Drawing.Size(50, 20); this.maxLBox.TabIndex = 8; this.maxLBox.TextChanged += new System.EventHandler(this.maxLBox_TextChanged); // // minLBox // this.minLBox.Location = new System.Drawing.Point(40, 20); this.minLBox.Name = "minLBox"; this.minLBox.Size = new System.Drawing.Size(50, 20); this.minLBox.TabIndex = 7; this.minLBox.TextChanged += new System.EventHandler(this.minLBox_TextChanged); // // label5 // this.label5.Location = new System.Drawing.Point(186, 23); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(30, 17); this.label5.TabIndex = 6; this.label5.Text = "Max:"; // // label6 // this.label6.Location = new System.Drawing.Point(10, 23); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(30, 16); this.label6.TabIndex = 5; this.label6.Text = "Min:"; // // groupBox5 // this.groupBox5.Controls.Add(this.filterPreview); this.groupBox5.Location = new System.Drawing.Point(300, 10); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(170, 175); this.groupBox5.TabIndex = 4; this.groupBox5.TabStop = false; this.groupBox5.Text = "Preview"; // // groupBox4 // this.groupBox4.Controls.Add(this.updateLCheck); this.groupBox4.Controls.Add(this.fillLBox); this.groupBox4.Controls.Add(this.label9); this.groupBox4.Controls.Add(this.updateSCheck); this.groupBox4.Controls.Add(this.fillSBox); this.groupBox4.Controls.Add(this.label8); this.groupBox4.Controls.Add(this.updateHCheck); this.groupBox4.Controls.Add(this.fillHBox); this.groupBox4.Controls.Add(this.label7); this.groupBox4.Location = new System.Drawing.Point(300, 190); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(170, 100); this.groupBox4.TabIndex = 5; this.groupBox4.TabStop = false; this.groupBox4.Text = "Fill Color"; // // updateLCheck // this.updateLCheck.Checked = true; this.updateLCheck.CheckState = System.Windows.Forms.CheckState.Checked; this.updateLCheck.Location = new System.Drawing.Point(125, 70); this.updateLCheck.Name = "updateLCheck"; this.updateLCheck.Size = new System.Drawing.Size(14, 24); this.updateLCheck.TabIndex = 8; this.updateLCheck.CheckedChanged += new System.EventHandler(this.updateLCheck_CheckedChanged); // // fillLBox // this.fillLBox.Location = new System.Drawing.Point(40, 70); this.fillLBox.Name = "fillLBox"; this.fillLBox.Size = new System.Drawing.Size(50, 20); this.fillLBox.TabIndex = 7; this.fillLBox.TextChanged += new System.EventHandler(this.fillLBox_TextChanged); // // label9 // this.label9.Location = new System.Drawing.Point(10, 73); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(20, 16); this.label9.TabIndex = 6; this.label9.Text = "L:"; // // updateSCheck // this.updateSCheck.Checked = true; this.updateSCheck.CheckState = System.Windows.Forms.CheckState.Checked; this.updateSCheck.Location = new System.Drawing.Point(125, 45); this.updateSCheck.Name = "updateSCheck"; this.updateSCheck.Size = new System.Drawing.Size(14, 24); this.updateSCheck.TabIndex = 5; this.updateSCheck.CheckedChanged += new System.EventHandler(this.updateSCheck_CheckedChanged); // // fillSBox // this.fillSBox.Location = new System.Drawing.Point(40, 45); this.fillSBox.Name = "fillSBox"; this.fillSBox.Size = new System.Drawing.Size(50, 20); this.fillSBox.TabIndex = 4; this.fillSBox.TextChanged += new System.EventHandler(this.fillSBox_TextChanged); // // label8 // this.label8.Location = new System.Drawing.Point(10, 48); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(20, 16); this.label8.TabIndex = 3; this.label8.Text = "S:"; // // updateHCheck // this.updateHCheck.Checked = true; this.updateHCheck.CheckState = System.Windows.Forms.CheckState.Checked; this.updateHCheck.Location = new System.Drawing.Point(125, 20); this.updateHCheck.Name = "updateHCheck"; this.updateHCheck.Size = new System.Drawing.Size(14, 24); this.updateHCheck.TabIndex = 2; this.updateHCheck.CheckedChanged += new System.EventHandler(this.updateHCheck_CheckedChanged); // // fillHBox // this.fillHBox.Location = new System.Drawing.Point(40, 20); this.fillHBox.Name = "fillHBox"; this.fillHBox.Size = new System.Drawing.Size(50, 20); this.fillHBox.TabIndex = 1; this.fillHBox.TextChanged += new System.EventHandler(this.fillHBox_TextChanged); // // label7 // this.label7.Location = new System.Drawing.Point(10, 23); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(20, 16); this.label7.TabIndex = 0; this.label7.Text = "H:"; // // fillTypeCombo // this.fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.fillTypeCombo.Items.AddRange(new object[] { "Outside", "Inside" }); this.fillTypeCombo.Location = new System.Drawing.Point(350, 300); this.fillTypeCombo.Name = "fillTypeCombo"; this.fillTypeCombo.Size = new System.Drawing.Size(120, 21); this.fillTypeCombo.TabIndex = 10; this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged); // // label10 // this.label10.Location = new System.Drawing.Point(300, 303); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(50, 14); this.label10.TabIndex = 13; this.label10.Text = "Fill type:"; // // 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.Size = new System.Drawing.Size(157, 23); this.okButton.TabIndex = 11; this.okButton.Text = "Close"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // 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; // // HSLFilteringForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(479, 408); this.Controls.Add(this.fillTypeCombo); this.Controls.Add(this.label10); this.Controls.Add(this.okButton); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox5); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "HSLFilteringForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "HSL Filtering"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.factorBox = new System.Windows.Forms.TextBox( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.trackBar = new System.Windows.Forms.TrackBar( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.groupBox1.SuspendLayout( ); ((System.ComponentModel.ISupportInitialize)(this.trackBar)).BeginInit( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point(10, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(50, 14); this.label1.TabIndex = 0; this.label1.Text = "Factor:"; // // factorBox // this.factorBox.Location = new System.Drawing.Point(60, 15); this.factorBox.Name = "factorBox"; this.factorBox.Size = new System.Drawing.Size(50, 20); this.factorBox.TabIndex = 1; this.factorBox.Text = ""; this.factorBox.TextChanged += new System.EventHandler(this.factorBox_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(120, 160); 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(35, 160); this.okButton.Name = "okButton"; this.okButton.TabIndex = 10; this.okButton.Text = "Ok"; // // groupBox1 // this.groupBox1.Controls.Add(this.filterPreview); this.groupBox1.Location = new System.Drawing.Point(230, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(170, 175); this.groupBox1.TabIndex = 8; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // trackBar // this.trackBar.Location = new System.Drawing.Point(10, 45); this.trackBar.Maximum = 100; this.trackBar.Minimum = 1; this.trackBar.Name = "trackBar"; this.trackBar.Size = new System.Drawing.Size(200, 45); this.trackBar.TabIndex = 7; this.trackBar.TickFrequency = 5; this.trackBar.Value = 2; this.trackBar.ValueChanged += new System.EventHandler(this.trackBar_ValueChanged); // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point(10, 150); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(210, 2); this.pictureBox1.TabIndex = 9; this.pictureBox1.TabStop = false; // // 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; // // AdaptiveSmoothForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(409, 193); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.groupBox1); this.Controls.Add(this.trackBar); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.factorBox); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "AdaptiveSmoothForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Adaptive Smooth"; this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.trackBar)).EndInit( ); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.huePicker = new Accord.Controls.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 Accord.Controls.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 Accord.Controls.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.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.okButton = new System.Windows.Forms.Button(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.filterPreview = new IPLab.FilterPreview(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox4.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.flowLayoutPanel2.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // huePicker // this.huePicker.Location = new System.Drawing.Point(85, 73); this.huePicker.Name = "huePicker"; this.huePicker.Size = new System.Drawing.Size(272, 249); this.huePicker.TabIndex = 0; this.huePicker.Type = Accord.Controls.HuePicker.HuePickerType.Range; 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(3, 3); this.groupBox1.MinimumSize = new System.Drawing.Size(448, 336); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(448, 336); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Hue"; // // maxHBox // this.maxHBox.Location = new System.Drawing.Point(349, 29); this.maxHBox.Name = "maxHBox"; this.maxHBox.Size = new System.Drawing.Size(80, 26); this.maxHBox.TabIndex = 4; this.maxHBox.TextChanged += new System.EventHandler(this.maxHBox_TextChanged); // // label2 // this.label2.Location = new System.Drawing.Point(298, 34); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(62, 22); this.label2.TabIndex = 3; this.label2.Text = "Max:"; // // minHBox // this.minHBox.Location = new System.Drawing.Point(64, 29); this.minHBox.Name = "minHBox"; this.minHBox.Size = new System.Drawing.Size(80, 26); this.minHBox.TabIndex = 2; this.minHBox.TextChanged += new System.EventHandler(this.minHBox_TextChanged); // // label1 // this.label1.Location = new System.Drawing.Point(16, 34); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(50, 24); 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(3, 345); this.groupBox2.MinimumSize = new System.Drawing.Size(448, 110); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(448, 110); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "Saturation"; // // saturationSlider // this.saturationSlider.Location = new System.Drawing.Point(13, 66); this.saturationSlider.Name = "saturationSlider"; this.saturationSlider.Size = new System.Drawing.Size(419, 33); this.saturationSlider.TabIndex = 4; this.saturationSlider.Type = Accord.Controls.ColorSlider.ColorSliderType.InnerGradient; this.saturationSlider.ValuesChanged += new System.EventHandler(this.saturationSlider_ValuesChanged); // // maxSBox // this.maxSBox.Location = new System.Drawing.Point(349, 29); this.maxSBox.Name = "maxSBox"; this.maxSBox.Size = new System.Drawing.Size(80, 26); this.maxSBox.TabIndex = 3; this.maxSBox.TextChanged += new System.EventHandler(this.maxSBox_TextChanged); // // minSBox // this.minSBox.Location = new System.Drawing.Point(64, 29); this.minSBox.Name = "minSBox"; this.minSBox.Size = new System.Drawing.Size(80, 26); this.minSBox.TabIndex = 2; this.minSBox.TextChanged += new System.EventHandler(this.minSBox_TextChanged); // // label4 // this.label4.Location = new System.Drawing.Point(298, 34); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 24); this.label4.TabIndex = 1; this.label4.Text = "Max:"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 34); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 23); 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(3, 461); this.groupBox3.MinimumSize = new System.Drawing.Size(448, 110); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(448, 110); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "Luminance"; // // luminanceSlider // this.luminanceSlider.Location = new System.Drawing.Point(13, 66); this.luminanceSlider.Name = "luminanceSlider"; this.luminanceSlider.Size = new System.Drawing.Size(419, 33); this.luminanceSlider.TabIndex = 9; this.luminanceSlider.Type = Accord.Controls.ColorSlider.ColorSliderType.InnerGradient; this.luminanceSlider.ValuesChanged += new System.EventHandler(this.luminanceSlider_ValuesChanged); // // maxLBox // this.maxLBox.Location = new System.Drawing.Point(349, 29); this.maxLBox.Name = "maxLBox"; this.maxLBox.Size = new System.Drawing.Size(80, 26); this.maxLBox.TabIndex = 8; this.maxLBox.TextChanged += new System.EventHandler(this.maxLBox_TextChanged); // // minLBox // this.minLBox.Location = new System.Drawing.Point(64, 29); this.minLBox.Name = "minLBox"; this.minLBox.Size = new System.Drawing.Size(80, 26); this.minLBox.TabIndex = 7; this.minLBox.TextChanged += new System.EventHandler(this.minLBox_TextChanged); // // label5 // this.label5.Location = new System.Drawing.Point(298, 34); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 24); this.label5.TabIndex = 6; this.label5.Text = "Max:"; // // label6 // this.label6.Location = new System.Drawing.Point(16, 34); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(48, 23); this.label6.TabIndex = 5; this.label6.Text = "Min:"; // // groupBox5 // this.groupBox5.Controls.Add(this.filterPreview); this.groupBox5.Location = new System.Drawing.Point(3, 3); this.groupBox5.MinimumSize = new System.Drawing.Size(272, 255); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(272, 255); this.groupBox5.TabIndex = 4; this.groupBox5.TabStop = false; this.groupBox5.Text = "Preview"; // // 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(3, 264); this.groupBox4.MinimumSize = new System.Drawing.Size(272, 146); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(272, 146); 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(200, 102); this.updateLCheck.Name = "updateLCheck"; this.updateLCheck.Size = new System.Drawing.Size(22, 35); this.updateLCheck.TabIndex = 8; this.updateLCheck.CheckedChanged += new System.EventHandler(this.updateLCheck_CheckedChanged); // // fillLBox // this.fillLBox.Location = new System.Drawing.Point(64, 102); this.fillLBox.Name = "fillLBox"; this.fillLBox.Size = new System.Drawing.Size(80, 26); this.fillLBox.TabIndex = 7; this.fillLBox.TextChanged += new System.EventHandler(this.fillLBox_TextChanged); // // label9 // this.label9.Location = new System.Drawing.Point(16, 107); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(32, 23); 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(200, 66); this.updateSCheck.Name = "updateSCheck"; this.updateSCheck.Size = new System.Drawing.Size(22, 35); this.updateSCheck.TabIndex = 5; this.updateSCheck.CheckedChanged += new System.EventHandler(this.updateSCheck_CheckedChanged); // // fillSBox // this.fillSBox.Location = new System.Drawing.Point(64, 66); this.fillSBox.Name = "fillSBox"; this.fillSBox.Size = new System.Drawing.Size(80, 26); this.fillSBox.TabIndex = 4; this.fillSBox.TextChanged += new System.EventHandler(this.fillSBox_TextChanged); // // label8 // this.label8.Location = new System.Drawing.Point(16, 70); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(32, 24); 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(200, 29); this.updateHCheck.Name = "updateHCheck"; this.updateHCheck.Size = new System.Drawing.Size(22, 35); this.updateHCheck.TabIndex = 2; this.updateHCheck.CheckedChanged += new System.EventHandler(this.updateHCheck_CheckedChanged); // // fillHBox // this.fillHBox.Location = new System.Drawing.Point(64, 29); this.fillHBox.Name = "fillHBox"; this.fillHBox.Size = new System.Drawing.Size(80, 26); this.fillHBox.TabIndex = 1; this.fillHBox.TextChanged += new System.EventHandler(this.fillHBox_TextChanged); // // label7 // this.label7.Location = new System.Drawing.Point(16, 34); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(32, 23); 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(85, 8); this.fillTypeCombo.Name = "fillTypeCombo"; this.fillTypeCombo.Size = new System.Drawing.Size(192, 28); this.fillTypeCombo.TabIndex = 10; this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged); // // label10 // this.label10.Location = new System.Drawing.Point(5, 13); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(80, 20); this.label10.TabIndex = 13; this.label10.Text = "Fill type:"; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.Dock = System.Windows.Forms.DockStyle.Bottom; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point(467, 550); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(286, 34); this.okButton.TabIndex = 11; this.okButton.Text = "Close"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel2, 1, 0); this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.okButton, 1, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(756, 587); this.tableLayoutPanel1.TabIndex = 0; // // flowLayoutPanel1 // this.flowLayoutPanel1.AutoSize = true; this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.flowLayoutPanel1.Controls.Add(this.groupBox1); this.flowLayoutPanel1.Controls.Add(this.groupBox2); this.flowLayoutPanel1.Controls.Add(this.groupBox3); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.tableLayoutPanel1.SetRowSpan(this.flowLayoutPanel1, 2); this.flowLayoutPanel1.Size = new System.Drawing.Size(458, 581); this.flowLayoutPanel1.TabIndex = 0; // // flowLayoutPanel2 // this.flowLayoutPanel2.AutoSize = true; this.flowLayoutPanel2.Controls.Add(this.groupBox5); this.flowLayoutPanel2.Controls.Add(this.groupBox4); this.flowLayoutPanel2.Controls.Add(this.panel1); this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel2.Location = new System.Drawing.Point(467, 3); this.flowLayoutPanel2.Name = "flowLayoutPanel2"; this.flowLayoutPanel2.Size = new System.Drawing.Size(286, 458); this.flowLayoutPanel2.TabIndex = 14; // // panel1 // this.panel1.AutoSize = true; this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.fillTypeCombo); this.panel1.Location = new System.Drawing.Point(3, 416); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(280, 39); this.panel1.TabIndex = 15; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(16, 22); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(240, 219); this.filterPreview.TabIndex = 0; this.filterPreview.TabStop = false; // // HSLFilteringForm // this.AcceptButton = this.okButton; this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(756, 587); this.Controls.Add(this.tableLayoutPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "HSLFilteringForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "HSL Filtering"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel2.ResumeLayout(false); this.flowLayoutPanel2.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.percentageBar = new System.Windows.Forms.TrackBar( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); ((System.ComponentModel.ISupportInitialize)(this.percentageBar)).BeginInit( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point(10, 10); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(110, 15); this.label1.TabIndex = 0; this.label1.Text = "Source percentage:"; // // percentageBar // this.percentageBar.Location = new System.Drawing.Point(8, 35); this.percentageBar.Maximum = 100; this.percentageBar.Minimum = 1; this.percentageBar.Name = "percentageBar"; this.percentageBar.Size = new System.Drawing.Size(220, 45); this.percentageBar.TabIndex = 1; this.percentageBar.TickFrequency = 3; this.percentageBar.Value = 1; this.percentageBar.ValueChanged += new System.EventHandler(this.percentageBar_ValueChanged); // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point(10, 182); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(210, 2); this.pictureBox1.TabIndex = 14; this.pictureBox1.TabStop = false; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(209, 195); 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(124, 195); this.okButton.Name = "okButton"; this.okButton.TabIndex = 12; this.okButton.Text = "Ok"; // // groupBox1 // this.groupBox1.Controls.Add(this.filterPreview); this.groupBox1.Location = new System.Drawing.Point(230, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(170, 175); this.groupBox1.TabIndex = 11; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 15); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(150, 150); this.filterPreview.TabIndex = 0; this.filterPreview.TabStop = false; // // MorphForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(409, 226); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.groupBox1); this.Controls.Add(this.percentageBar); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MorphForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Morphing"; ((System.ComponentModel.ISupportInitialize)(this.percentageBar)).EndInit( ); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.ySlider = new AForge.Controls.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 AForge.Controls.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 AForge.Controls.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 = AForge.Controls.ColorSlider.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 = AForge.Controls.ColorSlider.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 = AForge.Controls.ColorSlider.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); }
/// <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); }
/// <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.gammaBox = new System.Windows.Forms.TextBox( ); this.gammaTrackBar = new System.Windows.Forms.TrackBar( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); ( (System.ComponentModel.ISupportInitialize) ( this.gammaTrackBar ) ).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( 80, 15 ); this.label1.TabIndex = 0; this.label1.Text = "Gamma value:"; // // gammaBox // this.gammaBox.Location = new System.Drawing.Point( 90, 10 ); this.gammaBox.Name = "gammaBox"; this.gammaBox.Size = new System.Drawing.Size( 70, 20 ); this.gammaBox.TabIndex = 1; this.gammaBox.Text = ""; this.gammaBox.TextChanged += new System.EventHandler( this.gammaBox_TextChanged ); // // gammaTrackBar // this.gammaTrackBar.Location = new System.Drawing.Point( 10, 40 ); this.gammaTrackBar.Maximum = 5000; this.gammaTrackBar.Minimum = 100; this.gammaTrackBar.Name = "gammaTrackBar"; this.gammaTrackBar.Size = new System.Drawing.Size( 260, 42 ); this.gammaTrackBar.TabIndex = 2; this.gammaTrackBar.TickFrequency = 100; this.gammaTrackBar.Value = 1000; this.gammaTrackBar.ValueChanged += new System.EventHandler( this.gammaTrackBar_ValueChanged ); // // groupBox1 // this.groupBox1.Controls.AddRange( new System.Windows.Forms.Control[] { this.filterPreview} ); this.groupBox1.Location = new System.Drawing.Point( 280, 5 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 160, 165 ); this.groupBox1.TabIndex = 14; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point( 10, 15 ); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size( 140, 140 ); this.filterPreview.TabIndex = 12; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point( 145, 143 ); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 16; 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( 55, 143 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 15; this.okButton.Text = "&Ok"; // // GammaForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size( 449, 178 ); this.Controls.AddRange( new System.Windows.Forms.Control[] { this.cancelButton, this.okButton, this.groupBox1, this.gammaTrackBar, this.gammaBox, this.label1} ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "GammaForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gamma Correction"; ( (System.ComponentModel.ISupportInitialize) ( this.gammaTrackBar ) ).EndInit( ); this.groupBox1.ResumeLayout( false ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.groupBox4 = new System.Windows.Forms.GroupBox( ); this.blueSlider = new AForge.Controls.ColorSlider( ); this.greenSlider = new AForge.Controls.ColorSlider( ); this.redSlider = new AForge.Controls.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.EndColor = 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.EndColor = 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.EndColor = 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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.effectComboBox = new System.Windows.Forms.ComboBox( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.groupBox1.SuspendLayout( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point( 10, 18 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 42, 13 ); this.label1.TabIndex = 0; this.label1.Text = "Effect:"; // // effectComboBox // this.effectComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.effectComboBox.Items.AddRange( new object[] { "Marble", "Wood", "Clouds", "Labyrinth", "Textile", "Dirty", "Rusty"} ); this.effectComboBox.Location = new System.Drawing.Point( 55, 15 ); this.effectComboBox.Name = "effectComboBox"; this.effectComboBox.Size = new System.Drawing.Size( 140, 21 ); this.effectComboBox.TabIndex = 1; this.effectComboBox.SelectedIndexChanged += new System.EventHandler( this.effectComboBox_SelectedIndexChanged ); // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point( 209, 195 ); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 9; 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( 124, 195 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 8; this.okButton.Text = "Ok"; // // groupBox1 // this.groupBox1.Controls.Add( this.filterPreview ); this.groupBox1.Location = new System.Drawing.Point( 230, 10 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 170, 175 ); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point( 10, 15 ); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size( 150, 150 ); this.filterPreview.TabIndex = 0; this.filterPreview.TabStop = false; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point( 10, 182 ); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size( 210, 2 ); this.pictureBox1.TabIndex = 10; this.pictureBox1.TabStop = false; // // PerlinNoiseForm // this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.ClientSize = new System.Drawing.Size( 409, 226 ); this.Controls.Add( this.pictureBox1 ); this.Controls.Add( this.cancelButton ); this.Controls.Add( this.okButton ); this.Controls.Add( this.groupBox1 ); this.Controls.Add( this.effectComboBox ); this.Controls.Add( this.label1 ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PerlinNoiseForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Perlin Noise"; this.groupBox1.ResumeLayout( false ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox3 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.sizeTrackBar = new System.Windows.Forms.TrackBar( ); this.sizeBox = new System.Windows.Forms.TextBox( ); this.sigmaBox = new System.Windows.Forms.TextBox( ); this.label2 = new System.Windows.Forms.Label( ); this.sigmaTrackBar = new System.Windows.Forms.TrackBar( ); this.label1 = new System.Windows.Forms.Label( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.groupBox3.SuspendLayout( ); ( (System.ComponentModel.ISupportInitialize) ( this.sizeTrackBar ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.sigmaTrackBar ) ).BeginInit( ); 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( 237, 195 ); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 24; 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( 152, 195 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 23; this.okButton.Text = "Ok"; // // groupBox3 // this.groupBox3.Controls.Add( this.filterPreview ); this.groupBox3.Location = new System.Drawing.Point( 280, 5 ); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size( 170, 175 ); this.groupBox3.TabIndex = 22; 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; // // sizeTrackBar // this.sizeTrackBar.LargeChange = 1; this.sizeTrackBar.Location = new System.Drawing.Point( 10, 120 ); this.sizeTrackBar.Maximum = 9; this.sizeTrackBar.Name = "sizeTrackBar"; this.sizeTrackBar.Size = new System.Drawing.Size( 260, 45 ); this.sizeTrackBar.TabIndex = 21; this.sizeTrackBar.Value = 1; this.sizeTrackBar.ValueChanged += new System.EventHandler( this.sizeTrackBar_ValueChanged ); // // sizeBox // this.sizeBox.Location = new System.Drawing.Point( 60, 90 ); this.sizeBox.Name = "sizeBox"; this.sizeBox.Size = new System.Drawing.Size( 60, 20 ); this.sizeBox.TabIndex = 20; this.sizeBox.Text = ""; this.sizeBox.TextChanged += new System.EventHandler( this.sizeBox_TextChanged ); // // sigmaBox // this.sigmaBox.Location = new System.Drawing.Point( 60, 10 ); this.sigmaBox.Name = "sigmaBox"; this.sigmaBox.Size = new System.Drawing.Size( 60, 20 ); this.sigmaBox.TabIndex = 17; this.sigmaBox.Text = ""; this.sigmaBox.TextChanged += new System.EventHandler( this.sigmaBox_TextChanged ); // // label2 // this.label2.Location = new System.Drawing.Point( 10, 93 ); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size( 35, 15 ); this.label2.TabIndex = 19; this.label2.Text = "Size:"; // // sigmaTrackBar // this.sigmaTrackBar.Location = new System.Drawing.Point( 10, 40 ); this.sigmaTrackBar.Maximum = 50; this.sigmaTrackBar.Name = "sigmaTrackBar"; this.sigmaTrackBar.Size = new System.Drawing.Size( 260, 45 ); this.sigmaTrackBar.TabIndex = 18; this.sigmaTrackBar.TickFrequency = 2; this.sigmaTrackBar.ValueChanged += new System.EventHandler( this.sigmaTrackBar_ValueChanged ); // // label1 // this.label1.Location = new System.Drawing.Point( 10, 13 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 42, 19 ); this.label1.TabIndex = 16; this.label1.Text = "Sigma:"; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point( 10, 178 ); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size( 260, 2 ); this.pictureBox1.TabIndex = 25; this.pictureBox1.TabStop = false; // // SharpenExForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size( 464, 226 ); this.Controls.Add( this.pictureBox1 ); this.Controls.Add( this.cancelButton ); this.Controls.Add( this.okButton ); this.Controls.Add( this.groupBox3 ); this.Controls.Add( this.sizeTrackBar ); this.Controls.Add( this.sizeBox ); this.Controls.Add( this.sigmaBox ); this.Controls.Add( this.label2 ); this.Controls.Add( this.sigmaTrackBar ); this.Controls.Add( this.label1 ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SharpenExForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Sharpen"; this.groupBox3.ResumeLayout( false ); ( (System.ComponentModel.ISupportInitialize) ( this.sizeTrackBar ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.sigmaTrackBar ) ).EndInit( ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.brightnessTrackBar = new System.Windows.Forms.TrackBar(); this.cancelButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button(); this.filterPreview = new IPLab.FilterPreview(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.brightnessTrackBar)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.filterPreview); this.groupBox1.Location = new System.Drawing.Point(12, 2); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(297, 210); this.groupBox1.TabIndex = 15; this.groupBox1.TabStop = false; this.groupBox1.Text = "预览"; // // brightnessTrackBar // this.brightnessTrackBar.Location = new System.Drawing.Point(12, 218); this.brightnessTrackBar.Maximum = 1000; this.brightnessTrackBar.Minimum = -1000; this.brightnessTrackBar.Name = "brightnessTrackBar"; this.brightnessTrackBar.Size = new System.Drawing.Size(300, 48); this.brightnessTrackBar.TabIndex = 16; this.brightnessTrackBar.TickFrequency = 50; this.brightnessTrackBar.ValueChanged += new System.EventHandler(this.brightnessTrackBar_ValueChanged); // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(172, 272); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(90, 25); this.cancelButton.TabIndex = 18; this.cancelButton.Text = "取消"; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point(64, 272); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(90, 25); this.okButton.TabIndex = 17; this.okButton.Text = "确定"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(6, 16); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(285, 188); this.filterPreview.TabIndex = 12; // // BrightnessForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(321, 309); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.brightnessTrackBar); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "BrightnessForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "调节亮度"; this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.brightnessTrackBar)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.sizeCombo = new System.Windows.Forms.ComboBox( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.loadButton = new System.Windows.Forms.Button( ); this.saveButton = new System.Windows.Forms.Button( ); this.grid = new IPLab.GridArrayInt( ); this.label1 = new System.Windows.Forms.Label( ); this.sfd = new System.Windows.Forms.SaveFileDialog( ); this.ofd = new System.Windows.Forms.OpenFileDialog( ); this.filterPreview = new IPLab.FilterPreview( ); this.groupBox2 = new System.Windows.Forms.GroupBox( ); this.label2 = new System.Windows.Forms.Label( ); this.thresholdBox = new System.Windows.Forms.TextBox( ); this.groupBox1.SuspendLayout( ); this.groupBox2.SuspendLayout( ); this.SuspendLayout( ); // // cancelButton // this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(545, 355); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); this.cancelButton.TabIndex = 5; this.cancelButton.Text = "Cancel"; // // okButton // this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point(460, 355); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(75, 23); this.okButton.TabIndex = 4; this.okButton.Text = "Ok"; // // sizeCombo // this.sizeCombo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.sizeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.sizeCombo.Location = new System.Drawing.Point(450, 30); this.sizeCombo.Name = "sizeCombo"; this.sizeCombo.Size = new System.Drawing.Size(170, 21); this.sizeCombo.TabIndex = 1; this.sizeCombo.SelectedIndexChanged += new System.EventHandler(this.sizeCombo_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.loadButton); this.groupBox1.Controls.Add(this.saveButton); this.groupBox1.Controls.Add(this.grid); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(425, 375); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Kernel"; // // loadButton // this.loadButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.loadButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.loadButton.Location = new System.Drawing.Point(340, 344); this.loadButton.Name = "loadButton"; this.loadButton.Size = new System.Drawing.Size(75, 23); this.loadButton.TabIndex = 0; this.loadButton.TabStop = false; this.loadButton.Text = "&Load"; this.loadButton.Click += new System.EventHandler(this.loadButton_Click); // // saveButton // this.saveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.saveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.saveButton.Location = new System.Drawing.Point(260, 344); this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(75, 23); this.saveButton.TabIndex = 1; this.saveButton.TabStop = false; this.saveButton.Text = "&Save"; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // grid // this.grid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(10, 20); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(405, 315); this.grid.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape) | SourceGrid2.GridSpecialKeys.Control) | SourceGrid2.GridSpecialKeys.Shift))); this.grid.TabIndex = 2; this.grid.TabStop = true; this.grid.ValueChanged += new IPLab.GridArrayInt.GridEventHandler(this.grid_ValueChanged); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(450, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(66, 15); this.label1.TabIndex = 0; this.label1.Text = "Kernel size:"; // // sfd // this.sfd.DefaultExt = "txt"; this.sfd.FileName = "kernel.txt"; this.sfd.Filter = "Text files (*.txt)|*.txt"; this.sfd.Title = "Save kernel to file"; // // ofd // this.ofd.DefaultExt = "txt"; this.ofd.Filter = "Text files (*.txt)|*.txt"; this.ofd.Title = "Load kernel from file"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 15); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(150, 150); this.filterPreview.TabIndex = 8; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.filterPreview); this.groupBox2.Location = new System.Drawing.Point(450, 105); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(170, 175); this.groupBox2.TabIndex = 9; this.groupBox2.TabStop = false; this.groupBox2.Text = "Preview"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(450, 68); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(57, 13); this.label2.TabIndex = 10; this.label2.Text = "Threshold:"; // // thresholdBox // this.thresholdBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.thresholdBox.Location = new System.Drawing.Point(510, 65); this.thresholdBox.Name = "thresholdBox"; this.thresholdBox.Size = new System.Drawing.Size(105, 20); this.thresholdBox.TabIndex = 11; this.thresholdBox.TextChanged += new System.EventHandler(this.thresholdBox_TextChanged); // // ConvolutionForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(627, 396); this.Controls.Add(this.thresholdBox); this.Controls.Add(this.label2); this.Controls.Add(this.groupBox2); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.sizeCombo); this.Controls.Add(this.groupBox1); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "ConvolutionForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Convolution & Correlation"; this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout( ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.percentageBar = new System.Windows.Forms.TrackBar( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); ( (System.ComponentModel.ISupportInitialize) ( this.percentageBar ) ).BeginInit( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point( 10, 10 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 110, 15 ); this.label1.TabIndex = 0; this.label1.Text = "Source percentage:"; // // percentageBar // this.percentageBar.Location = new System.Drawing.Point( 8, 35 ); this.percentageBar.Maximum = 100; this.percentageBar.Minimum = 1; this.percentageBar.Name = "percentageBar"; this.percentageBar.Size = new System.Drawing.Size( 220, 45 ); this.percentageBar.TabIndex = 1; this.percentageBar.TickFrequency = 3; this.percentageBar.Value = 1; this.percentageBar.ValueChanged += new System.EventHandler( this.percentageBar_ValueChanged ); // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point( 10, 182 ); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size( 210, 2 ); this.pictureBox1.TabIndex = 14; this.pictureBox1.TabStop = false; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point( 209, 195 ); 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( 124, 195 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 12; this.okButton.Text = "Ok"; // // groupBox1 // this.groupBox1.Controls.Add( this.filterPreview ); this.groupBox1.Location = new System.Drawing.Point( 230, 10 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 170, 175 ); this.groupBox1.TabIndex = 11; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point( 10, 15 ); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size( 150, 150 ); this.filterPreview.TabIndex = 0; this.filterPreview.TabStop = false; // // MorphForm // this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.ClientSize = new System.Drawing.Size( 409, 226 ); this.Controls.Add( this.pictureBox1 ); this.Controls.Add( this.cancelButton ); this.Controls.Add( this.okButton ); this.Controls.Add( this.groupBox1 ); this.Controls.Add( this.percentageBar ); this.Controls.Add( this.label1 ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MorphForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Morphing"; ( (System.ComponentModel.ISupportInitialize) ( this.percentageBar ) ).EndInit( ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.groupBox3 = new System.Windows.Forms.GroupBox( ); this.blueSlider = new AForge.Controls.ColorSlider( ); 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.fillBBox = new System.Windows.Forms.TextBox( ); this.groupBox2 = new System.Windows.Forms.GroupBox( ); this.greenSlider = new AForge.Controls.ColorSlider( ); 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.fillGBox = new System.Windows.Forms.TextBox( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.redSlider = new AForge.Controls.ColorSlider( ); 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.fillRBox = new System.Windows.Forms.TextBox( ); this.groupBox4 = new System.Windows.Forms.GroupBox( ); this.label4 = new System.Windows.Forms.Label( ); this.label3 = new System.Windows.Forms.Label( ); this.label10 = new System.Windows.Forms.Label( ); this.groupBox5 = 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.label7 = new System.Windows.Forms.Label( ); this.fillTypeCombo = new System.Windows.Forms.ComboBox( ); this.groupBox3.SuspendLayout( ); this.groupBox2.SuspendLayout( ); this.groupBox1.SuspendLayout( ); this.groupBox4.SuspendLayout( ); this.groupBox5.SuspendLayout( ); this.SuspendLayout( ); // // groupBox3 // this.groupBox3.Controls.AddRange( new System.Windows.Forms.Control[] { this.blueSlider, this.maxBBox, this.label8, this.minBBox, this.label9} ); 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 = 2; this.groupBox3.TabStop = false; this.groupBox3.Text = "Blue"; // // blueSlider // this.blueSlider.EndColor = 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 = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient; this.blueSlider.ValuesChanged += new System.EventHandler( this.blueSlider_ValuesChanged ); // // maxBBox // this.maxBBox.Location = new System.Drawing.Point( 218, 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( 186, 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:"; // // 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.fillBBox_TextChanged ); // // groupBox2 // this.groupBox2.Controls.AddRange( new System.Windows.Forms.Control[] { this.greenSlider, this.maxGBox, this.label5, this.minGBox, this.label6} ); 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 = "Green"; // // greenSlider // this.greenSlider.EndColor = 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 = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient; this.greenSlider.ValuesChanged += new System.EventHandler( this.greenSlider_ValuesChanged ); // // maxGBox // this.maxGBox.Location = new System.Drawing.Point( 218, 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( 186, 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:"; // // 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.fillGBox_TextChanged ); // // groupBox1 // this.groupBox1.Controls.AddRange( new System.Windows.Forms.Control[] { this.redSlider, 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.EndColor = 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 = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient; this.redSlider.ValuesChanged += new System.EventHandler( this.redSlider_ValuesChanged ); // // maxRBox // this.maxRBox.Location = new System.Drawing.Point( 218, 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( 186, 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:"; // // 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.fillRBox_TextChanged ); // // groupBox4 // this.groupBox4.Controls.AddRange( new System.Windows.Forms.Control[] { this.label4, this.label3, this.label10, this.fillRBox, this.fillGBox, this.fillBBox} ); 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 = 3; this.groupBox4.TabStop = false; this.groupBox4.Text = "Fill color"; // // 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 = 7; 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 = 6; 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:"; // // 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 = 3; 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; // // 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 = 9; 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, 275 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 8; this.okButton.Text = "Ok"; // // 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 = 9; this.label7.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 = 7; this.fillTypeCombo.SelectedIndexChanged += new System.EventHandler( this.fillTypeCombo_SelectedIndexChanged ); // // ColorFilteringForm // 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.AddRange( new System.Windows.Forms.Control[] { this.fillTypeCombo, this.label7, this.cancelButton, this.okButton, this.groupBox4, this.groupBox3, this.groupBox2, this.groupBox1, this.groupBox5} ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ColorFilteringForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Color Filtering"; this.groupBox3.ResumeLayout( false ); this.groupBox2.ResumeLayout( false ); this.groupBox1.ResumeLayout( false ); this.groupBox4.ResumeLayout( false ); this.groupBox5.ResumeLayout( false ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.contrastBox = new System.Windows.Forms.TextBox( ); this.contrastTrackBar = new System.Windows.Forms.TrackBar( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); ( (System.ComponentModel.ISupportInitialize) ( this.contrastTrackBar ) ).BeginInit( ); this.groupBox1.SuspendLayout( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point( 10, 13 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 100, 14 ); this.label1.TabIndex = 0; this.label1.Text = "Contrast factor:"; // // contrastBox // this.contrastBox.Location = new System.Drawing.Point( 110, 10 ); this.contrastBox.Name = "contrastBox"; this.contrastBox.Size = new System.Drawing.Size( 50, 20 ); this.contrastBox.TabIndex = 1; this.contrastBox.TextChanged += new System.EventHandler( this.contrastBox_TextChanged ); // // contrastTrackBar // this.contrastTrackBar.Location = new System.Drawing.Point( 10, 40 ); this.contrastTrackBar.Maximum = 127; this.contrastTrackBar.Minimum = -127; this.contrastTrackBar.Name = "contrastTrackBar"; this.contrastTrackBar.Size = new System.Drawing.Size( 250, 45 ); this.contrastTrackBar.TabIndex = 17; this.contrastTrackBar.TickFrequency = 10; this.contrastTrackBar.ValueChanged += new System.EventHandler( this.contrastTrackBar_ValueChanged ); // // groupBox1 // this.groupBox1.Controls.Add( this.filterPreview ); this.groupBox1.Location = new System.Drawing.Point( 270, 5 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 160, 165 ); this.groupBox1.TabIndex = 18; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point( 10, 15 ); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size( 140, 140 ); this.filterPreview.TabIndex = 12; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point( 150, 143 ); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size( 75, 23 ); this.cancelButton.TabIndex = 20; this.cancelButton.Text = "&Cancel"; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point( 60, 143 ); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size( 75, 23 ); this.okButton.TabIndex = 19; this.okButton.Text = "&Ok"; // // ContrastForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size( 439, 178 ); this.Controls.Add( this.cancelButton ); this.Controls.Add( this.okButton ); this.Controls.Add( this.groupBox1 ); this.Controls.Add( this.contrastTrackBar ); this.Controls.Add( this.contrastBox ); this.Controls.Add( this.label1 ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ContrastForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Contrast"; ( (System.ComponentModel.ISupportInitialize) ( this.contrastTrackBar ) ).EndInit( ); this.groupBox1.ResumeLayout( false ); this.ResumeLayout( false ); this.PerformLayout( ); }
/// <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.brightnessTrackBar = new System.Windows.Forms.TrackBar(); this.cancelButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button(); this.filterPreview = new IPLab.FilterPreview(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.brightnessTrackBar)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.filterPreview); this.groupBox1.Location = new System.Drawing.Point(12, 2); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(297, 210); this.groupBox1.TabIndex = 15; this.groupBox1.TabStop = false; this.groupBox1.Text = "Ԥ��"; // // brightnessTrackBar // this.brightnessTrackBar.Location = new System.Drawing.Point(12, 218); this.brightnessTrackBar.Maximum = 1000; this.brightnessTrackBar.Minimum = -1000; this.brightnessTrackBar.Name = "brightnessTrackBar"; this.brightnessTrackBar.Size = new System.Drawing.Size(300, 48); this.brightnessTrackBar.TabIndex = 16; this.brightnessTrackBar.TickFrequency = 50; this.brightnessTrackBar.ValueChanged += new System.EventHandler(this.brightnessTrackBar_ValueChanged); // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(172, 272); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(90, 25); this.cancelButton.TabIndex = 18; this.cancelButton.Text = "ȡ��"; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point(64, 272); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(90, 25); this.okButton.TabIndex = 17; this.okButton.Text = "ȷ��"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(6, 16); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(285, 188); this.filterPreview.TabIndex = 12; // // BrightnessForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(321, 309); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.brightnessTrackBar); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "BrightnessForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "��������"; this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.brightnessTrackBar)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.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(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.effectComboBox = new System.Windows.Forms.ComboBox( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.groupBox1.SuspendLayout( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point(10, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(42, 13); this.label1.TabIndex = 0; this.label1.Text = "Effect:"; // // effectComboBox // this.effectComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.effectComboBox.Items.AddRange(new object[] { "Marble", "Wood", "Clouds", "Labyrinth", "Textile", "Dirty", "Rusty" }); this.effectComboBox.Location = new System.Drawing.Point(55, 15); this.effectComboBox.Name = "effectComboBox"; this.effectComboBox.Size = new System.Drawing.Size(140, 21); this.effectComboBox.TabIndex = 1; this.effectComboBox.SelectedIndexChanged += new System.EventHandler(this.effectComboBox_SelectedIndexChanged); // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(209, 195); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 9; 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(124, 195); this.okButton.Name = "okButton"; this.okButton.TabIndex = 8; this.okButton.Text = "Ok"; // // groupBox1 // this.groupBox1.Controls.Add(this.filterPreview); this.groupBox1.Location = new System.Drawing.Point(230, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(170, 175); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 15); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(150, 150); this.filterPreview.TabIndex = 0; this.filterPreview.TabStop = false; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point(10, 182); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(210, 2); this.pictureBox1.TabIndex = 10; this.pictureBox1.TabStop = false; // // PerlinNoiseForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(409, 226); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.groupBox1); this.Controls.Add(this.effectComboBox); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PerlinNoiseForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Perlin Noise"; this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.huePicker = new AForge.Controls.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 AForge.Controls.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 AForge.Controls.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 = AForge.Controls.HuePicker.HuePickerType.Range; 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 = AForge.Controls.ColorSlider.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 = AForge.Controls.ColorSlider.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 ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.widthBox = new System.Windows.Forms.TextBox( ); this.widthTrackBar = new System.Windows.Forms.TrackBar( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.okButton = new System.Windows.Forms.Button( ); this.cancelButton = new System.Windows.Forms.Button( ); this.label2 = new System.Windows.Forms.Label( ); this.heightBox = new System.Windows.Forms.TextBox( ); this.heightTrackBar = new System.Windows.Forms.TrackBar( ); this.syncCheck = new System.Windows.Forms.CheckBox( ); ((System.ComponentModel.ISupportInitialize)(this.widthTrackBar)).BeginInit( ); this.groupBox1.SuspendLayout( ); ((System.ComponentModel.ISupportInitialize)(this.heightTrackBar)).BeginInit( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point(10, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(65, 14); this.label1.TabIndex = 0; this.label1.Text = "Pixel Width:"; // // widthBox // this.widthBox.Location = new System.Drawing.Point(80, 15); this.widthBox.Name = "widthBox"; this.widthBox.ReadOnly = true; this.widthBox.Size = new System.Drawing.Size(50, 20); this.widthBox.TabIndex = 1; this.widthBox.TabStop = false; this.widthBox.Text = ""; this.widthBox.TextChanged += new System.EventHandler(this.sizeBox_TextChanged); // // widthTrackBar // this.widthTrackBar.Location = new System.Drawing.Point(10, 42); this.widthTrackBar.Maximum = 32; this.widthTrackBar.Minimum = 2; this.widthTrackBar.Name = "widthTrackBar"; this.widthTrackBar.Size = new System.Drawing.Size(200, 45); this.widthTrackBar.TabIndex = 2; this.widthTrackBar.Value = 2; this.widthTrackBar.Scroll += new System.EventHandler(this.widthTrackBar_Scroll); // // groupBox1 // this.groupBox1.Controls.Add(this.filterPreview); this.groupBox1.Location = new System.Drawing.Point(230, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(170, 175); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 15); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(150, 150); this.filterPreview.TabIndex = 0; this.filterPreview.TabStop = false; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point(10, 182); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(210, 2); this.pictureBox1.TabIndex = 4; this.pictureBox1.TabStop = false; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point(124, 195); this.okButton.Name = "okButton"; this.okButton.TabIndex = 5; 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(209, 195); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 6; this.cancelButton.Text = "Cancel"; // // label2 // this.label2.Location = new System.Drawing.Point(10, 98); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 16); this.label2.TabIndex = 7; this.label2.Text = "Pixel Height:"; // // heightBox // this.heightBox.Location = new System.Drawing.Point(80, 95); this.heightBox.Name = "heightBox"; this.heightBox.ReadOnly = true; this.heightBox.Size = new System.Drawing.Size(50, 20); this.heightBox.TabIndex = 8; this.heightBox.TabStop = false; this.heightBox.Text = ""; this.heightBox.TextChanged += new System.EventHandler(this.heightBox_TextChanged); // // heightTrackBar // this.heightTrackBar.Location = new System.Drawing.Point(10, 122); this.heightTrackBar.Maximum = 32; this.heightTrackBar.Minimum = 2; this.heightTrackBar.Name = "heightTrackBar"; this.heightTrackBar.Size = new System.Drawing.Size(200, 45); this.heightTrackBar.TabIndex = 9; this.heightTrackBar.Value = 2; this.heightTrackBar.Scroll += new System.EventHandler(this.heightTrackBar_Scroll); // // syncCheck // this.syncCheck.Checked = true; this.syncCheck.CheckState = System.Windows.Forms.CheckState.Checked; this.syncCheck.Location = new System.Drawing.Point(160, 15); this.syncCheck.Name = "syncCheck"; this.syncCheck.Size = new System.Drawing.Size(55, 24); this.syncCheck.TabIndex = 10; this.syncCheck.Text = "Sync"; // // PixelateForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(409, 226); this.Controls.Add(this.syncCheck); this.Controls.Add(this.heightTrackBar); this.Controls.Add(this.heightBox); this.Controls.Add(this.label2); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.groupBox1); this.Controls.Add(this.widthTrackBar); this.Controls.Add(this.widthBox); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PixelateForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Pixelate"; ((System.ComponentModel.ISupportInitialize)(this.widthTrackBar)).EndInit( ); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.heightTrackBar)).EndInit( ); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.widthBox = new System.Windows.Forms.TextBox( ); this.widthTrackBar = new System.Windows.Forms.TrackBar( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.okButton = new System.Windows.Forms.Button( ); this.cancelButton = new System.Windows.Forms.Button( ); this.label2 = new System.Windows.Forms.Label( ); this.heightBox = new System.Windows.Forms.TextBox( ); this.heightTrackBar = new System.Windows.Forms.TrackBar( ); this.syncCheck = new System.Windows.Forms.CheckBox( ); ( (System.ComponentModel.ISupportInitialize) ( this.widthTrackBar ) ).BeginInit( ); this.groupBox1.SuspendLayout( ); ( (System.ComponentModel.ISupportInitialize) ( this.heightTrackBar ) ).BeginInit( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point( 10, 18 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 65, 14 ); this.label1.TabIndex = 0; this.label1.Text = "Pixel Width:"; // // widthBox // this.widthBox.Location = new System.Drawing.Point( 80, 15 ); this.widthBox.Name = "widthBox"; this.widthBox.ReadOnly = true; this.widthBox.Size = new System.Drawing.Size( 50, 20 ); this.widthBox.TabIndex = 1; this.widthBox.TabStop = false; this.widthBox.Text = ""; this.widthBox.TextChanged += new System.EventHandler( this.sizeBox_TextChanged ); // // widthTrackBar // this.widthTrackBar.Location = new System.Drawing.Point( 10, 42 ); this.widthTrackBar.Maximum = 32; this.widthTrackBar.Minimum = 2; this.widthTrackBar.Name = "widthTrackBar"; this.widthTrackBar.Size = new System.Drawing.Size( 200, 45 ); this.widthTrackBar.TabIndex = 2; this.widthTrackBar.Value = 2; this.widthTrackBar.Scroll += new System.EventHandler( this.widthTrackBar_Scroll ); // // groupBox1 // this.groupBox1.Controls.Add( this.filterPreview ); this.groupBox1.Location = new System.Drawing.Point( 230, 10 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 170, 175 ); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point( 10, 15 ); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size( 150, 150 ); this.filterPreview.TabIndex = 0; this.filterPreview.TabStop = false; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point( 10, 182 ); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size( 210, 2 ); this.pictureBox1.TabIndex = 4; this.pictureBox1.TabStop = false; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point( 124, 195 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 5; 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( 209, 195 ); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 6; this.cancelButton.Text = "Cancel"; // // label2 // this.label2.Location = new System.Drawing.Point( 10, 98 ); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size( 70, 16 ); this.label2.TabIndex = 7; this.label2.Text = "Pixel Height:"; // // heightBox // this.heightBox.Location = new System.Drawing.Point( 80, 95 ); this.heightBox.Name = "heightBox"; this.heightBox.ReadOnly = true; this.heightBox.Size = new System.Drawing.Size( 50, 20 ); this.heightBox.TabIndex = 8; this.heightBox.TabStop = false; this.heightBox.Text = ""; this.heightBox.TextChanged += new System.EventHandler( this.heightBox_TextChanged ); // // heightTrackBar // this.heightTrackBar.Location = new System.Drawing.Point( 10, 122 ); this.heightTrackBar.Maximum = 32; this.heightTrackBar.Minimum = 2; this.heightTrackBar.Name = "heightTrackBar"; this.heightTrackBar.Size = new System.Drawing.Size( 200, 45 ); this.heightTrackBar.TabIndex = 9; this.heightTrackBar.Value = 2; this.heightTrackBar.Scroll += new System.EventHandler( this.heightTrackBar_Scroll ); // // syncCheck // this.syncCheck.Checked = true; this.syncCheck.CheckState = System.Windows.Forms.CheckState.Checked; this.syncCheck.Location = new System.Drawing.Point( 160, 15 ); this.syncCheck.Name = "syncCheck"; this.syncCheck.Size = new System.Drawing.Size( 55, 24 ); this.syncCheck.TabIndex = 10; this.syncCheck.Text = "Sync"; // // PixelateForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size( 409, 226 ); this.Controls.Add( this.syncCheck ); this.Controls.Add( this.heightTrackBar ); this.Controls.Add( this.heightBox ); this.Controls.Add( this.label2 ); this.Controls.Add( this.cancelButton ); this.Controls.Add( this.okButton ); this.Controls.Add( this.pictureBox1 ); this.Controls.Add( this.groupBox1 ); this.Controls.Add( this.widthTrackBar ); this.Controls.Add( this.widthBox ); this.Controls.Add( this.label1 ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PixelateForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Pixelate"; ( (System.ComponentModel.ISupportInitialize) ( this.widthTrackBar ) ).EndInit( ); this.groupBox1.ResumeLayout( false ); ( (System.ComponentModel.ISupportInitialize) ( this.heightTrackBar ) ).EndInit( ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.contrastBox = new System.Windows.Forms.TextBox( ); this.contrastTrackBar = new System.Windows.Forms.TrackBar( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); ((System.ComponentModel.ISupportInitialize)(this.contrastTrackBar)).BeginInit( ); this.groupBox1.SuspendLayout( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point(10, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 14); this.label1.TabIndex = 0; this.label1.Text = "Contrast factor:"; // // contrastBox // this.contrastBox.Location = new System.Drawing.Point(110, 10); this.contrastBox.Name = "contrastBox"; this.contrastBox.Size = new System.Drawing.Size(50, 20); this.contrastBox.TabIndex = 1; this.contrastBox.TextChanged += new System.EventHandler(this.contrastBox_TextChanged); // // contrastTrackBar // this.contrastTrackBar.Location = new System.Drawing.Point(10, 40); this.contrastTrackBar.Maximum = 127; this.contrastTrackBar.Minimum = -127; this.contrastTrackBar.Name = "contrastTrackBar"; this.contrastTrackBar.Size = new System.Drawing.Size(250, 45); this.contrastTrackBar.TabIndex = 17; this.contrastTrackBar.TickFrequency = 10; this.contrastTrackBar.ValueChanged += new System.EventHandler(this.contrastTrackBar_ValueChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.filterPreview); this.groupBox1.Location = new System.Drawing.Point(270, 5); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(160, 165); this.groupBox1.TabIndex = 18; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 15); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(140, 140); this.filterPreview.TabIndex = 12; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(150, 143); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); this.cancelButton.TabIndex = 20; this.cancelButton.Text = "&Cancel"; // // okButton // this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point(60, 143); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(75, 23); this.okButton.TabIndex = 19; this.okButton.Text = "&Ok"; // // ContrastForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(439, 178); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.groupBox1); this.Controls.Add(this.contrastTrackBar); this.Controls.Add(this.contrastBox); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ContrastForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Contrast"; ((System.ComponentModel.ISupportInitialize)(this.contrastTrackBar)).EndInit( ); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout( ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.huePicker = new AForge.Controls.HuePicker( ); this.hueBox = new System.Windows.Forms.TextBox( ); this.label1 = new System.Windows.Forms.Label( ); this.groupBox2 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox1.SuspendLayout( ); this.groupBox2.SuspendLayout( ); this.SuspendLayout( ); // // groupBox1 // this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { this.huePicker, this.hueBox, this.label1 }); this.groupBox1.Location = new System.Drawing.Point(10, 5); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(195, 225); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Select Hue Value"; // // huePicker // this.huePicker.Location = new System.Drawing.Point(10, 45); this.huePicker.Name = "huePicker"; this.huePicker.Size = new System.Drawing.Size(170, 170); this.huePicker.TabIndex = 2; this.huePicker.TabStop = false; this.huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged); // // hueBox // this.hueBox.Location = new System.Drawing.Point(45, 20); this.hueBox.Name = "hueBox"; this.hueBox.TabIndex = 1; this.hueBox.Text = ""; this.hueBox.TextChanged += new System.EventHandler(this.hueBox_TextChanged); // // label1 // this.label1.Location = new System.Drawing.Point(10, 23); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(30, 14); this.label1.TabIndex = 0; this.label1.Text = "&Hue:"; // // groupBox2 // this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] { this.filterPreview }); this.groupBox2.Location = new System.Drawing.Point(215, 5); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(160, 165); this.groupBox2.TabIndex = 16; this.groupBox2.TabStop = false; this.groupBox2.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 15); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(140, 140); this.filterPreview.TabIndex = 12; this.filterPreview.TabStop = false; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(300, 205); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 3; 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(215, 205); this.okButton.Name = "okButton"; this.okButton.TabIndex = 2; this.okButton.Text = "&Ok"; // // HueModifierForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(384, 238); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.cancelButton, this.okButton, this.groupBox2, this.groupBox1 }); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "HueModifierForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Hue Modifier"; this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.operatorCombo = new System.Windows.Forms.ComboBox( ); this.label2 = new System.Windows.Forms.Label( ); this.sizeCombo = new System.Windows.Forms.ComboBox( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.loadButton = new System.Windows.Forms.Button( ); this.saveButton = new System.Windows.Forms.Button( ); this.grid = new IPLab.GridArrayInt( ); this.label1 = new System.Windows.Forms.Label( ); this.sfd = new System.Windows.Forms.SaveFileDialog( ); this.ofd = new System.Windows.Forms.OpenFileDialog( ); this.filterPreview = new IPLab.FilterPreview( ); this.groupBox2 = new System.Windows.Forms.GroupBox( ); this.groupBox1.SuspendLayout( ); this.groupBox2.SuspendLayout( ); this.SuspendLayout( ); // // cancelButton // this.cancelButton.Anchor = ( System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right ); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point( 545, 355 ); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 5; this.cancelButton.Text = "Cancel"; // // okButton // this.okButton.Anchor = ( System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right ); this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.okButton.Location = new System.Drawing.Point( 460, 355 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 4; this.okButton.Text = "Ok"; // // operatorCombo // this.operatorCombo.Anchor = ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right ); this.operatorCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.operatorCombo.Items.AddRange( new object[] { "Convolution", "Correlation"} ); this.operatorCombo.Location = new System.Drawing.Point( 450, 75 ); this.operatorCombo.Name = "operatorCombo"; this.operatorCombo.Size = new System.Drawing.Size( 170, 21 ); this.operatorCombo.TabIndex = 3; this.operatorCombo.SelectedIndexChanged += new System.EventHandler( this.operatorCombo_SelectedIndexChanged ); // // label2 // this.label2.Anchor = ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right ); this.label2.Location = new System.Drawing.Point( 450, 60 ); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size( 62, 15 ); this.label2.TabIndex = 2; this.label2.Text = "Operation:"; // // sizeCombo // this.sizeCombo.Anchor = ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right ); this.sizeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.sizeCombo.Location = new System.Drawing.Point( 450, 30 ); this.sizeCombo.Name = "sizeCombo"; this.sizeCombo.Size = new System.Drawing.Size( 170, 21 ); this.sizeCombo.TabIndex = 1; this.sizeCombo.SelectedIndexChanged += new System.EventHandler( this.sizeCombo_SelectedIndexChanged ); // // groupBox1 // this.groupBox1.Anchor = ( ( ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom ) | System.Windows.Forms.AnchorStyles.Left ) | System.Windows.Forms.AnchorStyles.Right ); this.groupBox1.Controls.AddRange( new System.Windows.Forms.Control[] { this.loadButton, this.saveButton, this.grid} ); this.groupBox1.Location = new System.Drawing.Point( 10, 10 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 425, 375 ); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Kernel"; // // loadButton // this.loadButton.Anchor = ( System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right ); this.loadButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.loadButton.Location = new System.Drawing.Point( 340, 344 ); this.loadButton.Name = "loadButton"; this.loadButton.TabIndex = 0; this.loadButton.TabStop = false; this.loadButton.Text = "&Load"; this.loadButton.Click += new System.EventHandler( this.loadButton_Click ); // // saveButton // this.saveButton.Anchor = ( System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right ); this.saveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.saveButton.Location = new System.Drawing.Point( 260, 344 ); this.saveButton.Name = "saveButton"; this.saveButton.TabIndex = 1; this.saveButton.TabStop = false; this.saveButton.Text = "&Save"; this.saveButton.Click += new System.EventHandler( this.saveButton_Click ); // // grid // this.grid.Anchor = ( ( ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom ) | System.Windows.Forms.AnchorStyles.Left ) | System.Windows.Forms.AnchorStyles.Right ); this.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point( 10, 20 ); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size( 405, 315 ); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 2; this.grid.TabStop = true; this.grid.ValueChanged += new IPLab.GridArrayInt.GridEventHandler( this.grid_ValueChanged ); // // label1 // this.label1.Anchor = ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right ); this.label1.Location = new System.Drawing.Point( 450, 15 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 66, 15 ); this.label1.TabIndex = 0; this.label1.Text = "Kernel size:"; // // sfd // this.sfd.DefaultExt = "txt"; this.sfd.FileName = "kernel.txt"; this.sfd.Filter = "Text files (*.txt)|*.txt"; this.sfd.Title = "Save kernel to file"; // // ofd // this.ofd.DefaultExt = "txt"; this.ofd.Filter = "Text files (*.txt)|*.txt"; this.ofd.Title = "Load kernel from file"; // // filterPreview // this.filterPreview.Location = new System.Drawing.Point( 10, 15 ); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size( 150, 150 ); this.filterPreview.TabIndex = 8; // // groupBox2 // this.groupBox2.Anchor = ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right ); this.groupBox2.Controls.AddRange( new System.Windows.Forms.Control[] { this.filterPreview} ); this.groupBox2.Location = new System.Drawing.Point( 450, 105 ); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size( 170, 175 ); this.groupBox2.TabIndex = 9; this.groupBox2.TabStop = false; this.groupBox2.Text = "Preview"; // // ConvolutionForm // this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size( 627, 396 ); this.Controls.AddRange( new System.Windows.Forms.Control[] { this.groupBox2, this.cancelButton, this.okButton, this.operatorCombo, this.label2, this.sizeCombo, this.groupBox1, this.label1} ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "ConvolutionForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Convolution & Correlation"; this.groupBox1.ResumeLayout( false ); this.groupBox2.ResumeLayout( false ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.huePicker = new AForge.Controls.HuePicker( ); this.hueBox = new System.Windows.Forms.TextBox( ); this.label1 = new System.Windows.Forms.Label( ); this.groupBox2 = new System.Windows.Forms.GroupBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox1.SuspendLayout( ); this.groupBox2.SuspendLayout( ); this.SuspendLayout( ); // // groupBox1 // this.groupBox1.Controls.AddRange( new System.Windows.Forms.Control[] { this.huePicker, this.hueBox, this.label1} ); this.groupBox1.Location = new System.Drawing.Point( 10, 5 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 195, 225 ); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Select Hue Value"; // // huePicker // this.huePicker.Location = new System.Drawing.Point( 10, 45 ); this.huePicker.Name = "huePicker"; this.huePicker.Size = new System.Drawing.Size( 170, 170 ); this.huePicker.TabIndex = 2; this.huePicker.TabStop = false; this.huePicker.ValuesChanged += new System.EventHandler( this.huePicker_ValuesChanged ); // // hueBox // this.hueBox.Location = new System.Drawing.Point( 45, 20 ); this.hueBox.Name = "hueBox"; this.hueBox.TabIndex = 1; this.hueBox.Text = ""; this.hueBox.TextChanged += new System.EventHandler( this.hueBox_TextChanged ); // // label1 // this.label1.Location = new System.Drawing.Point( 10, 23 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 30, 14 ); this.label1.TabIndex = 0; this.label1.Text = "&Hue:"; // // groupBox2 // this.groupBox2.Controls.AddRange( new System.Windows.Forms.Control[] { this.filterPreview} ); this.groupBox2.Location = new System.Drawing.Point( 215, 5 ); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size( 160, 165 ); this.groupBox2.TabIndex = 16; this.groupBox2.TabStop = false; this.groupBox2.Text = "Preview"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point( 10, 15 ); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size( 140, 140 ); this.filterPreview.TabIndex = 12; this.filterPreview.TabStop = false; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point( 300, 205 ); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 3; 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( 215, 205 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 2; this.okButton.Text = "&Ok"; // // HueModifierForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size( 384, 238 ); this.Controls.AddRange( new System.Windows.Forms.Control[] { this.cancelButton, this.okButton, this.groupBox2, this.groupBox1} ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "HueModifierForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Hue Modifier"; this.groupBox1.ResumeLayout( false ); this.groupBox2.ResumeLayout( false ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.label1 = new System.Windows.Forms.Label( ); this.factorBox = new System.Windows.Forms.TextBox( ); this.cancelButton = new System.Windows.Forms.Button( ); this.okButton = new System.Windows.Forms.Button( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.trackBar = new System.Windows.Forms.TrackBar( ); this.pictureBox1 = new System.Windows.Forms.PictureBox( ); this.filterPreview = new IPLab.FilterPreview( ); this.groupBox1.SuspendLayout( ); ( (System.ComponentModel.ISupportInitialize) ( this.trackBar ) ).BeginInit( ); this.SuspendLayout( ); // // label1 // this.label1.Location = new System.Drawing.Point( 10, 18 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 50, 14 ); this.label1.TabIndex = 0; this.label1.Text = "Factor:"; // // factorBox // this.factorBox.Location = new System.Drawing.Point( 60, 15 ); this.factorBox.Name = "factorBox"; this.factorBox.Size = new System.Drawing.Size( 50, 20 ); this.factorBox.TabIndex = 1; this.factorBox.Text = ""; this.factorBox.TextChanged += new System.EventHandler( this.factorBox_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( 120, 160 ); 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( 35, 160 ); this.okButton.Name = "okButton"; this.okButton.TabIndex = 10; this.okButton.Text = "Ok"; // // groupBox1 // this.groupBox1.Controls.Add( this.filterPreview ); this.groupBox1.Location = new System.Drawing.Point( 230, 10 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 170, 175 ); this.groupBox1.TabIndex = 8; this.groupBox1.TabStop = false; this.groupBox1.Text = "Preview"; // // trackBar // this.trackBar.Location = new System.Drawing.Point( 10, 45 ); this.trackBar.Maximum = 100; this.trackBar.Minimum = 1; this.trackBar.Name = "trackBar"; this.trackBar.Size = new System.Drawing.Size( 200, 45 ); this.trackBar.TabIndex = 7; this.trackBar.TickFrequency = 5; this.trackBar.Value = 2; this.trackBar.ValueChanged += new System.EventHandler( this.trackBar_ValueChanged ); // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point( 10, 150 ); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size( 210, 2 ); this.pictureBox1.TabIndex = 9; this.pictureBox1.TabStop = false; // // 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; // // AdaptiveSmoothForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size( 409, 193 ); this.Controls.Add( this.cancelButton ); this.Controls.Add( this.okButton ); this.Controls.Add( this.groupBox1 ); this.Controls.Add( this.trackBar ); this.Controls.Add( this.pictureBox1 ); this.Controls.Add( this.factorBox ); this.Controls.Add( this.label1 ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "AdaptiveSmoothForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Adaptive Smooth"; this.groupBox1.ResumeLayout( false ); ( (System.ComponentModel.ISupportInitialize) ( this.trackBar ) ).EndInit( ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.txtWindowSize = new System.Windows.Forms.TextBox(); this.sliderWindowSize = new AForge.Controls.ColorSlider(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.okButton = new System.Windows.Forms.Button(); this.cancelButton = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.sliderPixelDifferenceLimit = new AForge.Controls.ColorSlider(); this.txtPixelDifferenceLimit = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.filterPreview = new IPLab.FilterPreview(); ((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(108, 15); this.label1.TabIndex = 0; this.label1.Text = "&Window size:"; // // txtWindowSize // this.txtWindowSize.Location = new System.Drawing.Point(82, 8); this.txtWindowSize.Name = "txtWindowSize"; this.txtWindowSize.Size = new System.Drawing.Size(50, 20); this.txtWindowSize.TabIndex = 1; this.txtWindowSize.TextChanged += new System.EventHandler(this.minBox_TextChanged); // // sliderWindowSize // this.sliderWindowSize.DoubleArrow = false; this.sliderWindowSize.Location = new System.Drawing.Point(8, 40); this.sliderWindowSize.Min = 127; this.sliderWindowSize.Name = "sliderWindowSize"; this.sliderWindowSize.Size = new System.Drawing.Size(262, 23); this.sliderWindowSize.TabIndex = 4; this.sliderWindowSize.Type = AForge.Controls.ColorSlider.ColorSliderType.Threshold; this.sliderWindowSize.ValuesChanged += new System.EventHandler(this.slider_ValuesChanged); // // pictureBox2 // this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox2.Location = new System.Drawing.Point(6, 142); 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(53, 162); 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(143, 162); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); this.cancelButton.TabIndex = 7; this.cancelButton.Text = "&Cancel"; // // groupBox1 // this.groupBox1.Controls.Add(this.filterPreview); this.groupBox1.Location = new System.Drawing.Point(287, 12); 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"; // // sliderPixelDifferenceLimit // this.sliderPixelDifferenceLimit.DoubleArrow = false; this.sliderPixelDifferenceLimit.Location = new System.Drawing.Point(8, 113); this.sliderPixelDifferenceLimit.Min = 127; this.sliderPixelDifferenceLimit.Name = "sliderPixelDifferenceLimit"; this.sliderPixelDifferenceLimit.Size = new System.Drawing.Size(262, 23); this.sliderPixelDifferenceLimit.TabIndex = 16; this.sliderPixelDifferenceLimit.Type = AForge.Controls.ColorSlider.ColorSliderType.Threshold; this.sliderPixelDifferenceLimit.ValuesChanged += new System.EventHandler(this.diffSlider_ValuesChanged); // // txtPixelDifferenceLimit // this.txtPixelDifferenceLimit.Location = new System.Drawing.Point(124, 81); this.txtPixelDifferenceLimit.Name = "txtPixelDifferenceLimit"; this.txtPixelDifferenceLimit.Size = new System.Drawing.Size(50, 20); this.txtPixelDifferenceLimit.TabIndex = 15; this.txtPixelDifferenceLimit.TextChanged += new System.EventHandler(this.diffBox_TextChanged); // // label2 // this.label2.Location = new System.Drawing.Point(10, 86); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(108, 15); this.label2.TabIndex = 14; this.label2.Text = "&Pixel difference limit:"; // // filterPreview // this.filterPreview.Image = null; this.filterPreview.Location = new System.Drawing.Point(10, 12); this.filterPreview.Name = "filterPreview"; this.filterPreview.Size = new System.Drawing.Size(140, 140); this.filterPreview.TabIndex = 13; // // BradleyLocalThresholdForm // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(459, 202); this.Controls.Add(this.sliderPixelDifferenceLimit); this.Controls.Add(this.txtPixelDifferenceLimit); this.Controls.Add(this.label2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.pictureBox2); this.Controls.Add(this.sliderWindowSize); this.Controls.Add(this.txtWindowSize); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "BradleyLocalThresholdForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Bradley Local Thresholding"; ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }