⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.designer.cs

📁 Generalization of a Simple Genetic Algorithm (GA)
💻 CS
字号:
namespace GeneticAlgorithm
{
    partial class Form1
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.cmdGo = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.txtSumTarget = new System.Windows.Forms.TextBox();
            this.txtProdTarget = new System.Windows.Forms.TextBox();
            this.txtPopSize = new System.Windows.Forms.TextBox();
            this.txtNumberOfCards = new System.Windows.Forms.TextBox();
            this.txtChanceOfMutation = new System.Windows.Forms.TextBox();
            this.txtChanceOfInfection = new System.Windows.Forms.TextBox();
            this.txtNumberOfIterations = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.cmdViewResults = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // cmdGo
            // 
            this.cmdGo.Location = new System.Drawing.Point(43, 272);
            this.cmdGo.Name = "cmdGo";
            this.cmdGo.Size = new System.Drawing.Size(75, 23);
            this.cmdGo.TabIndex = 0;
            this.cmdGo.Text = "Go!";
            this.cmdGo.UseVisualStyleBackColor = true;
            this.cmdGo.Click += new System.EventHandler(this.cmdGo_Click);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(16, 13);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(62, 13);
            this.label1.TabIndex = 1;
            this.label1.Text = "Sum Target";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(16, 41);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(78, 13);
            this.label2.TabIndex = 2;
            this.label2.Text = "Product Target";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(16, 74);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(86, 13);
            this.label3.TabIndex = 3;
            this.label3.Text = "Number of Cards";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(16, 103);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(80, 13);
            this.label4.TabIndex = 4;
            this.label4.Text = "Population Size";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(16, 132);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(130, 13);
            this.label5.TabIndex = 5;
            this.label5.Text = "Chance of Recombination";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(16, 163);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(100, 13);
            this.label6.TabIndex = 6;
            this.label6.Text = "Chance of Mutation";
            // 
            // txtSumTarget
            // 
            this.txtSumTarget.Location = new System.Drawing.Point(151, 10);
            this.txtSumTarget.Name = "txtSumTarget";
            this.txtSumTarget.Size = new System.Drawing.Size(129, 20);
            this.txtSumTarget.TabIndex = 7;
            this.txtSumTarget.Text = "36";
            // 
            // txtProdTarget
            // 
            this.txtProdTarget.Location = new System.Drawing.Point(151, 38);
            this.txtProdTarget.Name = "txtProdTarget";
            this.txtProdTarget.Size = new System.Drawing.Size(129, 20);
            this.txtProdTarget.TabIndex = 8;
            this.txtProdTarget.Text = "360";
            // 
            // txtPopSize
            // 
            this.txtPopSize.Location = new System.Drawing.Point(151, 100);
            this.txtPopSize.Name = "txtPopSize";
            this.txtPopSize.Size = new System.Drawing.Size(129, 20);
            this.txtPopSize.TabIndex = 10;
            this.txtPopSize.Text = "30";
            // 
            // txtNumberOfCards
            // 
            this.txtNumberOfCards.Location = new System.Drawing.Point(151, 71);
            this.txtNumberOfCards.Name = "txtNumberOfCards";
            this.txtNumberOfCards.Size = new System.Drawing.Size(129, 20);
            this.txtNumberOfCards.TabIndex = 9;
            this.txtNumberOfCards.Text = "10";
            // 
            // txtChanceOfMutation
            // 
            this.txtChanceOfMutation.Location = new System.Drawing.Point(151, 160);
            this.txtChanceOfMutation.Name = "txtChanceOfMutation";
            this.txtChanceOfMutation.Size = new System.Drawing.Size(129, 20);
            this.txtChanceOfMutation.TabIndex = 12;
            this.txtChanceOfMutation.Text = ".1";
            // 
            // txtChanceOfInfection
            // 
            this.txtChanceOfInfection.Location = new System.Drawing.Point(151, 129);
            this.txtChanceOfInfection.Name = "txtChanceOfInfection";
            this.txtChanceOfInfection.Size = new System.Drawing.Size(129, 20);
            this.txtChanceOfInfection.TabIndex = 11;
            this.txtChanceOfInfection.Text = ".5";
            // 
            // txtNumberOfIterations
            // 
            this.txtNumberOfIterations.Location = new System.Drawing.Point(151, 186);
            this.txtNumberOfIterations.Name = "txtNumberOfIterations";
            this.txtNumberOfIterations.Size = new System.Drawing.Size(129, 20);
            this.txtNumberOfIterations.TabIndex = 14;
            this.txtNumberOfIterations.Text = "1000";
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(16, 189);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(102, 13);
            this.label7.TabIndex = 13;
            this.label7.Text = "Number of Iterations";
            // 
            // cmdViewResults
            // 
            this.cmdViewResults.Location = new System.Drawing.Point(151, 272);
            this.cmdViewResults.Name = "cmdViewResults";
            this.cmdViewResults.Size = new System.Drawing.Size(97, 23);
            this.cmdViewResults.TabIndex = 15;
            this.cmdViewResults.Text = "View Results";
            this.cmdViewResults.UseVisualStyleBackColor = true;
            this.cmdViewResults.Click += new System.EventHandler(this.cmdViewResults_Click);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(292, 307);
            this.Controls.Add(this.cmdViewResults);
            this.Controls.Add(this.txtNumberOfIterations);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.txtChanceOfMutation);
            this.Controls.Add(this.txtChanceOfInfection);
            this.Controls.Add(this.txtPopSize);
            this.Controls.Add(this.txtNumberOfCards);
            this.Controls.Add(this.txtProdTarget);
            this.Controls.Add(this.txtSumTarget);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.cmdGo);
            this.Name = "Form1";
            this.Text = "Form1";
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Button cmdGo;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox txtSumTarget;
        private System.Windows.Forms.TextBox txtProdTarget;
        private System.Windows.Forms.TextBox txtPopSize;
        private System.Windows.Forms.TextBox txtNumberOfCards;
        private System.Windows.Forms.TextBox txtChanceOfMutation;
        private System.Windows.Forms.TextBox txtChanceOfInfection;
        private System.Windows.Forms.TextBox txtNumberOfIterations;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Button cmdViewResults;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -