Пример #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.randomizeButton     = new System.Windows.Forms.Button();
     this.mapPanel            = new SampleApp.BufferedPanel();
     this.groupBox2           = new System.Windows.Forms.GroupBox();
     this.currentIterationBox = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.stopButton    = new System.Windows.Forms.Button();
     this.startButton   = new System.Windows.Forms.Button();
     this.label4        = new System.Windows.Forms.Label();
     this.radiusBox     = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.rateBox       = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.iterationsBox = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.randomizeButton);
     this.groupBox1.Controls.Add(this.mapPanel);
     this.groupBox1.Location = new System.Drawing.Point(16, 15);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(355, 387);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Map";
     //
     // randomizeButton
     //
     this.randomizeButton.Location = new System.Drawing.Point(16, 336);
     this.randomizeButton.Name     = "randomizeButton";
     this.randomizeButton.Size     = new System.Drawing.Size(120, 34);
     this.randomizeButton.TabIndex = 1;
     this.randomizeButton.Text     = "&Randomize";
     this.randomizeButton.Click   += new System.EventHandler(this.randomizeButton_Click);
     //
     // mapPanel
     //
     this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.mapPanel.Location    = new System.Drawing.Point(16, 29);
     this.mapPanel.Name        = "mapPanel";
     this.mapPanel.Size        = new System.Drawing.Size(323, 295);
     this.mapPanel.TabIndex    = 0;
     this.mapPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.mapPanel_Paint);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.currentIterationBox);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.stopButton);
     this.groupBox2.Controls.Add(this.startButton);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.radiusBox);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.rateBox);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.iterationsBox);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(384, 15);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(304, 387);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Neural Network";
     //
     // currentIterationBox
     //
     this.currentIterationBox.Location = new System.Drawing.Point(176, 175);
     this.currentIterationBox.Name     = "currentIterationBox";
     this.currentIterationBox.ReadOnly = true;
     this.currentIterationBox.Size     = new System.Drawing.Size(112, 26);
     this.currentIterationBox.TabIndex = 10;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(16, 178);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(160, 24);
     this.label5.TabIndex = 9;
     this.label5.Text     = "Current iteration:";
     //
     // stopButton
     //
     this.stopButton.Enabled  = false;
     this.stopButton.Location = new System.Drawing.Point(168, 336);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(120, 34);
     this.stopButton.TabIndex = 8;
     this.stopButton.Text     = "S&top";
     this.stopButton.Click   += new System.EventHandler(this.stopButton_Click);
     //
     // startButton
     //
     this.startButton.Location = new System.Drawing.Point(32, 336);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(120, 34);
     this.startButton.TabIndex = 7;
     this.startButton.Text     = "&Start";
     this.startButton.Click   += new System.EventHandler(this.startButton_Click);
     //
     // label4
     //
     this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label4.Location    = new System.Drawing.Point(16, 146);
     this.label4.Name        = "label4";
     this.label4.Size        = new System.Drawing.Size(272, 3);
     this.label4.TabIndex    = 6;
     //
     // radiusBox
     //
     this.radiusBox.Location = new System.Drawing.Point(176, 102);
     this.radiusBox.Name     = "radiusBox";
     this.radiusBox.Size     = new System.Drawing.Size(112, 26);
     this.radiusBox.TabIndex = 5;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 105);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(160, 24);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Initial radius:";
     //
     // rateBox
     //
     this.rateBox.Location = new System.Drawing.Point(176, 66);
     this.rateBox.Name     = "rateBox";
     this.rateBox.Size     = new System.Drawing.Size(112, 26);
     this.rateBox.TabIndex = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 69);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(160, 23);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Initial learning rate:";
     //
     // iterationsBox
     //
     this.iterationsBox.Location = new System.Drawing.Point(176, 29);
     this.iterationsBox.Name     = "iterationsBox";
     this.iterationsBox.Size     = new System.Drawing.Size(112, 26);
     this.iterationsBox.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 32);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(96, 24);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Iteraions:";
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(698, 416);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "Color Clustering using Kohonen SOM";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.randomizeButton     = new System.Windows.Forms.Button();
     this.mapPanel            = new SampleApp.BufferedPanel();
     this.groupBox2           = new System.Windows.Forms.GroupBox();
     this.currentIterationBox = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.stopButton    = new System.Windows.Forms.Button();
     this.startButton   = new System.Windows.Forms.Button();
     this.label4        = new System.Windows.Forms.Label();
     this.radiusBox     = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.rateBox       = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.iterationsBox = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.randomizeButton);
     this.groupBox1.Controls.Add(this.mapPanel);
     this.groupBox1.Location = new System.Drawing.Point(21, 20);
     this.groupBox1.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Padding  = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.groupBox1.Size     = new System.Drawing.Size(473, 516);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Map";
     //
     // randomizeButton
     //
     this.randomizeButton.Location = new System.Drawing.Point(21, 448);
     this.randomizeButton.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.randomizeButton.Name     = "randomizeButton";
     this.randomizeButton.Size     = new System.Drawing.Size(160, 45);
     this.randomizeButton.TabIndex = 1;
     this.randomizeButton.Text     = "&Randomize";
     this.randomizeButton.Click   += new System.EventHandler(this.randomizeButton_Click);
     //
     // mapPanel
     //
     this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.mapPanel.Location    = new System.Drawing.Point(21, 39);
     this.mapPanel.Margin      = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.mapPanel.Name        = "mapPanel";
     this.mapPanel.Size        = new System.Drawing.Size(430, 393);
     this.mapPanel.TabIndex    = 0;
     this.mapPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.mapPanel_Paint);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.currentIterationBox);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.stopButton);
     this.groupBox2.Controls.Add(this.startButton);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.radiusBox);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.rateBox);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.iterationsBox);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(512, 20);
     this.groupBox2.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Padding  = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.groupBox2.Size     = new System.Drawing.Size(405, 516);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Neural Network";
     //
     // currentIterationBox
     //
     this.currentIterationBox.Location = new System.Drawing.Point(235, 233);
     this.currentIterationBox.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.currentIterationBox.Name     = "currentIterationBox";
     this.currentIterationBox.ReadOnly = true;
     this.currentIterationBox.Size     = new System.Drawing.Size(148, 31);
     this.currentIterationBox.TabIndex = 10;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(21, 237);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(213, 32);
     this.label5.TabIndex = 9;
     this.label5.Text     = "Current iteration:";
     //
     // stopButton
     //
     this.stopButton.Enabled  = false;
     this.stopButton.Location = new System.Drawing.Point(224, 448);
     this.stopButton.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(160, 45);
     this.stopButton.TabIndex = 8;
     this.stopButton.Text     = "S&top";
     this.stopButton.Click   += new System.EventHandler(this.stopButton_Click);
     //
     // startButton
     //
     this.startButton.Location = new System.Drawing.Point(43, 448);
     this.startButton.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(160, 45);
     this.startButton.TabIndex = 7;
     this.startButton.Text     = "&Start";
     this.startButton.Click   += new System.EventHandler(this.startButton_Click);
     //
     // label4
     //
     this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label4.Location    = new System.Drawing.Point(21, 195);
     this.label4.Margin      = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name        = "label4";
     this.label4.Size        = new System.Drawing.Size(362, 3);
     this.label4.TabIndex    = 6;
     //
     // radiusBox
     //
     this.radiusBox.Location = new System.Drawing.Point(235, 136);
     this.radiusBox.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.radiusBox.Name     = "radiusBox";
     this.radiusBox.Size     = new System.Drawing.Size(148, 31);
     this.radiusBox.TabIndex = 5;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(21, 140);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(213, 32);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Initial radius:";
     //
     // rateBox
     //
     this.rateBox.Location = new System.Drawing.Point(235, 88);
     this.rateBox.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.rateBox.Name     = "rateBox";
     this.rateBox.Size     = new System.Drawing.Size(148, 31);
     this.rateBox.TabIndex = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(21, 92);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(213, 31);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Initial learning rate:";
     //
     // iterationsBox
     //
     this.iterationsBox.Location = new System.Drawing.Point(235, 39);
     this.iterationsBox.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.iterationsBox.Name     = "iterationsBox";
     this.iterationsBox.Size     = new System.Drawing.Size(148, 31);
     this.iterationsBox.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(21, 43);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(128, 32);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Iteraions:";
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(931, 555);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Margin          = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "Color Clustering using Kohonen SOM";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.randomizeButton     = new System.Windows.Forms.Button();
     this.mapPanel            = new SampleApp.BufferedPanel();
     this.groupBox2           = new System.Windows.Forms.GroupBox();
     this.currentIterationBox = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.stopButton    = new System.Windows.Forms.Button();
     this.startButton   = new System.Windows.Forms.Button();
     this.label4        = new System.Windows.Forms.Label();
     this.radiusBox     = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.rateBox       = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.iterationsBox = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.randomizeButton);
     this.groupBox1.Controls.Add(this.mapPanel);
     this.groupBox1.Location = new System.Drawing.Point(26, 25);
     this.groupBox1.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Padding  = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox1.Size     = new System.Drawing.Size(823, 826);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Map";
     //
     // randomizeButton
     //
     this.randomizeButton.Location = new System.Drawing.Point(279, 730);
     this.randomizeButton.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.randomizeButton.Name     = "randomizeButton";
     this.randomizeButton.Size     = new System.Drawing.Size(200, 56);
     this.randomizeButton.TabIndex = 1;
     this.randomizeButton.Text     = "&Randomize";
     this.randomizeButton.Click   += new System.EventHandler(this.randomizeButton_Click);
     //
     // mapPanel
     //
     this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.mapPanel.Location    = new System.Drawing.Point(26, 49);
     this.mapPanel.Margin      = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.mapPanel.Name        = "mapPanel";
     this.mapPanel.Size        = new System.Drawing.Size(765, 657);
     this.mapPanel.TabIndex    = 0;
     this.mapPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.mapPanel_Paint);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.currentIterationBox);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.stopButton);
     this.groupBox2.Controls.Add(this.startButton);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.radiusBox);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.rateBox);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.iterationsBox);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(872, 25);
     this.groupBox2.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Padding  = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox2.Size     = new System.Drawing.Size(506, 826);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Neural Network";
     //
     // currentIterationBox
     //
     this.currentIterationBox.Location = new System.Drawing.Point(294, 291);
     this.currentIterationBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.currentIterationBox.Name     = "currentIterationBox";
     this.currentIterationBox.ReadOnly = true;
     this.currentIterationBox.Size     = new System.Drawing.Size(184, 38);
     this.currentIterationBox.TabIndex = 10;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(26, 296);
     this.label5.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(266, 40);
     this.label5.TabIndex = 9;
     this.label5.Text     = "Current iteration:";
     //
     // stopButton
     //
     this.stopButton.Enabled  = false;
     this.stopButton.Location = new System.Drawing.Point(265, 730);
     this.stopButton.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(200, 56);
     this.stopButton.TabIndex = 8;
     this.stopButton.Text     = "S&top";
     this.stopButton.Click   += new System.EventHandler(this.stopButton_Click);
     //
     // startButton
     //
     this.startButton.Location = new System.Drawing.Point(39, 730);
     this.startButton.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(200, 56);
     this.startButton.TabIndex = 7;
     this.startButton.Text     = "&Start";
     this.startButton.Click   += new System.EventHandler(this.startButton_Click);
     //
     // label4
     //
     this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label4.Location    = new System.Drawing.Point(26, 244);
     this.label4.Margin      = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label4.Name        = "label4";
     this.label4.Size        = new System.Drawing.Size(452, 3);
     this.label4.TabIndex    = 6;
     //
     // radiusBox
     //
     this.radiusBox.Location = new System.Drawing.Point(294, 170);
     this.radiusBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.radiusBox.Name     = "radiusBox";
     this.radiusBox.Size     = new System.Drawing.Size(184, 38);
     this.radiusBox.TabIndex = 5;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(26, 175);
     this.label3.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(266, 40);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Initial radius:";
     //
     // rateBox
     //
     this.rateBox.Location = new System.Drawing.Point(294, 110);
     this.rateBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.rateBox.Name     = "rateBox";
     this.rateBox.Size     = new System.Drawing.Size(184, 38);
     this.rateBox.TabIndex = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(26, 115);
     this.label2.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(266, 39);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Initial learning rate:";
     //
     // iterationsBox
     //
     this.iterationsBox.Location = new System.Drawing.Point(294, 49);
     this.iterationsBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.iterationsBox.Name     = "iterationsBox";
     this.iterationsBox.Size     = new System.Drawing.Size(184, 38);
     this.iterationsBox.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(26, 54);
     this.label1.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(160, 40);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Iterations:";
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(240F, 240F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(1392, 881);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Margin          = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "Color Clustering using Kohonen SOM";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.generateButton       = new System.Windows.Forms.Button();
     this.pointsPanel          = new SampleApp.BufferedPanel();
     this.groupBox2            = new System.Windows.Forms.GroupBox();
     this.showInactiveCheck    = new System.Windows.Forms.CheckBox();
     this.showConnectionsCheck = new System.Windows.Forms.CheckBox();
     this.mapPanel             = new SampleApp.BufferedPanel();
     this.groupBox3            = new System.Windows.Forms.GroupBox();
     this.stopButton           = new System.Windows.Forms.Button();
     this.startButton          = new System.Windows.Forms.Button();
     this.currentIterationBox  = new System.Windows.Forms.TextBox();
     this.label8        = new System.Windows.Forms.Label();
     this.label7        = new System.Windows.Forms.Label();
     this.radiusBox     = new System.Windows.Forms.TextBox();
     this.label4        = new System.Windows.Forms.Label();
     this.rateBox       = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.iterationsBox = new System.Windows.Forms.TextBox();
     this.label6        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.sizeBox       = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.generateButton);
     this.groupBox1.Controls.Add(this.pointsPanel);
     this.groupBox1.Location = new System.Drawing.Point(16, 15);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(352, 431);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Points";
     //
     // generateButton
     //
     this.generateButton.Location = new System.Drawing.Point(16, 380);
     this.generateButton.Name     = "generateButton";
     this.generateButton.Size     = new System.Drawing.Size(120, 34);
     this.generateButton.TabIndex = 1;
     this.generateButton.Text     = "&Generate";
     this.generateButton.Click   += new System.EventHandler(this.generateButton_Click);
     //
     // pointsPanel
     //
     this.pointsPanel.BackColor   = System.Drawing.Color.White;
     this.pointsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pointsPanel.Location    = new System.Drawing.Point(16, 29);
     this.pointsPanel.Name        = "pointsPanel";
     this.pointsPanel.Size        = new System.Drawing.Size(320, 293);
     this.pointsPanel.TabIndex    = 0;
     this.pointsPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.pointsPanel_Paint);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.showInactiveCheck);
     this.groupBox2.Controls.Add(this.showConnectionsCheck);
     this.groupBox2.Controls.Add(this.mapPanel);
     this.groupBox2.Location = new System.Drawing.Point(384, 15);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(352, 431);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Map";
     //
     // showInactiveCheck
     //
     this.showInactiveCheck.Checked         = true;
     this.showInactiveCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.showInactiveCheck.Location        = new System.Drawing.Point(16, 387);
     this.showInactiveCheck.Name            = "showInactiveCheck";
     this.showInactiveCheck.Size            = new System.Drawing.Size(256, 24);
     this.showInactiveCheck.TabIndex        = 2;
     this.showInactiveCheck.Text            = "Show Inactive Neurons";
     this.showInactiveCheck.CheckedChanged += new System.EventHandler(this.showInactiveCheck_CheckedChanged);
     //
     // showConnectionsCheck
     //
     this.showConnectionsCheck.Checked         = true;
     this.showConnectionsCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.showConnectionsCheck.Location        = new System.Drawing.Point(16, 351);
     this.showConnectionsCheck.Name            = "showConnectionsCheck";
     this.showConnectionsCheck.Size            = new System.Drawing.Size(240, 23);
     this.showConnectionsCheck.TabIndex        = 1;
     this.showConnectionsCheck.Text            = "Show Connections";
     this.showConnectionsCheck.CheckedChanged += new System.EventHandler(this.showConnectionsCheck_CheckedChanged);
     //
     // mapPanel
     //
     this.mapPanel.BackColor   = System.Drawing.Color.White;
     this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.mapPanel.Location    = new System.Drawing.Point(16, 29);
     this.mapPanel.Name        = "mapPanel";
     this.mapPanel.Size        = new System.Drawing.Size(320, 293);
     this.mapPanel.TabIndex    = 0;
     this.mapPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.mapPanel_Paint);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.stopButton);
     this.groupBox3.Controls.Add(this.startButton);
     this.groupBox3.Controls.Add(this.currentIterationBox);
     this.groupBox3.Controls.Add(this.label8);
     this.groupBox3.Controls.Add(this.label7);
     this.groupBox3.Controls.Add(this.radiusBox);
     this.groupBox3.Controls.Add(this.label4);
     this.groupBox3.Controls.Add(this.rateBox);
     this.groupBox3.Controls.Add(this.label5);
     this.groupBox3.Controls.Add(this.iterationsBox);
     this.groupBox3.Controls.Add(this.label6);
     this.groupBox3.Controls.Add(this.label3);
     this.groupBox3.Controls.Add(this.label2);
     this.groupBox3.Controls.Add(this.sizeBox);
     this.groupBox3.Controls.Add(this.label1);
     this.groupBox3.Location = new System.Drawing.Point(752, 15);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(288, 431);
     this.groupBox3.TabIndex = 2;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Neural Network";
     //
     // stopButton
     //
     this.stopButton.Enabled  = false;
     this.stopButton.Location = new System.Drawing.Point(152, 380);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(120, 34);
     this.stopButton.TabIndex = 16;
     this.stopButton.Text     = "S&top";
     this.stopButton.Click   += new System.EventHandler(this.stopButton_Click);
     //
     // startButton
     //
     this.startButton.Location = new System.Drawing.Point(16, 380);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(120, 34);
     this.startButton.TabIndex = 15;
     this.startButton.Text     = "&Start";
     this.startButton.Click   += new System.EventHandler(this.startButton_Click);
     //
     // currentIterationBox
     //
     this.currentIterationBox.Location = new System.Drawing.Point(176, 234);
     this.currentIterationBox.Name     = "currentIterationBox";
     this.currentIterationBox.ReadOnly = true;
     this.currentIterationBox.Size     = new System.Drawing.Size(96, 26);
     this.currentIterationBox.TabIndex = 14;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(16, 237);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(160, 23);
     this.label8.TabIndex = 13;
     this.label8.Text     = "Curren iteration:";
     //
     // label7
     //
     this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label7.Location    = new System.Drawing.Point(16, 216);
     this.label7.Name        = "label7";
     this.label7.Size        = new System.Drawing.Size(256, 3);
     this.label7.TabIndex    = 12;
     //
     // radiusBox
     //
     this.radiusBox.Location = new System.Drawing.Point(176, 175);
     this.radiusBox.Name     = "radiusBox";
     this.radiusBox.Size     = new System.Drawing.Size(96, 26);
     this.radiusBox.TabIndex = 11;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 178);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(160, 24);
     this.label4.TabIndex = 10;
     this.label4.Text     = "Initial radius:";
     //
     // rateBox
     //
     this.rateBox.Location = new System.Drawing.Point(176, 139);
     this.rateBox.Name     = "rateBox";
     this.rateBox.Size     = new System.Drawing.Size(96, 26);
     this.rateBox.TabIndex = 9;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(16, 142);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(160, 23);
     this.label5.TabIndex = 8;
     this.label5.Text     = "Initial learning rate:";
     //
     // iterationsBox
     //
     this.iterationsBox.Location = new System.Drawing.Point(176, 102);
     this.iterationsBox.Name     = "iterationsBox";
     this.iterationsBox.Size     = new System.Drawing.Size(96, 26);
     this.iterationsBox.TabIndex = 7;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(16, 105);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(96, 24);
     this.label6.TabIndex = 6;
     this.label6.Text     = "Iteraions:";
     //
     // label3
     //
     this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label3.Location    = new System.Drawing.Point(16, 88);
     this.label3.Name        = "label3";
     this.label3.Size        = new System.Drawing.Size(256, 3);
     this.label3.TabIndex    = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 60);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(240, 22);
     this.label2.TabIndex = 2;
     this.label2.Text     = "(neurons count = size * size)";
     //
     // sizeBox
     //
     this.sizeBox.Location = new System.Drawing.Point(176, 29);
     this.sizeBox.Name     = "sizeBox";
     this.sizeBox.Size     = new System.Drawing.Size(96, 26);
     this.sizeBox.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 32);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(86, 24);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Size:";
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(1054, 468);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "Kohonen SOM 2D Organizing";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.generateButton       = new System.Windows.Forms.Button();
     this.groupBox2            = new System.Windows.Forms.GroupBox();
     this.showInactiveCheck    = new System.Windows.Forms.CheckBox();
     this.showConnectionsCheck = new System.Windows.Forms.CheckBox();
     this.groupBox3            = new System.Windows.Forms.GroupBox();
     this.stopButton           = new System.Windows.Forms.Button();
     this.startButton          = new System.Windows.Forms.Button();
     this.currentIterationBox  = new System.Windows.Forms.TextBox();
     this.label8        = new System.Windows.Forms.Label();
     this.label7        = new System.Windows.Forms.Label();
     this.radiusBox     = new System.Windows.Forms.TextBox();
     this.label4        = new System.Windows.Forms.Label();
     this.rateBox       = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.iterationsBox = new System.Windows.Forms.TextBox();
     this.label6        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.sizeBox       = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.mapPanel      = new SampleApp.BufferedPanel();
     this.pointsPanel   = new SampleApp.BufferedPanel();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.pointsPanel);
     this.groupBox1.Location = new System.Drawing.Point(27, 25);
     this.groupBox1.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Padding  = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox1.Size     = new System.Drawing.Size(587, 1006);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Points";
     //
     // generateButton
     //
     this.generateButton.Location = new System.Drawing.Point(386, 1041);
     this.generateButton.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.generateButton.Name     = "generateButton";
     this.generateButton.Size     = new System.Drawing.Size(200, 57);
     this.generateButton.TabIndex = 1;
     this.generateButton.Text     = "&Generate";
     this.generateButton.Click   += new System.EventHandler(this.generateButton_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.mapPanel);
     this.groupBox2.Location = new System.Drawing.Point(640, 25);
     this.groupBox2.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Padding  = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox2.Size     = new System.Drawing.Size(672, 1006);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Map";
     //
     // showInactiveCheck
     //
     this.showInactiveCheck.Checked         = true;
     this.showInactiveCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.showInactiveCheck.Location        = new System.Drawing.Point(1368, 120);
     this.showInactiveCheck.Margin          = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.showInactiveCheck.Name            = "showInactiveCheck";
     this.showInactiveCheck.Size            = new System.Drawing.Size(427, 40);
     this.showInactiveCheck.TabIndex        = 2;
     this.showInactiveCheck.Text            = "Show Inactive Neurons";
     this.showInactiveCheck.CheckedChanged += new System.EventHandler(this.showInactiveCheck_CheckedChanged);
     //
     // showConnectionsCheck
     //
     this.showConnectionsCheck.Checked         = true;
     this.showConnectionsCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.showConnectionsCheck.Location        = new System.Drawing.Point(1368, 58);
     this.showConnectionsCheck.Margin          = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.showConnectionsCheck.Name            = "showConnectionsCheck";
     this.showConnectionsCheck.Size            = new System.Drawing.Size(400, 38);
     this.showConnectionsCheck.TabIndex        = 1;
     this.showConnectionsCheck.Text            = "Show Connections";
     this.showConnectionsCheck.CheckedChanged += new System.EventHandler(this.showConnectionsCheck_CheckedChanged);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.stopButton);
     this.groupBox3.Controls.Add(this.startButton);
     this.groupBox3.Controls.Add(this.currentIterationBox);
     this.groupBox3.Controls.Add(this.label8);
     this.groupBox3.Controls.Add(this.label7);
     this.groupBox3.Controls.Add(this.radiusBox);
     this.groupBox3.Controls.Add(this.label4);
     this.groupBox3.Controls.Add(this.rateBox);
     this.groupBox3.Controls.Add(this.label5);
     this.groupBox3.Controls.Add(this.iterationsBox);
     this.groupBox3.Controls.Add(this.label6);
     this.groupBox3.Controls.Add(this.label3);
     this.groupBox3.Controls.Add(this.label2);
     this.groupBox3.Controls.Add(this.sizeBox);
     this.groupBox3.Controls.Add(this.label1);
     this.groupBox3.Location = new System.Drawing.Point(1341, 330);
     this.groupBox3.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Padding  = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.groupBox3.Size     = new System.Drawing.Size(480, 718);
     this.groupBox3.TabIndex = 2;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Neural Network";
     //
     // stopButton
     //
     this.stopButton.Enabled  = false;
     this.stopButton.Location = new System.Drawing.Point(253, 633);
     this.stopButton.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(200, 57);
     this.stopButton.TabIndex = 16;
     this.stopButton.Text     = "S&top";
     this.stopButton.Click   += new System.EventHandler(this.stopButton_Click);
     //
     // startButton
     //
     this.startButton.Location = new System.Drawing.Point(27, 633);
     this.startButton.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(200, 57);
     this.startButton.TabIndex = 15;
     this.startButton.Text     = "&Start";
     this.startButton.Click   += new System.EventHandler(this.startButton_Click);
     //
     // currentIterationBox
     //
     this.currentIterationBox.Location = new System.Drawing.Point(293, 390);
     this.currentIterationBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.currentIterationBox.Name     = "currentIterationBox";
     this.currentIterationBox.ReadOnly = true;
     this.currentIterationBox.Size     = new System.Drawing.Size(157, 38);
     this.currentIterationBox.TabIndex = 14;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(27, 395);
     this.label8.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(267, 38);
     this.label8.TabIndex = 13;
     this.label8.Text     = "Curren iteration:";
     //
     // label7
     //
     this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label7.Location    = new System.Drawing.Point(27, 360);
     this.label7.Margin      = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label7.Name        = "label7";
     this.label7.Size        = new System.Drawing.Size(425, 4);
     this.label7.TabIndex    = 12;
     //
     // radiusBox
     //
     this.radiusBox.Location = new System.Drawing.Point(293, 292);
     this.radiusBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.radiusBox.Name     = "radiusBox";
     this.radiusBox.Size     = new System.Drawing.Size(157, 38);
     this.radiusBox.TabIndex = 11;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(27, 297);
     this.label4.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(267, 40);
     this.label4.TabIndex = 10;
     this.label4.Text     = "Initial radius:";
     //
     // rateBox
     //
     this.rateBox.Location = new System.Drawing.Point(293, 232);
     this.rateBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.rateBox.Name     = "rateBox";
     this.rateBox.Size     = new System.Drawing.Size(157, 38);
     this.rateBox.TabIndex = 9;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(27, 237);
     this.label5.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(267, 38);
     this.label5.TabIndex = 8;
     this.label5.Text     = "Initial learning rate:";
     //
     // iterationsBox
     //
     this.iterationsBox.Location = new System.Drawing.Point(293, 170);
     this.iterationsBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.iterationsBox.Name     = "iterationsBox";
     this.iterationsBox.Size     = new System.Drawing.Size(157, 38);
     this.iterationsBox.TabIndex = 7;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(27, 175);
     this.label6.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(160, 40);
     this.label6.TabIndex = 6;
     this.label6.Text     = "Iteraions:";
     //
     // label3
     //
     this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label3.Location    = new System.Drawing.Point(27, 147);
     this.label3.Margin      = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label3.Name        = "label3";
     this.label3.Size        = new System.Drawing.Size(425, 4);
     this.label3.TabIndex    = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(27, 100);
     this.label2.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(400, 37);
     this.label2.TabIndex = 2;
     this.label2.Text     = "(neurons count = size * size)";
     //
     // sizeBox
     //
     this.sizeBox.Location = new System.Drawing.Point(293, 48);
     this.sizeBox.Margin   = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.sizeBox.Name     = "sizeBox";
     this.sizeBox.Size     = new System.Drawing.Size(157, 38);
     this.sizeBox.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(27, 53);
     this.label1.Margin   = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(143, 40);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Size:";
     //
     // mapPanel
     //
     this.mapPanel.BackColor   = System.Drawing.Color.White;
     this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.mapPanel.Location    = new System.Drawing.Point(27, 48);
     this.mapPanel.Margin      = new System.Windows.Forms.Padding(5);
     this.mapPanel.Name        = "mapPanel";
     this.mapPanel.Size        = new System.Drawing.Size(635, 947);
     this.mapPanel.TabIndex    = 0;
     this.mapPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.mapPanel_Paint);
     //
     // pointsPanel
     //
     this.pointsPanel.BackColor   = System.Drawing.Color.White;
     this.pointsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pointsPanel.Location    = new System.Drawing.Point(27, 48);
     this.pointsPanel.Margin      = new System.Windows.Forms.Padding(5);
     this.pointsPanel.Name        = "pointsPanel";
     this.pointsPanel.Size        = new System.Drawing.Size(532, 947);
     this.pointsPanel.TabIndex    = 0;
     this.pointsPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.pointsPanel_Paint);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(240F, 240F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(1848, 1109);
     this.Controls.Add(this.generateButton);
     this.Controls.Add(this.showInactiveCheck);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.showConnectionsCheck);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Margin          = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "Kohonen SOM 2D Organizing";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.ResumeLayout(false);
 }