form1.designer.cs
来自「一、前言 24点游戏是一个常见游戏」· CS 代码 · 共 203 行
CS
203 行
namespace 扩展24点游戏动态规划求解
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.button搜索一个解 = new System.Windows.Forms.Button();
this.textBox整数数组 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.numericUpDown希望值 = new System.Windows.Forms.NumericUpDown();
this.button关闭 = new System.Windows.Forms.Button();
this.button搜索全部解 = new System.Windows.Forms.Button();
this.listBox搜索结果 = new System.Windows.Forms.ListBox();
this.label4 = new System.Windows.Forms.Label();
this.textBox耗时 = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown希望值)).BeginInit();
this.SuspendLayout();
//
// button搜索一个解
//
this.button搜索一个解.Location = new System.Drawing.Point(71, 248);
this.button搜索一个解.Name = "button搜索一个解";
this.button搜索一个解.Size = new System.Drawing.Size(115, 23);
this.button搜索一个解.TabIndex = 0;
this.button搜索一个解.Text = "搜索一个解(快)";
this.button搜索一个解.UseVisualStyleBackColor = true;
this.button搜索一个解.Click += new System.EventHandler(this.button搜索一个解_Click);
//
// textBox整数数组
//
this.textBox整数数组.Location = new System.Drawing.Point(72, 22);
this.textBox整数数组.Name = "textBox整数数组";
this.textBox整数数组.Size = new System.Drawing.Size(197, 21);
this.textBox整数数组.TabIndex = 1;
this.textBox整数数组.Text = "3,3,8,8";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(13, 22);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 3;
this.label1.Text = "整数数组";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(285, 25);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(41, 12);
this.label2.TabIndex = 4;
this.label2.Text = "希望值";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(13, 64);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 12);
this.label3.TabIndex = 4;
this.label3.Text = "搜索结果";
//
// numericUpDown希望值
//
this.numericUpDown希望值.Location = new System.Drawing.Point(332, 22);
this.numericUpDown希望值.Maximum = new decimal(new int[] {
1000000,
0,
0,
0});
this.numericUpDown希望值.Minimum = new decimal(new int[] {
1000000,
0,
0,
-2147483648});
this.numericUpDown希望值.Name = "numericUpDown希望值";
this.numericUpDown希望值.Size = new System.Drawing.Size(61, 21);
this.numericUpDown希望值.TabIndex = 5;
this.numericUpDown希望值.Value = new decimal(new int[] {
24,
0,
0,
0});
//
// button关闭
//
this.button关闭.DialogResult = System.Windows.Forms.DialogResult.OK;
this.button关闭.Location = new System.Drawing.Point(317, 248);
this.button关闭.Name = "button关闭";
this.button关闭.Size = new System.Drawing.Size(75, 23);
this.button关闭.TabIndex = 6;
this.button关闭.Text = "关闭";
this.button关闭.UseVisualStyleBackColor = true;
this.button关闭.Click += new System.EventHandler(this.button关闭_Click);
//
// button搜索全部解
//
this.button搜索全部解.Location = new System.Drawing.Point(192, 248);
this.button搜索全部解.Name = "button搜索全部解";
this.button搜索全部解.Size = new System.Drawing.Size(115, 23);
this.button搜索全部解.TabIndex = 0;
this.button搜索全部解.Text = "搜索全部解(慢)";
this.button搜索全部解.UseVisualStyleBackColor = true;
this.button搜索全部解.Click += new System.EventHandler(this.button搜索全部解_Click);
//
// listBox搜索结果
//
this.listBox搜索结果.FormattingEnabled = true;
this.listBox搜索结果.ItemHeight = 12;
this.listBox搜索结果.Location = new System.Drawing.Point(67, 64);
this.listBox搜索结果.Name = "listBox搜索结果";
this.listBox搜索结果.Size = new System.Drawing.Size(325, 136);
this.listBox搜索结果.TabIndex = 7;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(13, 214);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(59, 12);
this.label4.TabIndex = 8;
this.label4.Text = "耗时(秒):";
//
// textBox耗时
//
this.textBox耗时.Location = new System.Drawing.Point(67, 211);
this.textBox耗时.Name = "textBox耗时";
this.textBox耗时.ReadOnly = true;
this.textBox耗时.Size = new System.Drawing.Size(100, 21);
this.textBox耗时.TabIndex = 9;
this.textBox耗时.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// Form1
//
this.AcceptButton = this.button搜索一个解;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.button关闭;
this.ClientSize = new System.Drawing.Size(404, 283);
this.Controls.Add(this.textBox耗时);
this.Controls.Add(this.label4);
this.Controls.Add(this.listBox搜索结果);
this.Controls.Add(this.button关闭);
this.Controls.Add(this.numericUpDown希望值);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox整数数组);
this.Controls.Add(this.button搜索全部解);
this.Controls.Add(this.button搜索一个解);
this.Name = "Form1";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "扩展24点游戏动态规划求解 Cxy 2008年8月22-24日";
((System.ComponentModel.ISupportInitialize)(this.numericUpDown希望值)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button搜索一个解;
private System.Windows.Forms.TextBox textBox整数数组;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown numericUpDown希望值;
private System.Windows.Forms.Button button关闭;
private System.Windows.Forms.Button button搜索全部解;
private System.Windows.Forms.ListBox listBox搜索结果;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox textBox耗时;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?