日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > C# >内容正文

C#

c#黑白棋算法_黑白棋C#源代码

發布時間:2023/12/14 C# 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 c#黑白棋算法_黑白棋C#源代码 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

namespace WindowsApplication1

{

partial class Form1

{

///

/// 必需的設計器變量。

///

private System.ComponentModel.IContainer components = null;

///

/// 清理所有正在使用的資源。

///

/// 如果應釋放托管資源,為 true;否則為 false。

protected override void Dispose(bool disposing)

{

if (disposing && (components != null))

{

components.Dispose();

}

base.Dispose(disposing);

}

#region Windows 窗體設計器生成的代碼

///

/// 設計器支持所需的方法 - 不要

/// 使用代碼編輯器修改此方法的內容。

///

private void InitializeComponent()

{

System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));

this.button1 = new System.Windows.Forms.Button();

this.listBox1 = new System.Windows.Forms.ListBox();

this.button2 = new System.Windows.Forms.Button();

this.button3 = new System.Windows.Forms.Button();

this.statusStrip1 = new System.Windows.Forms.StatusStrip();

this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();

this.pictureBox1 = new System.Windows.Forms.PictureBox();

this.button4 = new System.Windows.Forms.Button();

this.statusStrip1.SuspendLayout();

((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();

this.SuspendLayout();

//

// button1

//

this.button1.Location = new System.Drawing.Point(431, 357);

this.button1.Name = "button1";

this.button1.Size = new System.Drawing.Size(93, 30);

this.button1.TabIndex = 1;

this.button1.Text = "開始游戲";

this.button1.UseVisualStyleBackColor = true;

this.button1.Click += new System.EventHandler(this.button1_Click);

//

// listBox1

//

this.listBox1.FormattingEnabled = true;

this.listBox1.ItemHeight = 12;

this.listBox1.Location = new System.Drawing.Point(431, 12);

this.listBox1.Name = "listBox1";

this.listBox1.Size = new System.Drawing.Size(196, 304);

this.listBox1.TabIndex = 2;

//

// button2

//

this.button2.Location = new System.Drawing.Point(431, 321);

this.button2.Name = "button2";

this.button2.Size = new System.Drawing.Size(93, 30);

this.button2.TabIndex = 3;

this.button2.Text = "顯示走棋提示";

this.button2.UseVisualStyleBackColor = true;

this.button2.Click += new System.EventHandler(this.button2_Click);

//

// button3

//

this.button3.Location = new System.Drawing.Point(539, 321);

this.button3.Name = "button3";

this.button3.Size = new System.Drawing.Size(88, 30);

this.button3.TabIndex = 4;

this.button3.Text = "清除走棋提示";

this.button3.UseVisualStyleBackColor = true;

this.button3.Click += new System.EventHandler(this.button3_Click);

//

// statusStrip1

//

this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {

this.toolStripStatusLabel1});

this.statusStrip1.Location = new System.Drawing.Point(0, 404);

this.statusStrip1.Name = "statusStrip1";

this.statusStrip1.Size = new System.Drawing.Size(664, 22);

this.statusStrip1.TabIndex = 5;

this.statusStrip1.Text = "statusStrip1";

//

// toolStripStatusLabel1

//

this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";

this.toolStripStatusLabel1.Size = new System.Drawing.Size(176, 17);

this.toolStripStatusLabel1.Text = "toolStripStatusLabel1";

//

// pictureBox1

//

this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));

this.pictureBox1.Location = new System.Drawing.Point(12, 1);

this.pictureBox1.Name = "pictureBox1";

this.pictureBox1.Size = new System.Drawing.Size(400, 400);

this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;

this.pictureBox1.TabIndex = 6;

this.pictureBox1.TabStop = false;

this.pictureBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown);

//

// button4

//

this.button4.Location = new System.Drawing.Point(539, 357);

this.button4.Name = "button4";

this.button4.Size = new System.Drawing.Size(93, 30);

this.button4.TabIndex = 7;

this.button4.Text = "結束游戲";

this.button4.UseVisualStyleBackColor = true;

this.button4.Click += new System.EventHandler(this.button4_Click);

//

// Form1

//

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

this.ClientSize = new System.Drawing.Size(664, 426);

this.Controls.Add(this.button4);

this.Controls.Add(this.pictureBox1);

this.Controls.Add(this.statusStrip1);

this.Controls.Add(this.button3);

this.Controls.Add(this.button2);

this.Controls.Add(this.listBox1);

this.Controls.Add(this.button1);

this.Name = "Form1";

this.Text = "Form1";

this.statusStrip1.ResumeLayout(false);

this.statusStrip1.PerformLayout();

((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();

this.ResumeLayout(false);

this.PerformLayout();

}

#endregion

private System.Windows.Forms.Button button1;

private System.Windows.Forms.ListBox listBox1;

private System.Windows.Forms.Button button2;

private System.Windows.Forms.Button button3;

private System.Windows.Forms.StatusStrip statusStrip1;

private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;

private System.Windows.Forms.PictureBox pictureBox1;

private System.Windows.Forms.Button button4;

}

}



更多源碼 | 好庫簡介 | 網站地圖 | 幫助中心 | 版權說明

Copyright? 2009-2012 OKBASE.NET All Rights Reserved 好庫網 版權所有

總結

以上是生活随笔為你收集整理的c#黑白棋算法_黑白棋C#源代码的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。