各位好,这里是剩哲伪旺!
如各位所想,我来参加一下这个马拉松比赛。
在看过不少的【马拉松比赛】参赛作品后,他们的代码都是以人类几乎不可读来写的。
但是,我这个代码不一样,我这个代码人类完全可以读懂,但就是……非常长……
这个代码与MC无关,是我在2021年写的一个C#小游戏。
非常可怕的小游戏,代码量甚至已经超过了14000行!
来让我们来看看源码:【仅是其一,代码量还有很多不在这个类里面。。】【超长预警!有gxy的人请勿观看!】
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MyGame
{
public partial class FormGobang : Form
{
private int zi1_1;
private int zi1_2;
private int zi1_3;
private int zi1_4;
private int zi1_5;
private int zi1_6;
private int zi1_7;
private int zi1_8;
private int zi1_9;
private int zi1_10;
private int zi1_11;
private int zi1_12;
private int zi1_13;
private int zi1_14;
private int zi1_15;
private int zi1_16;
private int zi1_17;
private int zi1_18;
private int zi1_19;
private int zi2_1;
private int zi2_2;
private int zi2_3;
private int zi2_4;
private int zi2_5;
private int zi2_6;
private int zi2_7;
private int zi2_8;
private int zi2_9;
private int zi2_10;
private int zi2_11;
private int zi2_12;
private int zi2_13;
private int zi2_14;
private int zi2_15;
private int zi2_16;
private int zi2_17;
private int zi2_18;
private int zi2_19;
private int zi3_1;
private int zi3_2;
private int zi3_3;
private int zi3_4;
private int zi3_5;
private int zi3_6;
private int zi3_7;
private int zi3_8;
private int zi3_9;
private int zi3_10;
private int zi3_11;
private int zi3_12;
private int zi3_13;
private int zi3_14;
private int zi3_15;
private int zi3_16;
private int zi3_17;
private int zi3_18;
private int zi3_19;
private int zi4_1;
private int zi4_2;
private int zi4_3;
private int zi4_4;
private int zi4_5;
private int zi4_6;
private int zi4_7;
private int zi4_8;
private int zi4_9;
private int zi4_10;
private int zi4_11;
private int zi4_12;
private int zi4_13;
private int zi4_14;
private int zi4_15;
private int zi4_16;
private int zi4_17;
private int zi4_18;
private int zi4_19;
private int zi5_1;
private int zi5_2;
private int zi5_3;
private int zi5_4;
private int zi5_5;
private int zi5_6;
private int zi5_7;
private int zi5_8;
private int zi5_9;
private int zi5_10;
private int zi5_11;
private int zi5_12;
private int zi5_13;
private int zi5_14;
private int zi5_15;
private int zi5_16;
private int zi5_17;
private int zi5_18;
private int zi5_19;
private int zi6_1;
private int zi6_2;
private int zi6_3;
private int zi6_4;
private int zi6_5;
private int zi6_6;
private int zi6_7;
private int zi6_8;
private int zi6_9;
private int zi6_10;
private int zi6_11;
private int zi6_12;
private int zi6_13;
private int zi6_14;
private int zi6_15;
private int zi6_16;
private int zi6_17;
private int zi6_18;
private int zi6_19;
private int zi7_1;
private int zi7_2;
private int zi7_3;
private int zi7_4;
private int zi7_5;
private int zi7_6;
private int zi7_7;
private int zi7_8;
private int zi7_9;
private int zi7_10;
private int zi7_11;
private int zi7_12;
private int zi7_13;
private int zi7_14;
private int zi7_15;
private int zi7_16;
private int zi7_17;
private int zi7_18;
private int zi7_19;
private int zi8_1;
private int zi8_2;
private int zi8_3;
private int zi8_4;
private int zi8_5;
private int zi8_6;
private int zi8_7;
private int zi8_8;
private int zi8_9;
private int zi8_10;
private int zi8_11;
private int zi8_12;
private int zi8_13;
private int zi8_14;
private int zi8_15;
private int zi8_16;
private int zi8_17;
private int zi8_18;
private int zi8_19;
private int zi9_1;
private int zi9_2;
private int zi9_3;
private int zi9_4;
private int zi9_5;
private int zi9_6;
private int zi9_7;
private int zi9_8;
private int zi9_9;
private int zi9_10;
private int zi9_11;
private int zi9_12;
private int zi9_13;
private int zi9_14;
private int zi9_15;
private int zi9_16;
private int zi9_17;
private int zi9_18;
private int zi9_19;
private int zi10_1;
private int zi10_2;
private int zi10_3;
private int zi10_4;
private int zi10_5;
private int zi10_6;
private int zi10_7;
private int zi10_8;
private int zi10_9;
private int zi10_10;
private int zi10_11;
private int zi10_12;
private int zi10_13;
private int zi10_14;
private int zi10_15;
private int zi10_16;
private int zi10_17;
private int zi10_18;
private int zi10_19;
private int zi11_1;
private int zi11_2;
private int zi11_3;
private int zi11_4;
private int zi11_5;
private int zi11_6;
private int zi11_7;
private int zi11_8;
private int zi11_9;
private int zi11_10;
private int zi11_11;
private int zi11_12;
private int zi11_13;
private int zi11_14;
private int zi11_15;
private int zi11_16;
private int zi11_17;
private int zi11_18;
private int zi11_19;
private int zi12_1;
private int zi12_2;
private int zi12_3;
private int zi12_4;
private int zi12_5;
private int zi12_6;
private int zi12_7;
private int zi12_8;
private int zi12_9;
private int zi12_10;
private int zi12_11;
private int zi12_12;
private int zi12_13;
private int zi12_14;
private int zi12_15;
private int zi12_16;
private int zi12_17;
private int zi12_18;
private int zi12_19;
private int zi13_1;
private int zi13_2;
private int zi13_3;
private int zi13_4;
private int zi13_5;
private int zi13_6;
private int zi13_7;
private int zi13_8;
private int zi13_9;
private int zi13_10;
private int zi13_11;
private int zi13_12;
private int zi13_13;
private int zi13_14;
private int zi13_15;
private int zi13_16;
private int zi13_17;
private int zi13_18;
private int zi13_19;
private int zi14_1;
private int zi14_2;
private int zi14_3;
private int zi14_4;
private int zi14_5;
private int zi14_6;
private int zi14_7;
private int zi14_8;
private int zi14_9;
private int zi14_10;
private int zi14_11;
private int zi14_12;
private int zi14_13;
private int zi14_14;
private int zi14_15;
private int zi14_16;
private int zi14_17;
private int zi14_18;
private int zi14_19;
private int zi15_1;
private int zi15_2;
private int zi15_3;
private int zi15_4;
private int zi15_5;
private int zi15_6;
private int zi15_7;
private int zi15_8;
private int zi15_9;
private int zi15_10;
private int zi15_11;
private int zi15_12;
private int zi15_13;
private int zi15_14;
private int zi15_15;
private int zi15_16;
private int zi15_17;
private int zi15_18;
private int zi15_19;
private int zi16_1;
private int zi16_2;
private int zi16_3;
private int zi16_4;
private int zi16_5;
private int zi16_6;
private int zi16_7;
private int zi16_8;
private int zi16_9;
private int zi16_10;
private int zi16_11;
private int zi16_12;
private int zi16_13;
private int zi16_14;
private int zi16_15;
private int zi16_16;
private int zi16_17;
private int zi16_18;
private int zi16_19;
private int zi17_1;
private int zi17_2;
private int zi17_3;
private int zi17_4;
private int zi17_5;
private int zi17_6;
private int zi17_7;
private int zi17_8;
private int zi17_9;
private int zi17_10;
private int zi17_11;
private int zi17_12;
private int zi17_13;
private int zi17_14;
private int zi17_15;
private int zi17_16;
private int zi17_17;
private int zi17_18;
private int zi17_19;
private int zi18_1;
private int zi18_2;
private int zi18_3;
private int zi18_4;
private int zi18_5;
private int zi18_6;
private int zi18_7;
private int zi18_8;
private int zi18_9;
private int zi18_10;
private int zi18_11;
private int zi18_12;
private int zi18_13;
private int zi18_14;
private int zi18_15;
private int zi18_16;
private int zi18_17;
private int zi18_18;
private int zi18_19;
private int zi19_1;
private int zi19_2;
private int zi19_3;
private int zi19_4;
private int zi19_5;
private int zi19_6;
private int zi19_7;
private int zi19_8;
private int zi19_9;
private int zi19_10;
private int zi19_11;
private int zi19_12;
private int zi19_13;
private int zi19_14;
private int zi19_15;
private int zi19_16;
private int zi19_17;
private int zi19_18;
private int zi19_19;
private FormMain fm;
private int lun = 0;
private bool start = true;
private int hang = 0;
private int lie = 0;
private int hang_temp = 0;
private int lie_temp = 0;
private bool panduan = true;
string appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
private IniWriter gobangini;
//lun为1时是黑子走,lun为2时是白子走。
//zi数是1时,落子为黑子,是-1时,落子为白子。
public FormGobang(FormMain fm)
{
this.fm = fm;
this.gobangini = new IniWriter(appdata + @"\lge\gobanggame.ini");
this.panduan = fm.gobangpanduan;
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (start)
{
MessageBox.Show("游戏开始!", "游戏开始");
lun = 1;
start = false;
this.button1.Text = "重置游戏";
this.picturelun.Image = this.pictureblack.Image;
this.button5.Enabled = false;
Release();
}
else
{
if(MessageBox.Show("请问是否真的要重置游戏?", "是否重置", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
this.button1.Text = "开始游戏";
LockUp();
reset();
}
}
}
private void button2_Click(object sender, EventArgs e)
{
MessageBox.Show("这里是五子棋游玩室,在游玩前你需要知道以下几点:\n1.在点击游戏开始后,棋盘上所有位置的锁定都将解除。\n2.开始后,右下角会显示当前轮到哪一方走。\n3.你可以自己定谁当黑子,总之这里都是黑子先走。\n4.这个棋盘是19x19的,也就是说有361个格子。\n5.游戏中,你随时都可以点击退出或重置游戏!\n6.可以在赢的时候悔棋,但必须开始游戏并且走棋后才能悔棋。且需经过对方同意。\n4.游玩中只能悔棋两次,如果非要悔多次棋,请试图重置游戏。\n5.新功能不判断输赢是为了让玩家在玩五子棋以外的玩法时用的。例如围棋,同时悔棋按钮将会被锁定,因为只需要点击已走过的棋就可以让子消失了。\n玩的愉快!", "游戏规则");
}
private void button3_Click(object sender, EventArgs e)
{
if(MessageBox.Show("你确定要退出五子棋游戏吗,游戏进度是不保存的!", "是否退出", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
this.button1.Text = "开始游戏";
reset();
Close();
}
}
//左边数代表行,右边数代表列。
//1_1
private void pictureBox1_Click(object sender, EventArgs e)
{
this.pictureBox1.Image = usezi(ref zi1_1, 1, 1);
win();
}
//1_2
private void pictureBox2_Click(object sender, EventArgs e)
{
this.pictureBox2.Image = usezi(ref zi1_2, 1, 2);
win();
}
//1_3
private void pictureBox3_Click(object sender, EventArgs e)
{
this.pictureBox3.Image = usezi(ref zi1_3, 1, 3);
win();
}
//1_4
private void pictureBox4_Click(object sender, EventArgs e)
{
this.pictureBox4.Image = usezi(ref zi1_4, 1, 4);
win();
}
//1_5
private void pictureBox5_Click(object sender, EventArgs e)
{
this.pictureBox5.Image = usezi(ref zi1_5, 1, 5);
win();
}
//1_6
private void pictureBox6_Click(object sender, EventArgs e)
{
this.pictureBox6.Image = usezi(ref zi1_6, 1, 6);
win();
}
//1_7
private void pictureBox7_Click(object sender, EventArgs e)
{
this.pictureBox7.Image = usezi(ref zi1_7, 1, 7);
win();
}
//1_8
private void pictureBox8_Click(object sender, EventArgs e)
{
this.pictureBox8.Image = usezi(ref zi1_8, 1, 8);
win();
}
//1_9
private void pictureBox9_Click(object sender, EventArgs e)
{
this.pictureBox9.Image = usezi(ref zi1_9, 1, 9);
win();
}
//1_10
private void pictureBox10_Click(object sender, EventArgs e)
{
this.pictureBox10.Image = usezi(ref zi1_10, 1, 10);
win();
}
//1_11
private void pictureBox11_Click(object sender, EventArgs e)
{
this.pictureBox11.Image = usezi(ref zi1_11, 1, 11);
win();
}
//1_12
private void pictureBox12_Click(object sender, EventArgs e)
{
this.pictureBox12.Image = usezi(ref zi1_12, 1, 12);
win();
}
//1_13
private void pictureBox13_Click(object sender, EventArgs e)
{
this.pictureBox13.Image = usezi(ref zi1_13, 1, 13);
win();
}
//1_14
private void pictureBox14_Click(object sender, EventArgs e)
{
this.pictureBox14.Image = usezi(ref zi1_14, 1, 14);
win();
}
//1_15
private void pictureBox15_Click(object sender, EventArgs e)
{
this.pictureBox15.Image = usezi(ref zi1_15, 1, 15);
win();
}
//1_16
private void pictureBox16_Click(object sender, EventArgs e)
{
this.pictureBox16.Image = usezi(ref zi1_16, 1, 16);
win();
}
//1_17
private void pictureBox17_Click(object sender, EventArgs e)
{
this.pictureBox17.Image = usezi(ref zi1_17, 1, 17);
win();
}
//1_18
private void pictureBox18_Click(object sender, EventArgs e)
{
this.pictureBox18.Image = usezi(ref zi1_18, 1, 18);
win();
}
//1_19
private void pictureBox19_Click(object sender, EventArgs e)
{
this.pictureBox19.Image = usezi(ref zi1_19, 1, 19);
win();
}
//2_1
private void pictureBox20_Click(object sender, EventArgs e)
{
this.pictureBox20.Image = usezi(ref zi2_1, 2, 1);
win();
}
//2_2
private void pictureBox21_Click(object sender, EventArgs e)
{
this.pictureBox21.Image = usezi(ref zi2_2, 2, 2);
win();
}
//2_3
private void pictureBox22_Click(object sender, EventArgs e)
{
this.pictureBox22.Image = usezi(ref zi2_3, 2, 3);
win();
}
//2_4
private void pictureBox23_Click(object sender, EventArgs e)
{
this.pictureBox23.Image = usezi(ref zi2_4, 2, 4);
win();
}
//2_5
private void pictureBox24_Click(object sender, EventArgs e)
{
this.pictureBox24.Image = usezi(ref zi2_5, 2, 5);
win();
}
//2_6
private void pictureBox25_Click(object sender, EventArgs e)
{
this.pictureBox25.Image = usezi(ref zi2_6, 2, 6);
win();
}
//2_7
private void pictureBox26_Click(object sender, EventArgs e)
{
this.pictureBox26.Image = usezi(ref zi2_7, 2, 7);
win();
}
//2_8
private void pictureBox27_Click(object sender, EventArgs e)
{
this.pictureBox27.Image = usezi(ref zi2_8, 2, 8);
win();
}
//2_9
private void pictureBox28_Click(object sender, EventArgs e)
{
this.pictureBox28.Image = usezi(ref zi2_9, 2, 9);
win();
}
//2_10
private void pictureBox29_Click(object sender, EventArgs e)
{
this.pictureBox29.Image = usezi(ref zi2_10, 2, 10);
win();
}
//2_11
private void pictureBox30_Click(object sender, EventArgs e)
{
this.pictureBox30.Image = usezi(ref zi2_11, 2, 11);
win();
}
//2_12
private void pictureBox31_Click(object sender, EventArgs e)
{
this.pictureBox31.Image = usezi(ref zi2_12, 2, 12);
win();
}
//2_13
private void pictureBox32_Click(object sender, EventArgs e)
{
this.pictureBox32.Image = usezi(ref zi2_13, 2, 13);
win();
}
//2_14
private void pictureBox33_Click(object sender, EventArgs e)
{
this.pictureBox33.Image = usezi(ref zi2_14, 2, 14);
win();
}
//2_15
private void pictureBox34_Click(object sender, EventArgs e)
{
this.pictureBox34.Image = usezi(ref zi2_15, 2, 15);
win();
}
//2_16
private void pictureBox35_Click(object sender, EventArgs e)
{
this.pictureBox35.Image = usezi(ref zi3_16, 2, 16);
win();
}
//2_17
private void pictureBox36_Click(object sender, EventArgs e)
{
this.pictureBox36.Image = usezi(ref zi2_17, 2, 17);
win();
}
//2_18
private void pictureBox37_Click(object sender, EventArgs e)
{
this.pictureBox37.Image = usezi(ref zi2_18, 2, 18);
win();
}
//2_19
private void pictureBox38_Click(object sender, EventArgs e)
{
this.pictureBox38.Image = usezi(ref zi2_19, 2, 19);
win();
}
//3_1
private void pictureBox39_Click(object sender, EventArgs e)
{
this.pictureBox39.Image = usezi(ref zi3_1, 3, 1);
win();
}
//3_2
private void pictureBox40_Click(object sender, EventArgs e)
{
this.pictureBox40.Image = usezi(ref zi3_2, 3, 2);
win();
}
//3_3
private void pictureBox41_Click(object sender, EventArgs e)
{
this.pictureBox41.Image = usezi(ref zi3_3, 3, 3);
win();
}
//3_4
private void pictureBox42_Click(object sender, EventArgs e)
{
this.pictureBox42.Image = usezi(ref zi3_4, 3, 4);
win();
}
//3_5
private void pictureBox43_Click(object sender, EventArgs e)
{
this.pictureBox43.Image = usezi(ref zi3_5, 3, 5);
win();
}
//3_6
private void pictureBox44_Click(object sender, EventArgs e)
{
this.pictureBox44.Image = usezi(ref zi3_6, 3, 6);
win();
}
//3_7
private void pictureBox45_Click(object sender, EventArgs e)
{
this.pictureBox45.Image = usezi(ref zi3_7, 3, 7);
win();
}
//3_8
private void pictureBox46_Click(object sender, EventArgs e)
{
this.pictureBox46.Image = usezi(ref zi3_8, 3, 8);
win();
}
//3_9
private void pictureBox47_Click(object sender, EventArgs e)
{
this.pictureBox47.Image = usezi(ref zi3_9, 3, 9);
win();
}
//3_10
private void pictureBox48_Click(object sender, EventArgs e)
{
this.pictureBox48.Image = usezi(ref zi3_10, 3, 10);
win();
}
//3_11
private void pictureBox49_Click(object sender, EventArgs e)
{
this.pictureBox49.Image = usezi(ref zi3_11, 3, 11);
win();
}
//3_12
private void pictureBox50_Click(object sender, EventArgs e)
{
this.pictureBox50.Image = usezi(ref zi3_12, 3, 12);
win();
}
//3_13
private void pictureBox51_Click(object sender, EventArgs e)
{
this.pictureBox51.Image = usezi(ref zi3_13, 3, 13);
win();
}
//3_14
private void pictureBox52_Click(object sender, EventArgs e)
{
this.pictureBox52.Image = usezi(ref zi3_14, 3, 14);
win();
}
//3_15
private void pictureBox53_Click(object sender, EventArgs e)
{
this.pictureBox53.Image = usezi(ref zi3_15, 3, 15);
win();
}
//3_16
private void pictureBox54_Click(object sender, EventArgs e)
{
this.pictureBox54.Image = usezi(ref zi3_16, 3, 16);
win();
}
//3_17
private void pictureBox55_Click(object sender, EventArgs e)
{
this.pictureBox55.Image = usezi(ref zi3_17, 3, 17);
win();
}
//3_18
private void pictureBox56_Click(object sender, EventArgs e)
{
this.pictureBox56.Image = usezi(ref zi3_18, 3, 18);
win();
}
//3_19
private void pictureBox57_Click(object sender, EventArgs e)
{
this.pictureBox57.Image = usezi(ref zi3_19, 3, 19);
win();
}
//4_1
private void pictureBox58_Click(object sender, EventArgs e)
{
this.pictureBox58.Image = usezi(ref zi4_1, 4, 1);
win();
}
//4_2
private void pictureBox59_Click(object sender, EventArgs e)
{
this.pictureBox59.Image = usezi(ref zi4_2, 4, 2);
win();
}
//4_3
private void pictureBox60_Click(object sender, EventArgs e)
{
this.pictureBox60.Image = usezi(ref zi4_3, 4, 3);
win();
}
//4_4
private void pictureBox61_Click(object sender, EventArgs e)
{
this.pictureBox61.Image = usezi(ref zi4_4, 4, 4);
win();
}
//4_5
private void pictureBox62_Click(object sender, EventArgs e)
{
this.pictureBox62.Image = usezi(ref zi4_5, 4, 5);
win();
}
//4_6
private void pictureBox63_Click(object sender, EventArgs e)
{
this.pictureBox63.Image = usezi(ref zi4_6, 4, 6);
win();
}
//4_7
private void pictureBox64_Click(object sender, EventArgs e)
{
this.pictureBox64.Image = usezi(ref zi4_7, 4, 7);
win();
}
//4_8
private void pictureBox65_Click(object sender, EventArgs e)
{
this.pictureBox65.Image = usezi(ref zi4_8, 4, 8);
win();
}
//4_9
private void pictureBox66_Click(object sender, EventArgs e)
{
this.pictureBox66.Image = usezi(ref zi4_9, 4, 9);
win();
}
//4_10
private void pictureBox67_Click(object sender, EventArgs e)
{
this.pictureBox67.Image = usezi(ref zi4_10, 4, 10);
win();
}
//4_11
private void pictureBox68_Click(object sender, EventArgs e)
{
this.pictureBox68.Image = usezi(ref zi4_11, 4, 11);
win();
}
//4_12
private void pictureBox69_Click(object sender, EventArgs e)
{
this.pictureBox69.Image = usezi(ref zi4_12, 4, 12);
win();
}
//4_13
private void pictureBox70_Click(object sender, EventArgs e)
{
this.pictureBox70.Image = usezi(ref zi4_13, 4, 13);
win();
}
//4_14
private void pictureBox71_Click(object sender, EventArgs e)
{
this.pictureBox71.Image = usezi(ref zi4_14, 4, 14);
win();
}
//4_15
private void pictureBox72_Click(object sender, EventArgs e)
{
this.pictureBox72.Image = usezi(ref zi4_15, 4, 15);
win();
}
//4_16
private void pictureBox73_Click(object sender, EventArgs e)
{
this.pictureBox73.Image = usezi(ref zi4_16, 4, 16);
win();
}
//4_17
private void pictureBox74_Click(object sender, EventArgs e)
{
this.pictureBox74.Image = usezi(ref zi4_17, 4, 17);
win();
}
//4_18
private void pictureBox75_Click(object sender, EventArgs e)
{
this.pictureBox75.Image = usezi(ref zi4_18, 4, 18);
win();
}
//4_19
private void pictureBox76_Click(object sender, EventArgs e)
{
this.pictureBox76.Image = usezi(ref zi4_19, 4, 19);
win();
}
//5_1
private void pictureBox77_Click(object sender, EventArgs e)
{
this.pictureBox77.Image = usezi(ref zi5_1, 5, 1);
win();
}
//5_2
private void pictureBox78_Click(object sender, EventArgs e)
{
this.pictureBox78.Image = usezi(ref zi5_2, 5, 2);
win();
}
//5_3
private void pictureBox79_Click(object sender, EventArgs e)
{
this.pictureBox79.Image = usezi(ref zi5_3, 5, 3);
win();
}
//5_4
private void pictureBox80_Click(object sender, EventArgs e)
{
this.pictureBox80.Image = usezi(ref zi5_4, 5, 4);
win();
}
//5_5
private void pictureBox81_Click(object sender, EventArgs e)
{
this.pictureBox81.Image = usezi(ref zi5_5, 5, 5);
win();
}
//5_6
private void pictureBox82_Click(object sender, EventArgs e)
{
this.pictureBox82.Image = usezi(ref zi5_6, 5, 6);
win();
}
//5_7
private void pictureBox83_Click(object sender, EventArgs e)
{
this.pictureBox83.Image = usezi(ref zi5_7, 5, 7);
win();
}
//5_8
private void pictureBox84_Click(object sender, EventArgs e)
{
this.pictureBox84.Image = usezi(ref zi5_8, 5, 8);
win();
}
//5_9
private void pictureBox85_Click(object sender, EventArgs e)
{
this.pictureBox85.Image = usezi(ref zi5_9, 5, 9);
win();
}
//5_10
private void pictureBox86_Click(object sender, EventArgs e)
{
this.pictureBox86.Image = usezi(ref zi5_10, 5, 10);
win();
}
//5_11
private void pictureBox87_Click(object sender, EventArgs e)
{
this.pictureBox87.Image = usezi(ref zi5_11, 5, 11);
win();
}
//5_12
private void pictureBox88_Click(object sender, EventArgs e)
{
this.pictureBox88.Image = usezi(ref zi5_12, 5, 12);
win();
}
//5_13
private void pictureBox89_Click(object sender, EventArgs e)
{
this.pictureBox89.Image = usezi(ref zi5_13, 5, 13);
win();
}
//5_14
private void pictureBox90_Click(object sender, EventArgs e)
{
this.pictureBox90.Image = usezi(ref zi5_14, 5, 14);
win();
}
//5_15
private void pictureBox91_Click(object sender, EventArgs e)
{
this.pictureBox91.Image = usezi(ref zi5_15, 5, 15);
win();
}
//5_16
private void pictureBox92_Click(object sender, EventArgs e)
{
this.pictureBox92.Image = usezi(ref zi5_16, 5, 16);
win();
}
//5_17
private void pictureBox93_Click(object sender, EventArgs e)
{
this.pictureBox93.Image = usezi(ref zi5_17, 5, 17);
win();
}
//5_18
private void pictureBox94_Click(object sender, EventArgs e)
{
this.pictureBox94.Image = usezi(ref zi5_18, 5, 18);
win();
}
//5_19
private void pictureBox95_Click(object sender, EventArgs e)
{
this.pictureBox95.Image = usezi(ref zi5_19, 5, 19);
win();
}
//6_1
private void pictureBox96_Click(object sender, EventArgs e)
{
this.pictureBox96.Image = usezi(ref zi6_1, 6, 1);
win();
}
//6_2
private void pictureBox97_Click(object sender, EventArgs e)
{
this.pictureBox97.Image = usezi(ref zi6_2, 6, 2);
win();
}
//6_3
private void pictureBox98_Click(object sender, EventArgs e)
{
this.pictureBox98.Image = usezi(ref zi6_3, 6, 3);
win();
}
//6_4
private void pictureBox99_Click(object sender, EventArgs e)
{
this.pictureBox99.Image = usezi(ref zi6_4, 6, 4);
win();
}
//6_5
private void pictureBox100_Click(object sender, EventArgs e)
{
this.pictureBox100.Image = usezi(ref zi6_5, 6, 5);
win();
}
//6_6
private void pictureBox101_Click(object sender, EventArgs e)
{
this.pictureBox101.Image = usezi(ref zi6_6, 6, 6);
win();
}
//6_7
private void pictureBox102_Click(object sender, EventArgs e)
{
this.pictureBox102.Image = usezi(ref zi6_7, 6, 7);
win();
}
//6_8
private void pictureBox103_Click(object sender, EventArgs e)
{
this.pictureBox103.Image = usezi(ref zi6_8, 6, 8);
win();
}
//6_9
private void pictureBox104_Click(object sender, EventArgs e)
{
this.pictureBox104.Image = usezi(ref zi6_9, 6, 9);
win();
}
//6_10
private void pictureBox105_Click(object sender, EventArgs e)
{
this.pictureBox105.Image = usezi(ref zi6_10, 6, 10);
win();
}
//6_11
private void pictureBox106_Click(object sender, EventArgs e)
{
this.pictureBox106.Image = usezi(ref zi6_11, 6, 11);
win();
}
//6_12
private void pictureBox107_Click(object sender, EventArgs e)
{
this.pictureBox107.Image = usezi(ref zi6_12, 6, 12);
win();
}
//6_13
private void pictureBox108_Click(object sender, EventArgs e)
{
this.pictureBox108.Image = usezi(ref zi6_13, 6, 13);
win();
}
//6_14
private void pictureBox109_Click(object sender, EventArgs e)
{
this.pictureBox109.Image = usezi(ref zi6_14, 6, 14);
win();
}
//6_15
private void pictureBox110_Click(object sender, EventArgs e)
{
this.pictureBox110.Image = usezi(ref zi6_15, 6, 15);
win();
}
//6_16
private void pictureBox111_Click(object sender, EventArgs e)
{
this.pictureBox111.Image = usezi(ref zi6_16, 6, 16);
win();
}
//6_17
private void pictureBox112_Click(object sender, EventArgs e)
{
this.pictureBox112.Image = usezi(ref zi6_17, 6, 17);
win();
}
//6_18
private void pictureBox113_Click(object sender, EventArgs e)
{
this.pictureBox113.Image = usezi(ref zi6_18, 6, 18);
win();
}
//6_19
private void pictureBox114_Click(object sender, EventArgs e)
{
this.pictureBox114.Image = usezi(ref zi6_19, 6, 19);
win();
}
//7_1
private void pictureBox115_Click(object sender, EventArgs e)
{
this.pictureBox115.Image = usezi(ref zi7_1, 7, 1);
win();
}
//7_2
private void pictureBox116_Click(object sender, EventArgs e)
{
this.pictureBox116.Image = usezi(ref zi7_2, 7, 2);
win();
}
//7_3
private void pictureBox117_Click(object sender, EventArgs e)
{
this.pictureBox117.Image = usezi(ref zi7_3, 7, 3);
win();
}
//7_4
private void pictureBox118_Click(object sender, EventArgs e)
{
this.pictureBox118.Image = usezi(ref zi7_4, 7, 4);
win();
}
//7_5
private void pictureBox119_Click(object sender, EventArgs e)
{
this.pictureBox119.Image = usezi(ref zi7_5, 7, 5);
win();
}
//7_6
private void pictureBox120_Click(object sender, EventArgs e)
{
this.pictureBox120.Image = usezi(ref zi7_6, 7, 6);
win();
}
//7_7
private void pictureBox121_Click(object sender, EventArgs e)
{
this.pictureBox121.Image = usezi(ref zi7_7, 7, 7);
win();
}
//7_8
private void pictureBox122_Click(object sender, EventArgs e)
{
this.pictureBox122.Image = usezi(ref zi7_8, 7, 8);
win();
}
//7_9
private void pictureBox123_Click(object sender, EventArgs e)
{
this.pictureBox123.Image = usezi(ref zi7_9, 7, 9);
win();
}
//7_10
private void pictureBox124_Click(object sender, EventArgs e)
{
this.pictureBox124.Image = usezi(ref zi7_10, 7, 10);
win();
}
//7_11
private void pictureBox125_Click(object sender, EventArgs e)
{
this.pictureBox125.Image = usezi(ref zi7_11, 7, 11);
win();
}
//7_12
private void pictureBox126_Click(object sender, EventArgs e)
{
this.pictureBox126.Image = usezi(ref zi7_12, 7, 12);
win();
}
//7_13
private void pictureBox127_Click(object sender, EventArgs e)
{
this.pictureBox127.Image = usezi(ref zi7_13, 7, 13);
win();
}
//7_14
private void pictureBox128_Click(object sender, EventArgs e)
{
this.pictureBox128.Image = usezi(ref zi7_14, 7, 14);
win();
}
//7_15
private void pictureBox129_Click(object sender, EventArgs e)
{
this.pictureBox129.Image = usezi(ref zi7_15, 7, 15);
win();
}
//7_16
private void pictureBox130_Click(object sender, EventArgs e)
{
this.pictureBox130.Image = usezi(ref zi7_16, 7, 16);
win();
}
//7_17
private void pictureBox131_Click(object sender, EventArgs e)
{
this.pictureBox131.Image = usezi(ref zi7_17, 7, 17);
win();
}
//7_18
private void pictureBox132_Click(object sender, EventArgs e)
{
this.pictureBox132.Image = usezi(ref zi7_18, 7, 18);
win();
}
//7_19
private void pictureBox133_Click(object sender, EventArgs e)
{
this.pictureBox133.Image = usezi(ref zi7_19, 7, 19);
win();
}
//8_1
private void pictureBox134_Click(object sender, EventArgs e)
{
this.pictureBox134.Image = usezi(ref zi8_1, 8, 1);
win();
}
//8_2
private void pictureBox135_Click(object sender, EventArgs e)
{
this.pictureBox135.Image = usezi(ref zi8_2, 8, 2);
win();
}
//8_3
private void pictureBox136_Click(object sender, EventArgs e)
{
this.pictureBox136.Image = usezi(ref zi8_3, 8, 3);
win();
}
//8_4
private void pictureBox137_Click(object sender, EventArgs e)
{
this.pictureBox137.Image = usezi(ref zi8_4, 8, 4);
win();
}
//8_5
private void pictureBox138_Click(object sender, EventArgs e)
{
this.pictureBox138.Image = usezi(ref zi8_5, 8, 5);
win();
}
//8_6
private void pictureBox139_Click(object sender, EventArgs e)
{
this.pictureBox139.Image = usezi(ref zi8_6, 8, 6);
win();
}
//8_7
private void pictureBox140_Click(object sender, EventArgs e)
{
this.pictureBox140.Image = usezi(ref zi8_7, 8, 7);
win();
}
//8_8
private void pictureBox141_Click(object sender, EventArgs e)
{
this.pictureBox141.Image = usezi(ref zi8_8, 8, 8);
win();
}
//8_9
private void pictureBox142_Click(object sender, EventArgs e)
{
this.pictureBox142.Image = usezi(ref zi8_9, 8, 9);
win();
}
//8_10
private void pictureBox143_Click(object sender, EventArgs e)
{
this.pictureBox143.Image = usezi(ref zi8_10, 8, 10);
win();
}
//8_11
private void pictureBox144_Click(object sender, EventArgs e)
{
this.pictureBox144.Image = usezi(ref zi8_11, 8, 11);
win();
}
//8_12
private void pictureBox145_Click(object sender, EventArgs e)
{
this.pictureBox145.Image = usezi(ref zi8_12, 8, 12);
win();
}
//8_13
private void pictureBox146_Click(object sender, EventArgs e)
{
this.pictureBox146.Image = usezi(ref zi8_13, 8, 13);
win();
}
//8_14
private void pictureBox147_Click(object sender, EventArgs e)
{
this.pictureBox147.Image = usezi(ref zi8_14, 8, 14);
win();
}
//8_15
private void pictureBox148_Click(object sender, EventArgs e)
{
this.pictureBox148.Image = usezi(ref zi8_15, 8, 15);
win();
}
//8_16
private void pictureBox149_Click(object sender, EventArgs e)
{
this.pictureBox149.Image = usezi(ref zi8_16, 8, 16);
win();
}
//8_17
private void pictureBox150_Click(object sender, EventArgs e)
{
this.pictureBox150.Image = usezi(ref zi8_17, 8, 7);
win();
}
//8_18
private void pictureBox151_Click(object sender, EventArgs e)
{
this.pictureBox151.Image = usezi(ref zi8_18, 8, 18);
win();
}
//8_19
private void pictureBox152_Click(object sender, EventArgs e)
{
this.pictureBox152.Image = usezi(ref zi8_19, 8, 19);
win();
}
//9_1
private void pictureBox153_Click(object sender, EventArgs e)
{
this.pictureBox153.Image = usezi(ref zi9_1, 9, 1);
win();
}
//9_2
private void pictureBox154_Click(object sender, EventArgs e)
{
this.pictureBox154.Image = usezi(ref zi9_2, 9, 2);
win();
}
//9_3
private void pictureBox155_Click(object sender, EventArgs e)
{
this.pictureBox155.Image = usezi(ref zi9_3, 9, 3);
win();
}
//9_4
private void pictureBox156_Click(object sender, EventArgs e)
{
this.pictureBox156.Image = usezi(ref zi9_4, 9, 4);
win();
}
//9_5
private void pictureBox157_Click(object sender, EventArgs e)
{
this.pictureBox157.Image = usezi(ref zi9_5, 9, 5);
win();
}
//9_6
private void pictureBox158_Click(object sender, EventArgs e)
{
this.pictureBox158.Image = usezi(ref zi9_6, 9, 6);
win();
}
//9_7
private void pictureBox159_Click(object sender, EventArgs e)
{
this.pictureBox159.Image = usezi(ref zi9_7, 9, 7);
win();
}
//9_8
private void pictureBox160_Click(object sender, EventArgs e)
{
this.pictureBox160.Image = usezi(ref zi9_8, 9, 8);
win();
}
//9_9
private void pictureBox161_Click(object sender, EventArgs e)
{
this.pictureBox161.Image = usezi(ref zi9_9, 9, 9);
win();
}
//9_10
private void pictureBox162_Click(object sender, EventArgs e)
{
this.pictureBox162.Image = usezi(ref zi9_10, 9, 10);
win();
}
//9_11
private void pictureBox163_Click(object sender, EventArgs e)
{
this.pictureBox163.Image = usezi(ref zi9_11, 9, 11);
win();
}
//9_12
private void pictureBox164_Click(object sender, EventArgs e)
{
this.pictureBox164.Image = usezi(ref zi9_12, 9, 12);
win();
}
//9_13
private void pictureBox165_Click(object sender, EventArgs e)
{
this.pictureBox165.Image = usezi(ref zi9_13, 9, 13);
win();
}
//9_14
private void pictureBox166_Click(object sender, EventArgs e)
{
this.pictureBox166.Image = usezi(ref zi9_14, 9, 14);
win();
}
//9_15
private void pictureBox167_Click(object sender, EventArgs e)
{
this.pictureBox167.Image = usezi(ref zi9_15, 9, 15);
win();
}
//9_16
private void pictureBox168_Click(object sender, EventArgs e)
{
this.pictureBox168.Image = usezi(ref zi9_16, 9, 16);
win();
}
//9_17
private void pictureBox169_Click(object sender, EventArgs e)
{
this.pictureBox169.Image = usezi(ref zi9_17, 9, 17);
win();
}
//9_18
private void pictureBox170_Click(object sender, EventArgs e)
{
this.pictureBox170.Image = usezi(ref zi9_18, 9, 18);
win();
}
//9_19
private void pictureBox171_Click(object sender, EventArgs e)
{
this.pictureBox171.Image = usezi(ref zi9_19, 9, 19);
win();
}
//10_1
private void pictureBox172_Click(object sender, EventArgs e)
{
this.pictureBox172.Image = usezi(ref zi10_1, 10, 1);
win();
}
//10_2
private void pictureBox173_Click(object sender, EventArgs e)
{
this.pictureBox173.Image = usezi(ref zi10_2, 10, 2);
win();
}
//10_3
private void pictureBox174_Click(object sender, EventArgs e)
{
this.pictureBox174.Image = usezi(ref zi10_3, 10, 3);
win();
}
//10_4
private void pictureBox175_Click(object sender, EventArgs e)
{
this.pictureBox175.Image = usezi(ref zi10_4, 10, 4);
win();
}
//10_5
private void pictureBox176_Click(object sender, EventArgs e)
{
this.pictureBox176.Image = usezi(ref zi10_5, 10, 5);
win();
}
//10_6
private void pictureBox177_Click(object sender, EventArgs e)
{
this.pictureBox177.Image = usezi(ref zi10_6, 10, 6);
win();
}
//10_7
private void pictureBox178_Click(object sender, EventArgs e)
{
this.pictureBox178.Image = usezi(ref zi10_7, 10, 7);
win();
}
//10_8
private void pictureBox179_Click(object sender, EventArgs e)
{
this.pictureBox179.Image = usezi(ref zi10_8, 10, 8);
win();
}
//10_9
private void pictureBox180_Click(object sender, EventArgs e)
{
this.pictureBox180.Image = usezi(ref zi10_9, 10, 9);
win();
}
//10_10
private void pictureBox181_Click(object sender, EventArgs e)
{
this.pictureBox181.Image = usezi(ref zi10_10, 10, 10);
win();
}
//10_11
private void pictureBox182_Click(object sender, EventArgs e)
{
this.pictureBox182.Image = usezi(ref zi10_11, 10, 11);
win();
}
//10_12
private void pictureBox183_Click(object sender, EventArgs e)
{
this.pictureBox183.Image = usezi(ref zi10_12, 10, 12);
win();
}
//10_13
private void pictureBox184_Click(object sender, EventArgs e)
{
this.pictureBox184.Image = usezi(ref zi10_13, 10, 13);
win();
}
//10_14
private void pictureBox185_Click(object sender, EventArgs e)
{
this.pictureBox185.Image = usezi(ref zi10_14, 10, 14);
win();
}
//10_15
private void pictureBox186_Click(object sender, EventArgs e)
{
this.pictureBox186.Image = usezi(ref zi10_15, 10, 15);
win();
}
//10_16
private void pictureBox187_Click(object sender, EventArgs e)
{
this.pictureBox187.Image = usezi(ref zi10_16, 10, 16);
win();
}
//10_17
private void pictureBox188_Click(object sender, EventArgs e)
{
this.pictureBox188.Image = usezi(ref zi10_17, 10, 17);
win();
}
//10_18
private void pictureBox189_Click(object sender, EventArgs e)
{
this.pictureBox189.Image = usezi(ref zi10_18, 10, 18);
win();
}
//10_19
private void pictureBox190_Click(object sender, EventArgs e)
{
this.pictureBox190.Image = usezi(ref zi10_19, 10, 19);
win();
}
//11_1
private void pictureBox191_Click(object sender, EventArgs e)
{
this.pictureBox191.Image = usezi(ref zi11_1, 11, 1);
win();
}
//11_2
private void pictureBox192_Click(object sender, EventArgs e)
{
this.pictureBox192.Image = usezi(ref zi11_2, 11, 2);
win();
}
//11_3
private void pictureBox193_Click(object sender, EventArgs e)
{
this.pictureBox193.Image = usezi(ref zi11_3, 11, 3);
win();
}
//11_4
private void pictureBox194_Click(object sender, EventArgs e)
{
this.pictureBox194.Image = usezi(ref zi11_4, 11, 4);
win();
}
//11_5
private void pictureBox195_Click(object sender, EventArgs e)
{
this.pictureBox195.Image = usezi(ref zi11_5, 11, 5);
win();
}
//11_6
private void pictureBox196_Click(object sender, EventArgs e)
{
this.pictureBox196.Image = usezi(ref zi11_6, 11, 6);
win();
}
//11_7
private void pictureBox197_Click(object sender, EventArgs e)
{
this.pictureBox197.Image = usezi(ref zi11_7, 11, 7);
win();
}
//11_8
private void pictureBox198_Click(object sender, EventArgs e)
{
this.pictureBox198.Image = usezi(ref zi11_8, 11, 8);
win();
}
//11_9
private void pictureBox199_Click(object sender, EventArgs e)
{
this.pictureBox199.Image = usezi(ref zi11_9, 11, 9);
win();
}
//11_10
private void pictureBox200_Click(object sender, EventArgs e)
{
this.pictureBox200.Image = usezi(ref zi11_10, 11, 10);
win();
}
//11_11
private void pictureBox201_Click(object sender, EventArgs e)
{
this.pictureBox201.Image = usezi(ref zi11_11, 11, 11);
win();
}
//11_12
private void pictureBox202_Click(object sender, EventArgs e)
{
this.pictureBox202.Image = usezi(ref zi11_12, 11, 12);
win();
}
//11_13
private void pictureBox203_Click(object sender, EventArgs e)
{
this.pictureBox203.Image = usezi(ref zi11_13, 11, 13);
win();
}
//11_14
private void pictureBox204_Click(object sender, EventArgs e)
{
this.pictureBox204.Image = usezi(ref zi11_14, 11, 14);
win();
}
//11_15
private void pictureBox205_Click(object sender, EventArgs e)
{
this.pictureBox205.Image = usezi(ref zi11_15, 11, 15);
win();
}
//11_16
private void pictureBox206_Click(object sender, EventArgs e)
{
this.pictureBox206.Image = usezi(ref zi11_16, 11, 16);
win();
}
//11_17
private void pictureBox207_Click(object sender, EventArgs e)
{
this.pictureBox207.Image = usezi(ref zi11_17, 11, 17);
win();
}
//11_18
private void pictureBox208_Click(object sender, EventArgs e)
{
this.pictureBox208.Image = usezi(ref zi11_18, 11, 18);
win();
}
//11_19
private void pictureBox209_Click(object sender, EventArgs e)
{
this.pictureBox209.Image = usezi(ref zi11_19, 11, 19);
win();
}
//12_1
private void pictureBox210_Click(object sender, EventArgs e)
{
this.pictureBox210.Image = usezi(ref zi12_1, 12, 1);
win();
}
//12_2
private void pictureBox211_Click(object sender, EventArgs e)
{
this.pictureBox211.Image = usezi(ref zi12_2, 12, 2);
win();
}
//12_3
private void pictureBox212_Click(object sender, EventArgs e)
{
this.pictureBox212.Image = usezi(ref zi12_3, 12, 3);
win();
}
//12_4
private void pictureBox213_Click(object sender, EventArgs e)
{
this.pictureBox213.Image = usezi(ref zi12_4, 12, 4);
win();
}
//12_5
private void pictureBox214_Click(object sender, EventArgs e)
{
this.pictureBox214.Image = usezi(ref zi12_5, 12, 5);
win();
}
//12_6
private void pictureBox215_Click(object sender, EventArgs e)
{
this.pictureBox215.Image = usezi(ref zi12_6, 12, 6);
win();
}
//12_7
private void pictureBox216_Click(object sender, EventArgs e)
{
this.pictureBox216.Image = usezi(ref zi12_7, 12, 7);
win();
}
//12_8
private void pictureBox217_Click(object sender, EventArgs e)
{
this.pictureBox217.Image = usezi(ref zi12_8, 12, 8);
win();
}
//12_9
private void pictureBox218_Click(object sender, EventArgs e)
{
this.pictureBox218.Image = usezi(ref zi12_9, 12, 9);
win();
}
//12_10
private void pictureBox219_Click(object sender, EventArgs e)
{
this.pictureBox219.Image = usezi(ref zi12_10, 12, 10);
win();
}
//12_11
private void pictureBox220_Click(object sender, EventArgs e)
{
this.pictureBox220.Image = usezi(ref zi12_11, 12, 11);
win();
}
//12_12
private void pictureBox221_Click(object sender, EventArgs e)
{
this.pictureBox221.Image = usezi(ref zi12_12, 12, 12);
win();
}
//12_13
private void pictureBox222_Click(object sender, EventArgs e)
{
this.pictureBox222.Image = usezi(ref zi12_13, 12, 13);
win();
}
//12_14
private void pictureBox223_Click(object sender, EventArgs e)
{
this.pictureBox223.Image = usezi(ref zi12_14, 12, 14);
win();
}
//12_15
private void pictureBox224_Click(object sender, EventArgs e)
{
this.pictureBox224.Image = usezi(ref zi12_15, 12, 15);
win();
}
//12_16
private void pictureBox225_Click(object sender, EventArgs e)
{
this.pictureBox225.Image = usezi(ref zi12_16, 12, 16);
win();
}
//12_17
private void pictureBox226_Click(object sender, EventArgs e)
{
this.pictureBox226.Image = usezi(ref zi12_17, 12, 17);
win();
}
//12_18
private void pictureBox227_Click(object sender, EventArgs e)
{
this.pictureBox227.Image = usezi(ref zi12_18, 12, 18);
win();
}
//12_19
private void pictureBox228_Click(object sender, EventArgs e)
{
this.pictureBox228.Image = usezi(ref zi12_19, 12, 19);
win();
}
//13_1
private void pictureBox229_Click(object sender, EventArgs e)
{
this.pictureBox229.Image = usezi(ref zi13_1, 13, 1);
win();
}
//13_2
private void pictureBox230_Click(object sender, EventArgs e)
{
this.pictureBox230.Image = usezi(ref zi13_2, 13, 2);
win();
}
//13_3
private void pictureBox231_Click(object sender, EventArgs e)
{
this.pictureBox231.Image = usezi(ref zi13_3, 13, 3);
win();
}
//13_4
private void pictureBox232_Click(object sender, EventArgs e)
{
this.pictureBox232.Image = usezi(ref zi13_4, 13, 4);
win();
}
//13_5
private void pictureBox233_Click(object sender, EventArgs e)
{
this.pictureBox233.Image = usezi(ref zi13_5, 13, 5);
win();
}
//13_6
private void pictureBox234_Click(object sender, EventArgs e)
{
this.pictureBox234.Image = usezi(ref zi13_6, 13, 6);
win();
}
//13_7
private void pictureBox235_Click(object sender, EventArgs e)
{
this.pictureBox235.Image = usezi(ref zi13_7, 13, 7);
win();
}
//13_8
private void pictureBox236_Click(object sender, EventArgs e)
{
this.pictureBox236.Image = usezi(ref zi13_8, 13, 8);
win();
}
//13_9
private void pictureBox237_Click(object sender, EventArgs e)
{
this.pictureBox237.Image = usezi(ref zi13_9, 13, 9);
win();
}
//13_10
private void pictureBox238_Click(object sender, EventArgs e)
{
this.pictureBox238.Image = usezi(ref zi13_10, 13, 10);
win();
}
//13_11
private void pictureBox239_Click(object sender, EventArgs e)
{
this.pictureBox239.Image = usezi(ref zi13_11, 13, 11);
win();
}
//13_12
private void pictureBox240_Click(object sender, EventArgs e)
{
this.pictureBox240.Image = usezi(ref zi13_12, 13, 12);
win();
}
//13_13
private void pictureBox241_Click(object sender, EventArgs e)
{
this.pictureBox241.Image = usezi(ref zi13_13, 13, 13);
win();
}
//13_14
private void pictureBox242_Click(object sender, EventArgs e)
{
this.pictureBox242.Image = usezi(ref zi13_14, 13, 14);
win();
}
//13_15
private void pictureBox243_Click(object sender, EventArgs e)
{
this.pictureBox243.Image = usezi(ref zi13_15, 13, 15);
win();
}
//13_16
private void pictureBox244_Click(object sender, EventArgs e)
{
this.pictureBox244.Image = usezi(ref zi13_16, 13, 16);
win();
}
//13_17
private void pictureBox245_Click(object sender, EventArgs e)
{
this.pictureBox245.Image = usezi(ref zi13_17, 13, 17);
win();
}
//13_18
private void pictureBox246_Click(object sender, EventArgs e)
{
this.pictureBox246.Image = usezi(ref zi13_18, 13, 18);
win();
}
//13_19
private void pictureBox247_Click(object sender, EventArgs e)
{
this.pictureBox247.Image = usezi(ref zi13_19, 13, 19);
win();
}
//14_1
private void pictureBox248_Click(object sender, EventArgs e)
{
this.pictureBox248.Image = usezi(ref zi14_1, 14, 1);
win();
}
//14_2
private void pictureBox249_Click(object sender, EventArgs e)
{
this.pictureBox249.Image = usezi(ref zi14_2, 14, 2);
win();
}
//14_3
private void pictureBox250_Click(object sender, EventArgs e)
{
this.pictureBox250.Image = usezi(ref zi14_3, 14, 3);
win();
}
//14_4
private void pictureBox251_Click(object sender, EventArgs e)
{
this.pictureBox251.Image = usezi(ref zi14_4, 14, 4);
win();
}
//14_5
private void pictureBox252_Click(object sender, EventArgs e)
{
this.pictureBox252.Image = usezi(ref zi14_5, 14, 5);
win();
}
//14_6
private void pictureBox253_Click(object sender, EventArgs e)
{
this.pictureBox253.Image = usezi(ref zi14_6, 14, 6);
win();
}
//14_7
private void pictureBox254_Click(object sender, EventArgs e)
{
this.pictureBox254.Image = usezi(ref zi14_7, 14, 7);
win();
}
//14_8
private void pictureBox255_Click(object sender, EventArgs e)
{
this.pictureBox255.Image = usezi(ref zi14_8, 14, 8);
win();
}
//14_9
private void pictureBox256_Click(object sender, EventArgs e)
{
this.pictureBox256.Image = usezi(ref zi14_9, 14, 9);
win();
}
//14_10
private void pictureBox257_Click(object sender, EventArgs e)
{
this.pictureBox257.Image = usezi(ref zi14_10, 14, 10);
win();
}
//14_11
private void pictureBox258_Click(object sender, EventArgs e)
{
this.pictureBox258.Image = usezi(ref zi14_11, 14, 11);
win();
}
//14_12
private void pictureBox259_Click(object sender, EventArgs e)
{
this.pictureBox259.Image = usezi(ref zi14_12, 14, 12);
win();
}
//14_13
private void pictureBox260_Click(object sender, EventArgs e)
{
this.pictureBox260.Image = usezi(ref zi14_13, 14, 13);
win();
}
//14_14
private void pictureBox261_Click(object sender, EventArgs e)
{
this.pictureBox261.Image = usezi(ref zi14_14, 14, 14);
win();
}
//14_15
private void pictureBox262_Click(object sender, EventArgs e)
{
this.pictureBox262.Image = usezi(ref zi14_15, 14, 15);
win();
}
//14_16
private void pictureBox263_Click(object sender, EventArgs e)
{
this.pictureBox263.Image = usezi(ref zi14_16, 14, 16);
win();
}
//14_17
private void pictureBox264_Click(object sender, EventArgs e)
{
this.pictureBox264.Image = usezi(ref zi14_17, 14, 17);
win();
}
//14_18
private void pictureBox265_Click(object sender, EventArgs e)
{
this.pictureBox265.Image = usezi(ref zi14_18, 14, 18);
win();
}
//14_19
private void pictureBox266_Click(object sender, EventArgs e)
{
this.pictureBox266.Image = usezi(ref zi14_19, 14, 19);
win();
}
//15_1
private void pictureBox267_Click(object sender, EventArgs e)
{
this.pictureBox267.Image = usezi(ref zi15_1, 15, 1);
win();
}
//15_2
private void pictureBox268_Click(object sender, EventArgs e)
{
this.pictureBox268.Image = usezi(ref zi15_2, 15, 2);
win();
}
//15_3
private void pictureBox269_Click(object sender, EventArgs e)
{
this.pictureBox269.Image = usezi(ref zi15_3, 15, 3);
win();
}
//15_4
private void pictureBox270_Click(object sender, EventArgs e)
{
this.pictureBox270.Image = usezi(ref zi15_4, 15, 4);
win();
}
//15_5
private void pictureBox271_Click(object sender, EventArgs e)
{
this.pictureBox271.Image = usezi(ref zi15_5, 15, 5);
win();
}
//15_6
private void pictureBox272_Click(object sender, EventArgs e)
{
this.pictureBox272.Image = usezi(ref zi15_6, 15, 6);
win();
}
//15_7
private void pictureBox273_Click(object sender, EventArgs e)
{
this.pictureBox273.Image = usezi(ref zi15_7, 15, 7);
win();
}
//15_8
private void pictureBox274_Click(object sender, EventArgs e)
{
this.pictureBox274.Image = usezi(ref zi15_8, 15, 8);
win();
}
//15_9
private void pictureBox275_Click(object sender, EventArgs e)
{
this.pictureBox275.Image = usezi(ref zi15_9, 15, 9);
win();
}
//15_10
private void pictureBox276_Click(object sender, EventArgs e)
{
this.pictureBox276.Image = usezi(ref zi15_10, 15, 10);
win();
}
//15_11
private void pictureBox277_Click(object sender, EventArgs e)
{
this.pictureBox277.Image = usezi(ref zi15_11, 15, 11);
win();
}
//15_12
private void pictureBox278_Click(object sender, EventArgs e)
{
this.pictureBox278.Image = usezi(ref zi15_12, 15, 12);
win();
}
//15_13
private void pictureBox279_Click(object sender, EventArgs e)
{
this.pictureBox279.Image = usezi(ref zi15_13, 15, 13);
win();
}
//15_14
private void pictureBox280_Click(object sender, EventArgs e)
{
this.pictureBox280.Image = usezi(ref zi15_14, 15, 14);
win();
}
//15_15
private void pictureBox281_Click(object sender, EventArgs e)
{
this.pictureBox281.Image = usezi(ref zi15_15, 15, 15);
win();
}
//15_16
private void pictureBox282_Click(object sender, EventArgs e)
{
this.pictureBox282.Image = usezi(ref zi15_16, 15, 16);
win();
}
//15_17
private void pictureBox283_Click(object sender, EventArgs e)
{
this.pictureBox283.Image = usezi(ref zi15_17, 15, 17);
win();
}
//15_18
private void pictureBox284_Click(object sender, EventArgs e)
{
this.pictureBox284.Image = usezi(ref zi15_18, 15, 18);
win();
}
//15_19
private void pictureBox285_Click(object sender, EventArgs e)
{
this.pictureBox285.Image = usezi(ref zi15_19, 15, 19);
win();
}
//16_1
private void pictureBox286_Click(object sender, EventArgs e)
{
this.pictureBox286.Image = usezi(ref zi16_1, 16, 1);
win();
}
//16_2
private void pictureBox287_Click(object sender, EventArgs e)
{
this.pictureBox287.Image = usezi(ref zi16_2, 16, 2);
win();
}
//16_3
private void pictureBox288_Click(object sender, EventArgs e)
{
this.pictureBox288.Image = usezi(ref zi16_3, 16, 3);
win();
}
//16_4
private void pictureBox289_Click(object sender, EventArgs e)
{
this.pictureBox289.Image = usezi(ref zi16_4, 16, 4);
win();
}
//16_5
private void pictureBox290_Click(object sender, EventArgs e)
{
this.pictureBox290.Image = usezi(ref zi16_5, 16, 5);
win();
}
//16_6
private void pictureBox291_Click(object sender, EventArgs e)
{
this.pictureBox291.Image = usezi(ref zi16_6, 16, 6);
win();
}
//16_7
private void pictureBox292_Click(object sender, EventArgs e)
{
this.pictureBox292.Image = usezi(ref zi16_7, 16, 7);
win();
}
//16_8
private void pictureBox293_Click(object sender, EventArgs e)
{
this.pictureBox293.Image = usezi(ref zi16_8, 16, 8);
win();
}
//16_9
private void pictureBox294_Click(object sender, EventArgs e)
{
this.pictureBox294.Image = usezi(ref zi16_9, 16, 9);
win();
}
//16_10
private void pictureBox295_Click(object sender, EventArgs e)
{
this.pictureBox295.Image = usezi(ref zi16_10, 16, 10);
win();
}
//16_11
private void pictureBox296_Click(object sender, EventArgs e)
{
this.pictureBox296.Image = usezi(ref zi16_11, 16, 11);
win();
}
//16_12
private void pictureBox297_Click(object sender, EventArgs e)
{
this.pictureBox297.Image = usezi(ref zi16_12, 16, 12);
win();
}
//16_13
private void pictureBox298_Click(object sender, EventArgs e)
{
this.pictureBox298.Image = usezi(ref zi16_13, 16, 13);
win();
}
//16_14
private void pictureBox299_Click(object sender, EventArgs e)
{
this.pictureBox299.Image = usezi(ref zi16_14, 16, 14);
win();
}
//16_15
private void pictureBox300_Click(object sender, EventArgs e)
{
this.pictureBox300.Image = usezi(ref zi16_15, 16, 15);
win();
}
//16_16
private void pictureBox301_Click(object sender, EventArgs e)
{
this.pictureBox301.Image = usezi(ref zi16_16, 16, 16);
win();
}
//16_17
private void pictureBox302_Click(object sender, EventArgs e)
{
this.pictureBox302.Image = usezi(ref zi16_17, 16, 17);
win();
}
//16_18
private void pictureBox303_Click(object sender, EventArgs e)
{
this.pictureBox303.Image = usezi(ref zi16_18, 16, 18);
win();
}
//16_19
private void pictureBox304_Click(object sender, EventArgs e)
{
this.pictureBox304.Image = usezi(ref zi16_19, 16, 19);
win();
}
//17_1
private void pictureBox305_Click(object sender, EventArgs e)
{
this.pictureBox305.Image = usezi(ref zi17_1, 17, 1);
win();
}
//17_2
private void pictureBox306_Click(object sender, EventArgs e)
{
this.pictureBox306.Image = usezi(ref zi17_2, 17, 2);
win();
}
//17_3
private void pictureBox307_Click(object sender, EventArgs e)
{
this.pictureBox307.Image = usezi(ref zi17_3, 17, 3);
win();
}
//17_4
private void pictureBox308_Click(object sender, EventArgs e)
{
this.pictureBox308.Image = usezi(ref zi17_4, 17, 4);
win();
}
//17_5
private void pictureBox309_Click(object sender, EventArgs e)
{
this.pictureBox309.Image = usezi(ref zi17_5, 17, 5);
win();
}
//17_6
private void pictureBox310_Click(object sender, EventArgs e)
{
this.pictureBox310.Image = usezi(ref zi17_6, 17, 6);
win();
}
//17_7
private void pictureBox311_Click(object sender, EventArgs e)
{
this.pictureBox311.Image = usezi(ref zi17_7, 17, 7);
win();
}
//17_8
private void pictureBox312_Click(object sender, EventArgs e)
{
this.pictureBox312.Image = usezi(ref zi17_8, 17, 8);
win();
}
//17_9
private void pictureBox313_Click(object sender, EventArgs e)
{
this.pictureBox313.Image = usezi(ref zi17_9, 17, 9);
win();
}
//17_10
private void pictureBox314_Click(object sender, EventArgs e)
{
this.pictureBox314.Image = usezi(ref zi17_10, 17, 10);
win();
}
//17_11
private void pictureBox315_Click(object sender, EventArgs e)
{
this.pictureBox315.Image = usezi(ref zi17_11, 17, 11);
win();
}
//17_12
private void pictureBox316_Click(object sender, EventArgs e)
{
this.pictureBox316.Image = usezi(ref zi17_12, 17, 12);
win();
}
//17_13
private void pictureBox317_Click(object sender, EventArgs e)
{
this.pictureBox317.Image = usezi(ref zi17_13, 17, 13);
win();
}
//17_14
private void pictureBox318_Click(object sender, EventArgs e)
{
this.pictureBox318.Image = usezi(ref zi17_14, 17, 14);
win();
}
//17_15
private void pictureBox319_Click(object sender, EventArgs e)
{
this.pictureBox319.Image = usezi(ref zi17_15, 17, 15);
win();
}
//17_16
private void pictureBox320_Click(object sender, EventArgs e)
{
this.pictureBox320.Image = usezi(ref zi17_16, 17, 16);
win();
}
//17_17
private void pictureBox321_Click(object sender, EventArgs e)
{
this.pictureBox321.Image = usezi(ref zi17_17, 17, 17);
win();
}
//17_18
private void pictureBox322_Click(object sender, EventArgs e)
{
this.pictureBox322.Image = usezi(ref zi17_18, 17, 18);
win();
}
//17_19
private void pictureBox323_Click(object sender, EventArgs e)
{
this.pictureBox323.Image = usezi(ref zi17_19, 17, 19);
win();
}
//18_1
private void pictureBox324_Click(object sender, EventArgs e)
{
this.pictureBox324.Image = usezi(ref zi18_1, 18, 1);
win();
}
//18_2
private void pictureBox325_Click(object sender, EventArgs e)
{
this.pictureBox325.Image = usezi(ref zi18_2, 18, 2);
win();
}
//18_3
private void pictureBox326_Click(object sender, EventArgs e)
{
this.pictureBox326.Image = usezi(ref zi18_3, 18, 3);
win();
}
//18_4
private void pictureBox327_Click(object sender, EventArgs e)
{
this.pictureBox327.Image = usezi(ref zi18_4, 18, 4);
win();
}
//18_5
private void pictureBox328_Click(object sender, EventArgs e)
{
this.pictureBox328.Image = usezi(ref zi18_5, 18, 5);
win();
}
//18_6
private void pictureBox329_Click(object sender, EventArgs e)
{
this.pictureBox329.Image = usezi(ref zi18_6, 18, 6);
win();
}
//18_7
private void pictureBox330_Click(object sender, EventArgs e)
{
this.pictureBox330.Image = usezi(ref zi18_7, 18, 7);
win();
}
//18_8
private void pictureBox331_Click(object sender, EventArgs e)
{
this.pictureBox331.Image = usezi(ref zi18_8, 18, 8);
win();
}
//18_9
private void pictureBox332_Click(object sender, EventArgs e)
{
this.pictureBox332.Image = usezi(ref zi18_9, 18, 9);
win();
}
//18_10
private void pictureBox333_Click(object sender, EventArgs e)
{
this.pictureBox333.Image = usezi(ref zi18_10, 18, 10);
win();
}
//18_11
private void pictureBox334_Click(object sender, EventArgs e)
{
this.pictureBox334.Image = usezi(ref zi18_11, 18, 11);
win();
}
//18_12
private void pictureBox335_Click(object sender, EventArgs e)
{
this.pictureBox335.Image = usezi(ref zi18_12, 18, 12);
win();
}
//18_13
private void pictureBox336_Click(object sender, EventArgs e)
{
this.pictureBox336.Image = usezi(ref zi18_13, 18, 13);
win();
}
//18_14
private void pictureBox337_Click(object sender, EventArgs e)
{
this.pictureBox337.Image = usezi(ref zi18_14, 18, 14);
win();
}
//18_15
private void pictureBox338_Click(object sender, EventArgs e)
{
this.pictureBox338.Image = usezi(ref zi18_15, 18, 15);
win();
}
//18_16
private void pictureBox339_Click(object sender, EventArgs e)
{
this.pictureBox339.Image = usezi(ref zi18_16, 18, 16);
win();
}
//18_17
private void pictureBox340_Click(object sender, EventArgs e)
{
this.pictureBox340.Image = usezi(ref zi18_17, 18, 17);
win();
}
//18_18
private void pictureBox341_Click(object sender, EventArgs e)
{
this.pictureBox341.Image = usezi(ref zi18_18, 18, 18);
win();
}
//18_19
private void pictureBox342_Click(object sender, EventArgs e)
{
this.pictureBox342.Image = usezi(ref zi18_19, 18, 19);
win();
}
//19_1
private void pictureBox343_Click(object sender, EventArgs e)
{
this.pictureBox343.Image = usezi(ref zi19_1, 19, 1);
win();
}
//19_2
private void pictureBox344_Click(object sender, EventArgs e)
{
this.pictureBox344.Image = usezi(ref zi19_2, 19, 2);
win();
}
//19_3
private void pictureBox345_Click(object sender, EventArgs e)
{
this.pictureBox345.Image = usezi(ref zi19_3, 19, 3);
win();
}
//19_4
private void pictureBox346_Click(object sender, EventArgs e)
{
this.pictureBox346.Image = usezi(ref zi19_4, 19, 4);
win();
}
//19_5
private void pictureBox347_Click(object sender, EventArgs e)
{
this.pictureBox347.Image = usezi(ref zi19_5, 19, 5);
win();
}
//19_6
private void pictureBox348_Click(object sender, EventArgs e)
{
this.pictureBox348.Image = usezi(ref zi19_6, 19, 6);
win();
}
//19_7
private void pictureBox349_Click(object sender, EventArgs e)
{
this.pictureBox349.Image = usezi(ref zi19_7, 19, 7);
win();
}
//19_8
private void pictureBox350_Click(object sender, EventArgs e)
{
this.pictureBox350.Image = usezi(ref zi19_8, 19, 8);
win();
}
//19_9
private void pictureBox351_Click(object sender, EventArgs e)
{
this.pictureBox351.Image = usezi(ref zi19_9, 19, 9);
win();
}
//19_10
private void pictureBox352_Click(object sender, EventArgs e)
{
this.pictureBox352.Image = usezi(ref zi19_10, 19, 10);
win();
}
//19_11
private void pictureBox353_Click(object sender, EventArgs e)
{
this.pictureBox353.Image = usezi(ref zi19_11, 19, 11);
win();
}
//19_12
private void pictureBox354_Click(object sender, EventArgs e)
{
this.pictureBox354.Image = usezi(ref zi19_12, 19, 12);
win();
}
//19_13
private void pictureBox355_Click(object sender, EventArgs e)
{
this.pictureBox355.Image = usezi(ref zi19_13, 19, 13);
win();
}
//19_14
private void pictureBox356_Click(object sender, EventArgs e)
{
this.pictureBox356.Image = usezi(ref zi19_14, 19, 14);
win();
}
//19_15
private void pictureBox357_Click(object sender, EventArgs e)
{
this.pictureBox357.Image = usezi(ref zi19_15, 19, 15);
win();
}
//19_16
private void pictureBox358_Click(object sender, EventArgs e)
{
this.pictureBox358.Image = usezi(ref zi19_16, 19, 16);
win();
}
//19_17
private void pictureBox359_Click(object sender, EventArgs e)
{
this.pictureBox359.Image = usezi(ref zi19_17, 19, 17);
win();
}
//19_18
private void pictureBox360_Click(object sender, EventArgs e)
{
this.pictureBox360.Image = usezi(ref zi19_18, 19, 18);
win();
}
//19_19
private void pictureBox361_Click(object sender, EventArgs e)
{
this.pictureBox361.Image = usezi(ref zi19_19, 19, 19);
win();
}
//悔棋按钮
private void button4_Click(object sender, EventArgs e)
{
if(hang == 0 || lie == 0)
{
MessageBox.Show("如果你看到了此对话框,说明你没按照要求玩五子棋。可能的原因如下:\n1.你在没有开始游戏的时候就按下了悔棋。\n2.你在已经悔过两次棋后再悔了一次棋。\n3.由于未知错误,使得hang变量与lie变量没有成功的赋值。");
return;
}
switch (hang)
{
case 1:
switch (lie)
{
case 1:
huiqi(ref zi1_1);
this.pictureBox1.Image = null;
break;
case 2:
huiqi(ref zi1_2);
this.pictureBox2.Image = null;
break;
case 3:
huiqi(ref zi1_3);
this.pictureBox3.Image = null;
break;
case 4:
huiqi(ref zi1_4);
this.pictureBox4.Image = null;
break;
case 5:
huiqi(ref zi1_5);
this.pictureBox5.Image = null;
break;
case 6:
huiqi(ref zi1_6);
this.pictureBox6.Image = null;
break;
case 7:
huiqi(ref zi1_7);
this.pictureBox7.Image = null;
break;
case 8:
huiqi(ref zi1_8);
this.pictureBox8.Image = null;
break;
case 9:
huiqi(ref zi1_9);
this.pictureBox9.Image = null;
break;
case 10:
huiqi(ref zi1_10);
this.pictureBox10.Image = null;
break;
case 11:
huiqi(ref zi1_11);
this.pictureBox11.Image = null;
break;
case 12:
huiqi(ref zi1_12);
this.pictureBox12.Image = null;
break;
case 13:
huiqi(ref zi1_13);
this.pictureBox13.Image = null;
break;
case 14:
huiqi(ref zi1_14);
this.pictureBox14.Image = null;
break;
case 15:
huiqi(ref zi1_15);
this.pictureBox15.Image = null;
break;
case 16:
huiqi(ref zi1_16);
this.pictureBox16.Image = null;
break;
case 17:
huiqi(ref zi1_17);
this.pictureBox17.Image = null;
break;
case 18:
huiqi(ref zi1_18);
this.pictureBox18.Image = null;
break;
case 19:
huiqi(ref zi1_19);
this.pictureBox19.Image = null;
break;
}
break;
case 2:
switch (lie)
{
case 1:
huiqi(ref zi2_1);
this.pictureBox20.Image = null;
break;
case 2:
huiqi(ref zi2_2);
this.pictureBox21.Image = null;
break;
case 3:
huiqi(ref zi2_3);
this.pictureBox22.Image = null;
break;
case 4:
huiqi(ref zi2_4);
this.pictureBox23.Image = null;
break;
case 5:
huiqi(ref zi2_5);
this.pictureBox24.Image = null;
break;
case 6:
huiqi(ref zi2_6);
this.pictureBox25.Image = null;
break;
case 7:
huiqi(ref zi2_7);
this.pictureBox26.Image = null;
break;
case 8:
huiqi(ref zi2_8);
this.pictureBox27.Image = null;
break;
case 9:
huiqi(ref zi2_9);
this.pictureBox28.Image = null;
break;
case 10:
huiqi(ref zi2_10);
this.pictureBox29.Image = null;
break;
case 11:
huiqi(ref zi2_11);
this.pictureBox30.Image = null;
break;
case 12:
huiqi(ref zi2_12);
this.pictureBox31.Image = null;
break;
case 13:
huiqi(ref zi2_13);
this.pictureBox32.Image = null;
break;
case 14:
huiqi(ref zi2_14);
this.pictureBox33.Image = null;
break;
case 15:
huiqi(ref zi2_15);
this.pictureBox34.Image = null;
break;
case 16:
huiqi(ref zi2_16);
this.pictureBox35.Image = null;
break;
case 17:
huiqi(ref zi2_17);
this.pictureBox36.Image = null;
break;
case 18:
huiqi(ref zi2_18);
this.pictureBox37.Image = null;
break;
case 19:
huiqi(ref zi2_19);
this.pictureBox38.Image = null;
break;
}
break;
case 3:
switch (lie)
{
case 1:
huiqi(ref zi3_1);
this.pictureBox39.Image = null;
break;
case 2:
huiqi(ref zi3_2);
this.pictureBox40.Image = null;
break;
case 3:
huiqi(ref zi3_3);
this.pictureBox41.Image = null;
break;
case 4:
huiqi(ref zi3_4);
this.pictureBox42.Image = null;
break;
case 5:
huiqi(ref zi3_5);
this.pictureBox43.Image = null;
break;
case 6:
huiqi(ref zi3_6);
this.pictureBox44.Image = null;
break;
case 7:
huiqi(ref zi3_7);
this.pictureBox45.Image = null;
break;
case 8:
huiqi(ref zi3_8);
this.pictureBox46.Image = null;
break;
case 9:
huiqi(ref zi3_9);
this.pictureBox47.Image = null;
break;
case 10:
huiqi(ref zi3_10);
this.pictureBox48.Image = null;
break;
case 11:
huiqi(ref zi3_11);
this.pictureBox49.Image = null;
break;
case 12:
huiqi(ref zi3_12);
this.pictureBox50.Image = null;
break;
case 13:
huiqi(ref zi3_13);
this.pictureBox51.Image = null;
break;
case 14:
huiqi(ref zi3_14);
this.pictureBox52.Image = null;
break;
case 15:
huiqi(ref zi3_15);
this.pictureBox53.Image = null;
break;
case 16:
huiqi(ref zi3_16);
this.pictureBox54.Image = null;
break;
case 17:
huiqi(ref zi3_17);
this.pictureBox55.Image = null;
break;
case 18:
huiqi(ref zi3_18);
this.pictureBox56.Image = null;
break;
case 19:
huiqi(ref zi3_19);
this.pictureBox57.Image = null;
break;
}
break;
case 4:
switch (lie)
{
case 1:
huiqi(ref zi4_1);
this.pictureBox58.Image = null;
break;
case 2:
huiqi(ref zi4_2);
this.pictureBox59.Image = null;
break;
case 3:
huiqi(ref zi4_3);
this.pictureBox60.Image = null;
break;
case 4:
huiqi(ref zi4_4);
this.pictureBox61.Image = null;
break;
case 5:
huiqi(ref zi4_5);
this.pictureBox62.Image = null;
break;
case 6:
huiqi(ref zi4_6);
this.pictureBox63.Image = null;
break;
case 7:
huiqi(ref zi4_7);
this.pictureBox64.Image = null;
break;
case 8:
huiqi(ref zi4_8);
this.pictureBox65.Image = null;
break;
case 9:
huiqi(ref zi4_9);
this.pictureBox66.Image = null;
break;
case 10:
huiqi(ref zi4_10);
this.pictureBox67.Image = null;
break;
case 11:
huiqi(ref zi4_11);
this.pictureBox68.Image = null;
break;
case 12:
huiqi(ref zi4_12);
this.pictureBox69.Image = null;
break;
case 13:
huiqi(ref zi4_13);
this.pictureBox70.Image = null;
break;
case 14:
huiqi(ref zi4_14);
this.pictureBox71.Image = null;
break;
case 15:
huiqi(ref zi4_15);
this.pictureBox72.Image = null;
break;
case 16:
huiqi(ref zi4_16);
this.pictureBox73.Image = null;
break;
case 17:
huiqi(ref zi4_17);
this.pictureBox74.Image = null;
break;
case 18:
huiqi(ref zi4_18);
this.pictureBox75.Image = null;
break;
case 19:
huiqi(ref zi4_19);
this.pictureBox76.Image = null;
break;
}
break;
case 5:
switch (lie)
{
case 1:
huiqi(ref zi5_1);
this.pictureBox77.Image = null;
break;
case 2:
huiqi(ref zi5_2);
this.pictureBox78.Image = null;
break;
case 3:
huiqi(ref zi5_3);
this.pictureBox79.Image = null;
break;
case 4:
huiqi(ref zi5_4);
this.pictureBox80.Image = null;
break;
case 5:
huiqi(ref zi5_5);
this.pictureBox81.Image = null;
break;
case 6:
huiqi(ref zi5_6);
this.pictureBox82.Image = null;
break;
case 7:
huiqi(ref zi5_7);
this.pictureBox83.Image = null;
break;
case 8:
huiqi(ref zi5_8);
this.pictureBox84.Image = null;
break;
case 9:
huiqi(ref zi5_9);
this.pictureBox85.Image = null;
break;
case 10:
huiqi(ref zi5_10);
this.pictureBox86.Image = null;
break;
case 11:
huiqi(ref zi5_11);
this.pictureBox87.Image = null;
break;
case 12:
huiqi(ref zi5_12);
this.pictureBox88.Image = null;
break;
case 13:
huiqi(ref zi5_13);
this.pictureBox89.Image = null;
break;
case 14:
huiqi(ref zi5_14);
this.pictureBox90.Image = null;
break;
case 15:
huiqi(ref zi5_15);
this.pictureBox91.Image = null;
break;
case 16:
huiqi(ref zi5_16);
this.pictureBox92.Image = null;
break;
case 17:
huiqi(ref zi5_17);
this.pictureBox93.Image = null;
break;
case 18:
huiqi(ref zi5_18);
this.pictureBox94.Image = null;
break;
case 19:
huiqi(ref zi5_19);
this.pictureBox95.Image = null;
break;
}
break;
case 6:
switch (lie)
{
case 1:
huiqi(ref zi6_1);
this.pictureBox96.Image = null;
break;
case 2:
huiqi(ref zi6_2);
this.pictureBox97.Image = null;
break;
case 3:
huiqi(ref zi6_3);
this.pictureBox98.Image = null;
break;
case 4:
huiqi(ref zi6_4);
this.pictureBox99.Image = null;
break;
case 5:
huiqi(ref zi6_5);
this.pictureBox100.Image = null;
break;
case 6:
huiqi(ref zi6_6);
this.pictureBox101.Image = null;
break;
case 7:
huiqi(ref zi6_7);
this.pictureBox102.Image = null;
break;
case 8:
huiqi(ref zi6_8);
this.pictureBox103.Image = null;
break;
case 9:
huiqi(ref zi6_9);
this.pictureBox104.Image = null;
break;
case 10:
huiqi(ref zi6_10);
this.pictureBox105.Image = null;
break;
case 11:
huiqi(ref zi6_11);
this.pictureBox106.Image = null;
break;
case 12:
huiqi(ref zi6_12);
this.pictureBox107.Image = null;
break;
case 13:
huiqi(ref zi6_13);
this.pictureBox108.Image = null;
break;
case 14:
huiqi(ref zi6_14);
this.pictureBox109.Image = null;
break;
case 15:
huiqi(ref zi6_15);
this.pictureBox110.Image = null;
break;
case 16:
huiqi(ref zi6_16);
this.pictureBox111.Image = null;
break;
case 17:
huiqi(ref zi6_17);
this.pictureBox112.Image = null;
break;
case 18:
huiqi(ref zi6_18);
this.pictureBox113.Image = null;
break;
case 19:
huiqi(ref zi6_19);
this.pictureBox114.Image = null;
break;
}
break;
case 7:
switch (lie)
{
case 1:
huiqi(ref zi7_1);
this.pictureBox115.Image = null;
break;
case 2:
huiqi(ref zi7_2);
this.pictureBox116.Image = null;
break;
case 3:
huiqi(ref zi7_3);
this.pictureBox117.Image = null;
break;
case 4:
huiqi(ref zi7_4);
this.pictureBox118.Image = null;
break;
case 5:
huiqi(ref zi7_5);
this.pictureBox119.Image = null;
break;
case 6:
huiqi(ref zi7_6);
this.pictureBox120.Image = null;
break;
case 7:
huiqi(ref zi7_7);
this.pictureBox121.Image = null;
break;
case 8:
huiqi(ref zi7_8);
this.pictureBox122.Image = null;
break;
case 9:
huiqi(ref zi7_9);
this.pictureBox123.Image = null;
break;
case 10:
huiqi(ref zi7_10);
this.pictureBox124.Image = null;
break;
case 11:
huiqi(ref zi7_11);
this.pictureBox125.Image = null;
break;
case 12:
huiqi(ref zi7_12);
this.pictureBox126.Image = null;
break;
case 13:
huiqi(ref zi7_13);
this.pictureBox127.Image = null;
break;
case 14:
huiqi(ref zi7_14);
this.pictureBox128.Image = null;
break;
case 15:
huiqi(ref zi7_15);
this.pictureBox129.Image = null;
break;
case 16:
huiqi(ref zi7_16);
this.pictureBox130.Image = null;
break;
case 17:
huiqi(ref zi7_17);
this.pictureBox131.Image = null;
break;
case 18:
huiqi(ref zi7_18);
this.pictureBox132.Image = null;
break;
case 19:
huiqi(ref zi7_19);
this.pictureBox133.Image = null;
break;
}
break;
case 8:
switch (lie)
{
case 1:
huiqi(ref zi8_1);
this.pictureBox134.Image = null;
break;
case 2:
huiqi(ref zi8_2);
this.pictureBox135.Image = null;
break;
case 3:
huiqi(ref zi8_3);
this.pictureBox136.Image = null;
break;
case 4:
huiqi(ref zi8_4);
this.pictureBox137.Image = null;
break;
case 5:
huiqi(ref zi8_5);
this.pictureBox138.Image = null;
break;
case 6:
huiqi(ref zi8_6);
this.pictureBox139.Image = null;
break;
case 7:
huiqi(ref zi8_7);
this.pictureBox140.Image = null;
break;
case 8:
huiqi(ref zi8_8);
this.pictureBox141.Image = null;
break;
case 9:
huiqi(ref zi8_9);
this.pictureBox142.Image = null;
break;
case 10:
huiqi(ref zi8_10);
this.pictureBox143.Image = null;
break;
case 11:
huiqi(ref zi8_11);
this.pictureBox144.Image = null;
break;
case 12:
huiqi(ref zi8_12);
this.pictureBox145.Image = null;
break;
case 13:
huiqi(ref zi8_13);
this.pictureBox146.Image = null;
break;
case 14:
huiqi(ref zi8_14);
this.pictureBox147.Image = null;
break;
case 15:
huiqi(ref zi8_15);
this.pictureBox148.Image = null;
break;
case 16:
huiqi(ref zi8_16);
this.pictureBox149.Image = null;
break;
case 17:
huiqi(ref zi8_17);
this.pictureBox150.Image = null;
break;
case 18:
huiqi(ref zi8_18);
this.pictureBox151.Image = null;
break;
case 19:
huiqi(ref zi8_19);
this.pictureBox152.Image = null;
break;
}
break;
case 9:
switch (lie)
{
case 1:
huiqi(ref zi9_1);
this.pictureBox153.Image = null;
break;
case 2:
huiqi(ref zi9_2);
this.pictureBox154.Image = null;
break;
case 3:
huiqi(ref zi9_3);
this.pictureBox155.Image = null;
break;
case 4:
huiqi(ref zi9_4);
this.pictureBox156.Image = null;
break;
case 5:
huiqi(ref zi9_5);
this.pictureBox157.Image = null;
break;
case 6:
huiqi(ref zi9_6);
this.pictureBox158.Image = null;
break;
case 7:
huiqi(ref zi9_7);
this.pictureBox159.Image = null;
break;
case 8:
huiqi(ref zi9_8);
this.pictureBox160.Image = null;
break;
case 9:
huiqi(ref zi9_9);
this.pictureBox161.Image = null;
break;
case 10:
huiqi(ref zi9_10);
this.pictureBox162.Image = null;
break;
case 11:
huiqi(ref zi9_11);
this.pictureBox163.Image = null;
break;
case 12:
huiqi(ref zi9_12);
this.pictureBox164.Image = null;
break;
case 13:
huiqi(ref zi9_13);
this.pictureBox165.Image = null;
break;
case 14:
huiqi(ref zi9_14);
this.pictureBox166.Image = null;
break;
case 15:
huiqi(ref zi9_15);
this.pictureBox167.Image = null;
break;
case 16:
huiqi(ref zi9_16);
this.pictureBox168.Image = null;
break;
case 17:
huiqi(ref zi9_17);
this.pictureBox169.Image = null;
break;
case 18:
huiqi(ref zi9_18);
this.pictureBox170.Image = null;
break;
case 19:
huiqi(ref zi9_19);
this.pictureBox171.Image = null;
break;
}
break;
case 10:
switch (lie)
{
case 1:
huiqi(ref zi10_1);
this.pictureBox172.Image = null;
break;
case 2:
huiqi(ref zi10_2);
this.pictureBox173.Image = null;
break;
case 3:
huiqi(ref zi10_3);
this.pictureBox174.Image = null;
break;
case 4:
huiqi(ref zi10_4);
this.pictureBox175.Image = null;
break;
case 5:
huiqi(ref zi10_5);
this.pictureBox176.Image = null;
break;
case 6:
huiqi(ref zi10_6);
this.pictureBox177.Image = null;
break;
case 7:
huiqi(ref zi10_7);
this.pictureBox178.Image = null;
break;
case 8:
huiqi(ref zi10_8);
this.pictureBox179.Image = null;
break;
case 9:
huiqi(ref zi10_9);
this.pictureBox180.Image = null;
break;
case 10:
huiqi(ref zi10_10);
this.pictureBox181.Image = null;
break;
case 11:
huiqi(ref zi10_11);
this.pictureBox182.Image = null;
break;
case 12:
huiqi(ref zi10_12);
this.pictureBox183.Image = null;
break;
case 13:
huiqi(ref zi10_13);
this.pictureBox184.Image = null;
break;
case 14:
huiqi(ref zi10_14);
this.pictureBox185.Image = null;
break;
case 15:
huiqi(ref zi10_15);
this.pictureBox186.Image = null;
break;
case 16:
huiqi(ref zi10_16);
this.pictureBox187.Image = null;
break;
case 17:
huiqi(ref zi10_17);
this.pictureBox188.Image = null;
break;
case 18:
huiqi(ref zi10_18);
this.pictureBox189.Image = null;
break;
case 19:
huiqi(ref zi10_19);
this.pictureBox190.Image = null;
break;
}
break;
case 11:
switch (lie)
{
case 1:
huiqi(ref zi11_1);
this.pictureBox191.Image = null;
break;
case 2:
huiqi(ref zi11_2);
this.pictureBox192.Image = null;
break;
case 3:
huiqi(ref zi11_3);
this.pictureBox193.Image = null;
break;
case 4:
huiqi(ref zi11_4);
this.pictureBox194.Image = null;
break;
case 5:
huiqi(ref zi11_5);
this.pictureBox195.Image = null;
break;
case 6:
huiqi(ref zi11_6);
this.pictureBox196.Image = null;
break;
case 7:
huiqi(ref zi11_7);
this.pictureBox197.Image = null;
break;
case 8:
huiqi(ref zi11_8);
this.pictureBox198.Image = null;
break;
case 9:
huiqi(ref zi11_9);
this.pictureBox199.Image = null;
break;
case 10:
huiqi(ref zi11_10);
this.pictureBox200.Image = null;
break;
case 11:
huiqi(ref zi11_11);
this.pictureBox201.Image = null;
break;
case 12:
huiqi(ref zi11_12);
this.pictureBox202.Image = null;
break;
case 13:
huiqi(ref zi11_13);
this.pictureBox203.Image = null;
break;
case 14:
huiqi(ref zi11_14);
this.pictureBox204.Image = null;
break;
case 15:
huiqi(ref zi11_15);
this.pictureBox205.Image = null;
break;
case 16:
huiqi(ref zi11_16);
this.pictureBox206.Image = null;
break;
case 17:
huiqi(ref zi11_17);
this.pictureBox207.Image = null;
break;
case 18:
huiqi(ref zi11_18);
this.pictureBox208.Image = null;
break;
case 19:
huiqi(ref zi11_19);
this.pictureBox209.Image = null;
break;
}
break;
case 12:
switch (lie)
{
case 1:
huiqi(ref zi12_1);
this.pictureBox210.Image = null;
break;
case 2:
huiqi(ref zi12_2);
this.pictureBox211.Image = null;
break;
case 3:
huiqi(ref zi12_3);
this.pictureBox212.Image = null;
break;
case 4:
huiqi(ref zi12_4);
this.pictureBox213.Image = null;
break;
case 5:
huiqi(ref zi12_5);
this.pictureBox214.Image = null;
break;
case 6:
huiqi(ref zi12_6);
this.pictureBox215.Image = null;
break;
case 7:
huiqi(ref zi12_7);
this.pictureBox216.Image = null;
break;
case 8:
huiqi(ref zi12_8);
this.pictureBox217.Image = null;
break;
case 9:
huiqi(ref zi12_9);
this.pictureBox218.Image = null;
break;
case 10:
huiqi(ref zi12_10);
this.pictureBox219.Image = null;
break;
case 11:
huiqi(ref zi12_11);
this.pictureBox220.Image = null;
break;
case 12:
huiqi(ref zi12_12);
this.pictureBox221.Image = null;
break;
case 13:
huiqi(ref zi12_13);
this.pictureBox222.Image = null;
break;
case 14:
huiqi(ref zi12_14);
this.pictureBox223.Image = null;
break;
case 15:
huiqi(ref zi12_15);
this.pictureBox224.Image = null;
break;
case 16:
huiqi(ref zi12_16);
this.pictureBox225.Image = null;
break;
case 17:
huiqi(ref zi12_17);
this.pictureBox226.Image = null;
break;
case 18:
huiqi(ref zi12_18);
this.pictureBox227.Image = null;
break;
case 19:
huiqi(ref zi12_19);
this.pictureBox228.Image = null;
break;
}
break;
case 13:
switch (lie)
{
case 1:
huiqi(ref zi13_1);
this.pictureBox229.Image = null;
break;
case 2:
huiqi(ref zi13_2);
this.pictureBox230.Image = null;
break;
case 3:
huiqi(ref zi13_3);
this.pictureBox231.Image = null;
break;
case 4:
huiqi(ref zi13_4);
this.pictureBox232.Image = null;
break;
case 5:
huiqi(ref zi13_5);
this.pictureBox233.Image = null;
break;
case 6:
huiqi(ref zi13_6);
this.pictureBox234.Image = null;
break;
case 7:
huiqi(ref zi13_7);
this.pictureBox235.Image = null;
break;
case 8:
huiqi(ref zi13_8);
this.pictureBox236.Image = null;
break;
case 9:
huiqi(ref zi13_9);
this.pictureBox237.Image = null;
break;
case 10:
huiqi(ref zi13_10);
this.pictureBox238.Image = null;
break;
case 11:
huiqi(ref zi13_11);
this.pictureBox239.Image = null;
break;
case 12:
huiqi(ref zi13_12);
this.pictureBox240.Image = null;
break;
case 13:
huiqi(ref zi13_13);
this.pictureBox241.Image = null;
break;
case 14:
huiqi(ref zi13_14);
this.pictureBox242.Image = null;
break;
case 15:
huiqi(ref zi13_15);
this.pictureBox243.Image = null;
break;
case 16:
huiqi(ref zi13_16);
this.pictureBox244.Image = null;
break;
case 17:
huiqi(ref zi13_17);
this.pictureBox245.Image = null;
break;
case 18:
huiqi(ref zi13_18);
this.pictureBox246.Image = null;
break;
case 19:
huiqi(ref zi13_19);
this.pictureBox247.Image = null;
break;
}
break;
case 14:
switch (lie)
{
case 1:
huiqi(ref zi14_1);
this.pictureBox248.Image = null;
break;
case 2:
huiqi(ref zi14_2);
this.pictureBox249.Image = null;
break;
case 3:
huiqi(ref zi14_3);
this.pictureBox250.Image = null;
break;
case 4:
huiqi(ref zi14_4);
this.pictureBox251.Image = null;
break;
case 5:
huiqi(ref zi14_5);
this.pictureBox252.Image = null;
break;
case 6:
huiqi(ref zi14_6);
this.pictureBox253.Image = null;
break;
case 7:
huiqi(ref zi14_7);
this.pictureBox254.Image = null;
break;
case 8:
huiqi(ref zi14_8);
this.pictureBox255.Image = null;
break;
case 9:
huiqi(ref zi14_9);
this.pictureBox256.Image = null;
break;
case 10:
huiqi(ref zi14_10);
this.pictureBox257.Image = null;
break;
case 11:
huiqi(ref zi14_11);
this.pictureBox258.Image = null;
break;
case 12:
huiqi(ref zi14_12);
this.pictureBox259.Image = null;
break;
case 13:
huiqi(ref zi14_13);
this.pictureBox260.Image = null;
break;
case 14:
huiqi(ref zi14_14);
this.pictureBox261.Image = null;
break;
case 15:
huiqi(ref zi14_15);
this.pictureBox262.Image = null;
break;
case 16:
huiqi(ref zi14_16);
this.pictureBox263.Image = null;
break;
case 17:
huiqi(ref zi14_17);
this.pictureBox264.Image = null;
break;
case 18:
huiqi(ref zi14_18);
this.pictureBox265.Image = null;
break;
case 19:
huiqi(ref zi14_19);
this.pictureBox266.Image = null;
break;
}
break;
case 15:
switch (lie)
{
case 1:
huiqi(ref zi15_1);
this.pictureBox267.Image = null;
break;
case 2:
huiqi(ref zi15_2);
this.pictureBox268.Image = null;
break;
case 3:
huiqi(ref zi15_3);
this.pictureBox269.Image = null;
break;
case 4:
huiqi(ref zi15_4);
this.pictureBox270.Image = null;
break;
case 5:
huiqi(ref zi15_5);
this.pictureBox271.Image = null;
break;
case 6:
huiqi(ref zi15_6);
this.pictureBox272.Image = null;
break;
case 7:
huiqi(ref zi15_7);
this.pictureBox273.Image = null;
break;
case 8:
huiqi(ref zi15_8);
this.pictureBox274.Image = null;
break;
case 9:
huiqi(ref zi15_9);
this.pictureBox275.Image = null;
break;
case 10:
huiqi(ref zi15_10);
this.pictureBox276.Image = null;
break;
case 11:
huiqi(ref zi15_11);
this.pictureBox277.Image = null;
break;
case 12:
huiqi(ref zi15_12);
this.pictureBox278.Image = null;
break;
case 13:
huiqi(ref zi15_13);
this.pictureBox279.Image = null;
break;
case 14:
huiqi(ref zi15_14);
this.pictureBox280.Image = null;
break;
case 15:
huiqi(ref zi15_15);
this.pictureBox281.Image = null;
break;
case 16:
huiqi(ref zi15_16);
this.pictureBox282.Image = null;
break;
case 17:
huiqi(ref zi15_17);
this.pictureBox283.Image = null;
break;
case 18:
huiqi(ref zi15_18);
this.pictureBox284.Image = null;
break;
case 19:
huiqi(ref zi15_19);
this.pictureBox285.Image = null;
break;
}
break;
case 16:
switch (lie)
{
case 1:
huiqi(ref zi16_1);
this.pictureBox286.Image = null;
break;
case 2:
huiqi(ref zi16_2);
this.pictureBox287.Image = null;
break;
case 3:
huiqi(ref zi16_3);
this.pictureBox288.Image = null;
break;
case 4:
huiqi(ref zi16_4);
this.pictureBox289.Image = null;
break;
case 5:
huiqi(ref zi16_5);
this.pictureBox290.Image = null;
break;
case 6:
huiqi(ref zi16_6);
this.pictureBox291.Image = null;
break;
case 7:
huiqi(ref zi16_7);
this.pictureBox292.Image = null;
break;
case 8:
huiqi(ref zi16_8);
this.pictureBox293.Image = null;
break;
case 9:
huiqi(ref zi16_9);
this.pictureBox294.Image = null;
break;
case 10:
huiqi(ref zi16_10);
this.pictureBox295.Image = null;
break;
case 11:
huiqi(ref zi16_11);
this.pictureBox296.Image = null;
break;
case 12:
huiqi(ref zi16_12);
this.pictureBox297.Image = null;
break;
case 13:
huiqi(ref zi16_13);
this.pictureBox298.Image = null;
break;
case 14:
huiqi(ref zi16_14);
this.pictureBox299.Image = null;
break;
case 15:
huiqi(ref zi16_15);
this.pictureBox300.Image = null;
break;
case 16:
huiqi(ref zi16_16);
this.pictureBox301.Image = null;
break;
case 17:
huiqi(ref zi16_17);
this.pictureBox302.Image = null;
break;
case 18:
huiqi(ref zi16_18);
this.pictureBox303.Image = null;
break;
case 19:
huiqi(ref zi16_19);
this.pictureBox304.Image = null;
break;
}
break;
case 17:
switch (lie)
{
case 1:
huiqi(ref zi17_1);
this.pictureBox305.Image = null;
break;
case 2:
huiqi(ref zi17_2);
this.pictureBox306.Image = null;
break;
case 3:
huiqi(ref zi17_3);
this.pictureBox307.Image = null;
break;
case 4:
huiqi(ref zi17_4);
this.pictureBox308.Image = null;
break;
case 5:
huiqi(ref zi17_5);
this.pictureBox309.Image = null;
break;
case 6:
huiqi(ref zi17_6);
this.pictureBox310.Image = null;
break;
case 7:
huiqi(ref zi17_7);
this.pictureBox311.Image = null;
break;
case 8:
huiqi(ref zi17_8);
this.pictureBox312.Image = null;
break;
case 9:
huiqi(ref zi17_9);
this.pictureBox313.Image = null;
break;
case 10:
huiqi(ref zi17_10);
this.pictureBox314.Image = null;
break;
case 11:
huiqi(ref zi17_11);
this.pictureBox315.Image = null;
break;
case 12:
huiqi(ref zi17_12);
this.pictureBox316.Image = null;
break;
case 13:
huiqi(ref zi17_13);
this.pictureBox317.Image = null;
break;
case 14:
huiqi(ref zi17_14);
this.pictureBox318.Image = null;
break;
case 15:
huiqi(ref zi17_15);
this.pictureBox319.Image = null;
break;
case 16:
huiqi(ref zi17_16);
this.pictureBox320.Image = null;
break;
case 17:
huiqi(ref zi17_17);
this.pictureBox321.Image = null;
break;
case 18:
huiqi(ref zi17_18);
this.pictureBox322.Image = null;
break;
case 19:
huiqi(ref zi17_19);
this.pictureBox323.Image = null;
break;
}
break;
case 18:
switch (lie)
{
case 1:
huiqi(ref zi18_1);
this.pictureBox324.Image = null;
break;
case 2:
huiqi(ref zi18_2);
this.pictureBox325.Image = null;
break;
case 3:
huiqi(ref zi18_3);
this.pictureBox326.Image = null;
break;
case 4:
huiqi(ref zi18_4);
this.pictureBox327.Image = null;
break;
case 5:
huiqi(ref zi18_5);
this.pictureBox328.Image = null;
break;
case 6:
huiqi(ref zi18_6);
this.pictureBox329.Image = null;
break;
case 7:
huiqi(ref zi18_7);
this.pictureBox330.Image = null;
break;
case 8:
huiqi(ref zi18_8);
this.pictureBox331.Image = null;
break;
case 9:
huiqi(ref zi18_9);
this.pictureBox332.Image = null;
break;
case 10:
huiqi(ref zi18_10);
this.pictureBox333.Image = null;
break;
case 11:
huiqi(ref zi18_11);
this.pictureBox334.Image = null;
break;
case 12:
huiqi(ref zi18_12);
this.pictureBox335.Image = null;
break;
case 13:
huiqi(ref zi18_13);
this.pictureBox336.Image = null;
break;
case 14:
huiqi(ref zi18_14);
this.pictureBox337.Image = null;
break;
case 15:
huiqi(ref zi18_15);
this.pictureBox338.Image = null;
break;
case 16:
huiqi(ref zi18_16);
this.pictureBox339.Image = null;
break;
case 17:
huiqi(ref zi18_17);
this.pictureBox340.Image = null;
break;
case 18:
huiqi(ref zi18_18);
this.pictureBox341.Image = null;
break;
case 19:
huiqi(ref zi18_19);
this.pictureBox342.Image = null;
break;
}
break;
case 19:
switch (lie)
{
case 1:
huiqi(ref zi19_1);
this.pictureBox343.Image = null;
break;
case 2:
huiqi(ref zi19_2);
this.pictureBox344.Image = null;
break;
case 3:
huiqi(ref zi19_3);
this.pictureBox345.Image = null;
break;
case 4:
huiqi(ref zi19_4);
this.pictureBox346.Image = null;
break;
case 5:
huiqi(ref zi19_5);
this.pictureBox347.Image = null;
break;
case 6:
huiqi(ref zi19_6);
this.pictureBox348.Image = null;
break;
case 7:
huiqi(ref zi19_7);
this.pictureBox349.Image = null;
break;
case 8:
huiqi(ref zi19_8);
this.pictureBox350.Image = null;
break;
case 9:
huiqi(ref zi19_9);
this.pictureBox351.Image = null;
break;
case 10:
huiqi(ref zi19_10);
this.pictureBox352.Image = null;
break;
case 11:
huiqi(ref zi19_11);
this.pictureBox353.Image = null;
break;
case 12:
huiqi(ref zi19_12);
this.pictureBox354.Image = null;
break;
case 13:
huiqi(ref zi19_13);
this.pictureBox355.Image = null;
break;
case 14:
huiqi(ref zi19_14);
this.pictureBox356.Image = null;
break;
case 15:
huiqi(ref zi19_15);
this.pictureBox357.Image = null;
break;
case 16:
huiqi(ref zi19_16);
this.pictureBox358.Image = null;
break;
case 17:
huiqi(ref zi19_17);
this.pictureBox359.Image = null;
break;
case 18:
huiqi(ref zi19_18);
this.pictureBox360.Image = null;
break;
case 19:
huiqi(ref zi19_19);
this.pictureBox361.Image = null;
break;
}
break;
}
hang = hang_temp;
lie = lie_temp;
hang_temp = 0;
lie_temp = 0;
}
//专用于悔棋的方法。
private void huiqi(ref int zi)
{
zi = 0;
this.hang = 0;
this.lie = 0;
if(lun == 1)
{
this.picturelun.Image = this.picturewhite.Image;
lun = -1;
}
else
{
this.picturelun.Image = this.pictureblack.Image;
lun = 1;
}
Release();
}
//方法,参数zi为传递格子位置数。
//当lun为1时是黑子走,lun为-1时是白子走
private Image usezi(ref int zi, int hang, int lie)
{
if(!panduan)
{
if (lun == 1)
{
if (zi == 0)
{
lun = -1;
zi = 1;
hang_temp = this.hang;
lie_temp = this.lie;
this.hang = hang;
this.lie = lie;
this.picturelun.Image = this.picturewhite.Image;
return this.pictureblack.Image;
}
else
{
MessageBox.Show("这个位置已经被走过了,请换个位置走吧!", "已被走过");
if (zi == 1)
{
return this.pictureblack.Image;
}
else
{
return this.picturewhite.Image;
}
}
}
else if(lun == -1)
{
if (zi == 0)
{
lun = 1;
zi = -1;
hang_temp = this.hang;
lie_temp = this.lie;
this.hang = hang;
this.lie = lie;
this.picturelun.Image = this.pictureblack.Image;
return this.picturewhite.Image;
}
else
{
MessageBox.Show("这个位置已经被走过了,请换个位置走吧!", "已被走过");
if (zi == 1)
{
return this.pictureblack.Image;
}
else
{
return this.picturewhite.Image;
}
}
}
else
{
MessageBox.Show("程序在判断下棋的位置出现错误,请立即将此错误报告给作者。", "出现错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
Application.Exit();
return null;
}
}
else
{
if (lun == 1)
{
if (zi == 0)
{
lun = -1;
zi = 1;
this.picturelun.Image = this.picturewhite.Image;
return this.pictureblack.Image;
}
else
{
zi = 0;
return null;
}
}
else if(lun == -1)
{
if (zi == 0)
{
lun = 1;
zi = -1;
this.picturelun.Image = this.pictureblack.Image;
return this.picturewhite.Image;
}
else
{
zi = 0;
return null;
}
}
else
{
MessageBox.Show("程序在判断下棋的位置出现错误,请立即将此错误报告给作者。", "出现错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
Application.Exit();
return null;
}
}
}
//判断是否胜利的方法
//内容中的lun指的是目前轮到哪个玩家走,-1是黑子,1是白子
private void win()
{
int[][] ds = { //获取对应子的数组
new int[] { zi1_1, zi1_2, zi1_3, zi1_4, zi1_5, zi1_6, zi1_7, zi1_8, zi1_9, zi1_10, zi1_11, zi1_12, zi1_13, zi1_14, zi1_15, zi1_16, zi1_17, zi1_18, zi1_19 },
new int[] { zi2_1, zi2_2, zi2_3, zi2_4, zi2_5, zi2_6, zi2_7, zi2_8, zi2_9, zi2_10, zi2_11, zi2_12, zi2_13, zi2_14, zi2_15, zi2_16, zi2_17, zi2_18, zi2_19 },
new int[] { zi3_1, zi3_2, zi3_3, zi3_4, zi3_5, zi3_6, zi3_7, zi3_8, zi3_9, zi3_10, zi3_11, zi3_12, zi3_13, zi3_14, zi3_15, zi3_16, zi3_17, zi3_18, zi3_19 },
new int[] { zi4_1, zi4_2, zi4_3, zi4_4, zi4_5, zi4_6, zi4_7, zi4_8, zi4_9, zi4_10, zi4_11, zi4_12, zi4_13, zi4_14, zi4_15, zi4_16, zi4_17, zi4_18, zi4_19 },
new int[] { zi5_1, zi5_2, zi5_3, zi5_4, zi5_5, zi5_6, zi5_7, zi5_8, zi5_9, zi5_10, zi5_11, zi5_12, zi5_13, zi5_14, zi5_15, zi5_16, zi5_17, zi5_18, zi5_19 },
new int[] { zi6_1, zi6_2, zi6_3, zi6_4, zi6_5, zi6_6, zi6_7, zi6_8, zi6_9, zi6_10, zi6_11, zi6_12, zi6_13, zi6_14, zi6_15, zi6_16, zi6_17, zi6_18, zi6_19 },
new int[] { zi7_1, zi7_2, zi7_3, zi7_4, zi7_5, zi7_6, zi7_7, zi7_8, zi7_9, zi7_10, zi7_11, zi7_12, zi7_13, zi7_14, zi7_15, zi7_16, zi7_17, zi7_18, zi7_19 },
new int[] { zi8_1, zi8_2, zi8_3, zi8_4, zi8_5, zi8_6, zi8_7, zi8_8, zi8_9, zi8_10, zi8_11, zi8_12, zi8_13, zi8_14, zi8_15, zi8_16, zi8_17, zi8_18, zi8_19 },
new int[] { zi9_1, zi9_2, zi9_3, zi9_4, zi9_5, zi9_6, zi9_7, zi9_8, zi9_9, zi9_10, zi9_11, zi9_12, zi9_13, zi9_14, zi9_15, zi9_16, zi9_17, zi9_18, zi9_19 },
new int[] { zi10_1, zi10_2, zi10_3, zi10_4, zi10_5, zi10_6, zi10_7, zi10_8, zi10_9, zi10_10, zi10_11, zi10_12, zi10_13, zi10_14, zi10_15, zi10_16, zi10_17, zi10_18, zi10_19 },
new int[] { zi11_1, zi11_2, zi11_3, zi11_4, zi11_5, zi11_6, zi11_7, zi11_8, zi11_9, zi11_10, zi11_11, zi11_12, zi11_13, zi11_14, zi11_15, zi11_16, zi11_17, zi11_18, zi11_19 },
new int[] { zi12_1, zi12_2, zi12_3, zi12_4, zi12_5, zi12_6, zi12_7, zi12_8, zi12_9, zi12_10, zi12_11, zi12_12, zi12_13, zi12_14, zi12_15, zi12_16, zi12_17, zi12_18, zi12_19 },
new int[] { zi13_1, zi13_2, zi13_3, zi13_4, zi13_5, zi13_6, zi13_7, zi13_8, zi13_9, zi13_10, zi13_11, zi13_12, zi13_13, zi13_14, zi13_15, zi13_16, zi13_17, zi13_18, zi13_19 },
new int[] { zi14_1, zi14_2, zi14_3, zi14_4, zi14_5, zi14_6, zi14_7, zi14_8, zi14_9, zi14_10, zi14_11, zi14_12, zi14_13, zi14_14, zi14_15, zi14_16, zi14_17, zi14_18, zi14_19 },
new int[] { zi15_1, zi15_2, zi15_3, zi15_4, zi15_5, zi15_6, zi15_7, zi15_8, zi15_9, zi15_10, zi15_11, zi15_12, zi15_13, zi15_14, zi15_15, zi15_16, zi15_17, zi15_18, zi15_19 },
new int[] { zi16_1, zi16_2, zi16_3, zi16_4, zi16_5, zi16_6, zi16_7, zi16_8, zi16_9, zi16_10, zi16_11, zi16_12, zi16_13, zi16_14, zi16_15, zi16_16, zi16_17, zi16_18, zi16_19 },
new int[] { zi17_1, zi17_2, zi17_3, zi17_4, zi17_5, zi17_6, zi17_7, zi17_8, zi17_9, zi17_10, zi17_11, zi17_12, zi17_13, zi17_14, zi17_15, zi17_16, zi17_17, zi17_18, zi17_19 },
new int[] { zi18_1, zi18_2, zi18_3, zi18_4, zi18_5, zi18_6, zi18_7, zi18_8, zi18_9, zi18_10, zi18_11, zi18_12, zi18_13, zi18_14, zi18_15, zi18_16, zi18_17, zi18_18, zi18_19 },
new int[] { zi19_1, zi19_2, zi19_3, zi19_4, zi19_5, zi19_6, zi19_7, zi19_8, zi19_9, zi19_10, zi19_11, zi19_12, zi19_13, zi19_14, zi19_15, zi19_16, zi19_17, zi19_18, zi19_19 }
};
if (!panduan)
{
bool db = false; //判断此时是否应该胜利//判断横竖的循环体
for (int t1 = 0; t1
{
for (int t2 = 0; t2
{
//横
if (ds[t1][t2] == -lun && ds[t1][t2 + 1] == -lun && ds[t1][t2 + 2] == -lun && ds[t1][t2 + 3] == -lun && ds[t1][t2 + 4] == -lun)
{
if (ds[t1][t2] == ds[t1][t2 + 1] && ds[t1][t2 + 1] == ds[t1][t2 + 2] && ds[t1][t2 + 2] == ds[t1][t2 + 3] && ds[t1][t2 + 3] == ds[t1][t2 + 4])
{
db = true;
goto ins;
}
}
//竖
if (ds[t2][t1] == -lun && ds[t2 + 1][t1] == -lun && ds[t2 + 2][t1] == -lun && ds[t2 + 3][t1] == -lun && ds[t2 + 4][t1] == -lun)
{
if (ds[t2][t1] == ds[t2 + 1][t1] && ds[t2 + 1][t1] == ds[t2 + 2][t1] && ds[t2 + 2][t1] == ds[t2 + 3][t1] && ds[t2 + 3][t1] == ds[t2 + 4][t1])
{
db = true;
goto ins;
}
}
}
}
//判断斜的循环体
for (int t1 = 0; t1
{
//右斜
for (int t2 = 0; t2
{
if (ds[t1][t2] == -lun && ds[t1 + 1][t2 + 1] == -lun && ds[t1 + 2][t2 + 2] == -lun && ds[t1 + 3][t2 + 3] == -lun && ds[t1 + 4][t2 + 4] == -lun)
{
if (ds[t1][t2] == ds[t1 + 1][t2 + 1] && ds[t1 + 1][t2 + 1] == ds[t1 + 2][t2 + 2] && ds[t1 + 2][t2 + 2] == ds[t1 + 3][t2 + 3] && ds[t1 + 3][t2 + 3] == ds[t1 + 4][t2 + 4])
{
db = true;
goto ins;
}
}
}
//左斜
for (int t2 = 18; t2 > 3; t2--)
{
if (ds[t1][t2] == -lun && ds[t1 + 1][t2 - 1] == -lun && ds[t1 + 2][t2 - 2] == -lun && ds[t1 + 3][t2 - 3] == -lun && ds[t1 + 4][t2 - 4] == -lun)
{
if (ds[t1][t2] == ds[t1 + 1][t2 - 1] && ds[t1 + 1][t2 - 1] == ds[t1 + 2][t2 - 2] && ds[t1 + 2][t2 - 2] == ds[t1 + 3][t2 - 3] && ds[t1 + 3][t2 - 3] == ds[t1 + 4][t2 - 4])
{
db = true;
goto ins;
}
}
}
}
ins:
if (db)
{
if (lun == 1)
{
MessageBox.Show("恭喜白棋赢了!", "恭喜胜利!");
LockUp();
return;
}
else if (lun == -1)
{
MessageBox.Show("恭喜黑棋赢了!", "恭喜胜利!");
LockUp();
return;
}
else
{
MessageBox.Show("程序在判断是否赢棋的位置出现错误,请立即将此错误报告给作者。", "出现错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
Application.Exit();
}
}
}
int jishu = 0;
foreach(int[] t1 in ds)
{
foreach(int t2 in t1)
{
if(t2 != 0)
{
jishu++;
}
}
}
if(jishu == 361)
{
MessageBox.Show("你已经下满了整个棋盘,和棋啦!", "和棋啦!");
LockUp();
}
}
//棋盘锁定
private void LockUp()
{
this.pictureBox1.Enabled = false;
this.pictureBox2.Enabled = false;
this.pictureBox3.Enabled = false;
this.pictureBox4.Enabled = false;
this.pictureBox5.Enabled = false;
this.pictureBox6.Enabled = false;
this.pictureBox7.Enabled = false;
this.pictureBox8.Enabled = false;
this.pictureBox9.Enabled = false;
this.pictureBox10.Enabled = false;
this.pictureBox11.Enabled = false;
this.pictureBox12.Enabled = false;
this.pictureBox13.Enabled = false;
this.pictureBox14.Enabled = false;
this.pictureBox15.Enabled = false;
this.pictureBox16.Enabled = false;
this.pictureBox17.Enabled = false;
this.pictureBox18.Enabled = false;
this.pictureBox19.Enabled = false;
this.pictureBox20.Enabled = false;
this.pictureBox21.Enabled = false;
this.pictureBox22.Enabled = false;
this.pictureBox23.Enabled = false;
this.pictureBox24.Enabled = false;
this.pictureBox25.Enabled = false;
this.pictureBox26.Enabled = false;
this.pictureBox27.Enabled = false;
this.pictureBox28.Enabled = false;
this.pictureBox29.Enabled = false;
this.pictureBox30.Enabled = false;
this.pictureBox31.Enabled = false;
this.pictureBox32.Enabled = false;
this.pictureBox33.Enabled = false;
this.pictureBox34.Enabled = false;
this.pictureBox35.Enabled = false;
this.pictureBox36.Enabled = false;
this.pictureBox37.Enabled = false;
this.pictureBox38.Enabled = false;
this.pictureBox39.Enabled = false;
this.pictureBox40.Enabled = false;
this.pictureBox41.Enabled = false;
this.pictureBox42.Enabled = false;
this.pictureBox43.Enabled = false;
this.pictureBox44.Enabled = false;
this.pictureBox45.Enabled = false;
this.pictureBox46.Enabled = false;
this.pictureBox47.Enabled = false;
this.pictureBox48.Enabled = false;
this.pictureBox49.Enabled = false;
this.pictureBox50.Enabled = false;
this.pictureBox51.Enabled = false;
this.pictureBox52.Enabled = false;
this.pictureBox53.Enabled = false;
this.pictureBox54.Enabled = false;
this.pictureBox55.Enabled = false;
this.pictureBox56.Enabled = false;
this.pictureBox57.Enabled = false;
this.pictureBox58.Enabled = false;
this.pictureBox59.Enabled = false;
this.pictureBox60.Enabled = false;
this.pictureBox61.Enabled = false;
this.pictureBox62.Enabled = false;
this.pictureBox63.Enabled = false;
this.pictureBox64.Enabled = false;
this.pictureBox65.Enabled = false;
this.pictureBox66.Enabled = false;
this.pictureBox67.Enabled = false;
this.pictureBox68.Enabled = false;
this.pictureBox69.Enabled = false;
this.pictureBox70.Enabled = false;
this.pictureBox71.Enabled = false;
this.pictureBox72.Enabled = false;
this.pictureBox73.Enabled = false;
this.pictureBox74.Enabled = false;
this.pictureBox75.Enabled = false;
this.pictureBox76.Enabled = false;
this.pictureBox77.Enabled = false;
this.pictureBox78.Enabled = false;
this.pictureBox79.Enabled = false;
this.pictureBox80.Enabled = false;
this.pictureBox81.Enabled = false;
this.pictureBox82.Enabled = false;
this.pictureBox83.Enabled = false;
this.pictureBox84.Enabled = false;
this.pictureBox85.Enabled = false;
this.pictureBox86.Enabled = false;
this.pictureBox87.Enabled = false;
this.pictureBox88.Enabled = false;
this.pictureBox89.Enabled = false;
this.pictureBox90.Enabled = false;
this.pictureBox91.Enabled = false;
this.pictureBox92.Enabled = false;
this.pictureBox93.Enabled = false;
this.pictureBox94.Enabled = false;
this.pictureBox95.Enabled = false;
this.pictureBox96.Enabled = false;
this.pictureBox97.Enabled = false;
this.pictureBox98.Enabled = false;
this.pictureBox99.Enabled = false;
this.pictureBox100.Enabled = false;
this.pictureBox101.Enabled = false;
this.pictureBox102.Enabled = false;
this.pictureBox103.Enabled = false;
this.pictureBox104.Enabled = false;
this.pictureBox105.Enabled = false;
this.pictureBox106.Enabled = false;
this.pictureBox107.Enabled = false;
this.pictureBox108.Enabled = false;
this.pictureBox109.Enabled = false;
this.pictureBox110.Enabled = false;
this.pictureBox111.Enabled = false;
this.pictureBox112.Enabled = false;
this.pictureBox113.Enabled = false;
this.pictureBox114.Enabled = false;
this.pictureBox115.Enabled = false;
this.pictureBox116.Enabled = false;
this.pictureBox117.Enabled = false;
this.pictureBox118.Enabled = false;
this.pictureBox119.Enabled = false;
this.pictureBox120.Enabled = false;
this.pictureBox121.Enabled = false;
this.pictureBox122.Enabled = false;
this.pictureBox123.Enabled = false;
this.pictureBox124.Enabled = false;
this.pictureBox125.Enabled = false;
this.pictureBox126.Enabled = false;
this.pictureBox127.Enabled = false;
this.pictureBox128.Enabled = false;
this.pictureBox129.Enabled = false;
this.pictureBox130.Enabled = false;
this.pictureBox131.Enabled = false;
this.pictureBox132.Enabled = false;
this.pictureBox133.Enabled = false;
this.pictureBox134.Enabled = false;
this.pictureBox135.Enabled = false;
this.pictureBox136.Enabled = false;
this.pictureBox137.Enabled = false;
this.pictureBox138.Enabled = false;
this.pictureBox139.Enabled = false;
this.pictureBox140.Enabled = false;
this.pictureBox141.Enabled = false;
this.pictureBox142.Enabled = false;
this.pictureBox143.Enabled = false;
this.pictureBox144.Enabled = false;
this.pictureBox145.Enabled = false;
this.pictureBox146.Enabled = false;
this.pictureBox147.Enabled = false;
this.pictureBox148.Enabled = false;
this.pictureBox149.Enabled = false;
this.pictureBox150.Enabled = false;
this.pictureBox151.Enabled = false;
this.pictureBox152.Enabled = false;
this.pictureBox153.Enabled = false;
this.pictureBox154.Enabled = false;
this.pictureBox155.Enabled = false;
this.pictureBox156.Enabled = false;
this.pictureBox157.Enabled = false;
this.pictureBox158.Enabled = false;
this.pictureBox159.Enabled = false;
this.pictureBox160.Enabled = false;
this.pictureBox161.Enabled = false;
this.pictureBox162.Enabled = false;
this.pictureBox163.Enabled = false;
this.pictureBox164.Enabled = false;
this.pictureBox165.Enabled = false;
this.pictureBox166.Enabled = false;
this.pictureBox167.Enabled = false;
this.pictureBox168.Enabled = false;
this.pictureBox169.Enabled = false;
this.pictureBox170.Enabled = false;
this.pictureBox171.Enabled = false;
this.pictureBox172.Enabled = false;
this.pictureBox173.Enabled = false;
this.pictureBox174.Enabled = false;
this.pictureBox175.Enabled = false;
this.pictureBox176.Enabled = false;
this.pictureBox177.Enabled = false;
this.pictureBox178.Enabled = false;
this.pictureBox179.Enabled = false;
this.pictureBox180.Enabled = false;
this.pictureBox181.Enabled = false;
this.pictureBox182.Enabled = false;
this.pictureBox183.Enabled = false;
this.pictureBox184.Enabled = false;
this.pictureBox185.Enabled = false;
this.pictureBox186.Enabled = false;
this.pictureBox187.Enabled = false;
this.pictureBox188.Enabled = false;
this.pictureBox189.Enabled = false;
this.pictureBox190.Enabled = false;
this.pictureBox191.Enabled = false;
this.pictureBox192.Enabled = false;
this.pictureBox193.Enabled = false;
this.pictureBox194.Enabled = false;
this.pictureBox195.Enabled = false;
this.pictureBox196.Enabled = false;
this.pictureBox197.Enabled = false;
this.pictureBox198.Enabled = false;
this.pictureBox199.Enabled = false;
this.pictureBox200.Enabled = false;
this.pictureBox201.Enabled = false;
this.pictureBox202.Enabled = false;
this.pictureBox203.Enabled = false;
this.pictureBox204.Enabled = false;
this.pictureBox205.Enabled = false;
this.pictureBox206.Enabled = false;
this.pictureBox207.Enabled = false;
this.pictureBox208.Enabled = false;
this.pictureBox209.Enabled = false;
this.pictureBox210.Enabled = false;
this.pictureBox211.Enabled = false;
this.pictureBox212.Enabled = false;
this.pictureBox213.Enabled = false;
this.pictureBox214.Enabled = false;
this.pictureBox215.Enabled = false;
this.pictureBox216.Enabled = false;
this.pictureBox217.Enabled = false;
this.pictureBox218.Enabled = false;
this.pictureBox219.Enabled = false;
this.pictureBox220.Enabled = false;
this.pictureBox221.Enabled = false;
this.pictureBox222.Enabled = false;
this.pictureBox223.Enabled = false;
this.pictureBox224.Enabled = false;
this.pictureBox225.Enabled = false;
this.pictureBox226.Enabled = false;
this.pictureBox227.Enabled = false;
this.pictureBox228.Enabled = false;
this.pictureBox229.Enabled = false;
this.pictureBox230.Enabled = false;
this.pictureBox231.Enabled = false;
this.pictureBox232.Enabled = false;
this.pictureBox233.Enabled = false;
this.pictureBox234.Enabled = false;
this.pictureBox235.Enabled = false;
this.pictureBox236.Enabled = false;
this.pictureBox237.Enabled = false;
this.pictureBox238.Enabled = false;
this.pictureBox239.Enabled = false;
this.pictureBox240.Enabled = false;
this.pictureBox241.Enabled = false;
this.pictureBox242.Enabled = false;
this.pictureBox243.Enabled = false;
this.pictureBox244.Enabled = false;
this.pictureBox245.Enabled = false;
this.pictureBox246.Enabled = false;
this.pictureBox247.Enabled = false;
this.pictureBox248.Enabled = false;
this.pictureBox249.Enabled = false;
this.pictureBox250.Enabled = false;
this.pictureBox251.Enabled = false;
this.pictureBox252.Enabled = false;
this.pictureBox253.Enabled = false;
this.pictureBox254.Enabled = false;
this.pictureBox255.Enabled = false;
this.pictureBox256.Enabled = false;
this.pictureBox257.Enabled = false;
this.pictureBox258.Enabled = false;
this.pictureBox259.Enabled = false;
this.pictureBox260.Enabled = false;
this.pictureBox261.Enabled = false;
this.pictureBox262.Enabled = false;
this.pictureBox263.Enabled = false;
this.pictureBox264.Enabled = false;
this.pictureBox265.Enabled = false;
this.pictureBox266.Enabled = false;
this.pictureBox267.Enabled = false;
this.pictureBox268.Enabled = false;
this.pictureBox269.Enabled = false;
this.pictureBox270.Enabled = false;
this.pictureBox271.Enabled = false;
this.pictureBox272.Enabled = false;
this.pictureBox273.Enabled = false;
this.pictureBox274.Enabled = false;
this.pictureBox275.Enabled = false;
this.pictureBox276.Enabled = false;
this.pictureBox277.Enabled = false;
this.pictureBox278.Enabled = false;
this.pictureBox279.Enabled = false;
this.pictureBox280.Enabled = false;
this.pictureBox281.Enabled = false;
this.pictureBox282.Enabled = false;
this.pictureBox283.Enabled = false;
this.pictureBox284.Enabled = false;
this.pictureBox285.Enabled = false;
this.pictureBox286.Enabled = false;
this.pictureBox287.Enabled = false;
this.pictureBox288.Enabled = false;
this.pictureBox289.Enabled = false;
this.pictureBox290.Enabled = false;
this.pictureBox291.Enabled = false;
this.pictureBox292.Enabled = false;
this.pictureBox293.Enabled = false;
this.pictureBox294.Enabled = false;
this.pictureBox295.Enabled = false;
this.pictureBox296.Enabled = false;
this.pictureBox297.Enabled = false;
this.pictureBox298.Enabled = false;
this.pictureBox299.Enabled = false;
this.pictureBox300.Enabled = false;
this.pictureBox301.Enabled = false;
this.pictureBox302.Enabled = false;
this.pictureBox303.Enabled = false;
this.pictureBox304.Enabled = false;
this.pictureBox305.Enabled = false;
this.pictureBox306.Enabled = false;
this.pictureBox307.Enabled = false;
this.pictureBox308.Enabled = false;
this.pictureBox309.Enabled = false;
this.pictureBox310.Enabled = false;
this.pictureBox311.Enabled = false;
this.pictureBox312.Enabled = false;
this.pictureBox313.Enabled = false;
this.pictureBox314.Enabled = false;
this.pictureBox315.Enabled = false;
this.pictureBox316.Enabled = false;
this.pictureBox317.Enabled = false;
this.pictureBox318.Enabled = false;
this.pictureBox319.Enabled = false;
this.pictureBox320.Enabled = false;
this.pictureBox321.Enabled = false;
this.pictureBox322.Enabled = false;
this.pictureBox323.Enabled = false;
this.pictureBox324.Enabled = false;
this.pictureBox325.Enabled = false;
this.pictureBox326.Enabled = false;
this.pictureBox327.Enabled = false;
this.pictureBox328.Enabled = false;
this.pictureBox329.Enabled = false;
this.pictureBox330.Enabled = false;
this.pictureBox331.Enabled = false;
this.pictureBox332.Enabled = false;
this.pictureBox333.Enabled = false;
this.pictureBox334.Enabled = false;
this.pictureBox335.Enabled = false;
this.pictureBox336.Enabled = false;
this.pictureBox337.Enabled = false;
this.pictureBox338.Enabled = false;
this.pictureBox339.Enabled = false;
this.pictureBox340.Enabled = false;
this.pictureBox341.Enabled = false;
this.pictureBox342.Enabled = false;
this.pictureBox343.Enabled = false;
this.pictureBox344.Enabled = false;
this.pictureBox345.Enabled = false;
this.pictureBox346.Enabled = false;
this.pictureBox347.Enabled = false;
this.pictureBox348.Enabled = false;
this.pictureBox349.Enabled = false;
this.pictureBox350.Enabled = false;
this.pictureBox351.Enabled = false;
this.pictureBox352.Enabled = false;
this.pictureBox353.Enabled = false;
this.pictureBox354.Enabled = false;
this.pictureBox355.Enabled = false;
this.pictureBox356.Enabled = false;
this.pictureBox357.Enabled = false;
this.pictureBox358.Enabled = false;
this.pictureBox359.Enabled = false;
this.pictureBox360.Enabled = false;
this.pictureBox361.Enabled = false;
}
//释放游戏棋盘锁定
private void Release()
{
this.pictureBox1.Enabled = true;
this.pictureBox2.Enabled = true;
this.pictureBox3.Enabled = true;
this.pictureBox4.Enabled = true;
this.pictureBox5.Enabled = true;
this.pictureBox6.Enabled = true;
this.pictureBox7.Enabled = true;
this.pictureBox8.Enabled = true;
this.pictureBox9.Enabled = true;
this.pictureBox10.Enabled = true;
this.pictureBox11.Enabled = true;
this.pictureBox12.Enabled = true;
this.pictureBox13.Enabled = true;
this.pictureBox14.Enabled = true;
this.pictureBox15.Enabled = true;
this.pictureBox16.Enabled = true;
this.pictureBox17.Enabled = true;
this.pictureBox18.Enabled = true;
this.pictureBox19.Enabled = true;
this.pictureBox20.Enabled = true;
this.pictureBox21.Enabled = true;
this.pictureBox22.Enabled = true;
this.pictureBox23.Enabled = true;
this.pictureBox24.Enabled = true;
this.pictureBox25.Enabled = true;
this.pictureBox26.Enabled = true;
this.pictureBox27.Enabled = true;
this.pictureBox28.Enabled = true;
this.pictureBox29.Enabled = true;
this.pictureBox30.Enabled = true;
this.pictureBox31.Enabled = true;
this.pictureBox32.Enabled = true;
this.pictureBox33.Enabled = true;
this.pictureBox34.Enabled = true;
this.pictureBox35.Enabled = true;
this.pictureBox36.Enabled = true;
this.pictureBox37.Enabled = true;
this.pictureBox38.Enabled = true;
this.pictureBox39.Enabled = true;
this.pictureBox40.Enabled = true;
this.pictureBox41.Enabled = true;
this.pictureBox42.Enabled = true;
this.pictureBox43.Enabled = true;
this.pictureBox44.Enabled = true;
this.pictureBox45.Enabled = true;
this.pictureBox46.Enabled = true;
this.pictureBox47.Enabled = true;
this.pictureBox48.Enabled = true;
this.pictureBox49.Enabled = true;
this.pictureBox50.Enabled = true;
this.pictureBox51.Enabled = true;
this.pictureBox52.Enabled = true;
this.pictureBox53.Enabled = true;
this.pictureBox54.Enabled = true;
this.pictureBox55.Enabled = true;
this.pictureBox56.Enabled = true;
this.pictureBox57.Enabled = true;
this.pictureBox58.Enabled = true;
this.pictureBox59.Enabled = true;
this.pictureBox60.Enabled = true;
this.pictureBox61.Enabled = true;
this.pictureBox62.Enabled = true;
this.pictureBox63.Enabled = true;
this.pictureBox64.Enabled = true;
this.pictureBox65.Enabled = true;
this.pictureBox66.Enabled = true;
this.pictureBox67.Enabled = true;
this.pictureBox68.Enabled = true;
this.pictureBox69.Enabled = true;
this.pictureBox70.Enabled = true;
this.pictureBox71.Enabled = true;
this.pictureBox72.Enabled = true;
this.pictureBox73.Enabled = true;
this.pictureBox74.Enabled = true;
this.pictureBox75.Enabled = true;
this.pictureBox76.Enabled = true;
this.pictureBox77.Enabled = true;
this.pictureBox78.Enabled = true;
this.pictureBox79.Enabled = true;
this.pictureBox80.Enabled = true;
this.pictureBox81.Enabled = true;
this.pictureBox82.Enabled = true;
this.pictureBox83.Enabled = true;
this.pictureBox84.Enabled = true;
this.pictureBox85.Enabled = true;
this.pictureBox86.Enabled = true;
this.pictureBox87.Enabled = true;
this.pictureBox88.Enabled = true;
this.pictureBox89.Enabled = true;
this.pictureBox90.Enabled = true;
this.pictureBox91.Enabled = true;
this.pictureBox92.Enabled = true;
this.pictureBox93.Enabled = true;
this.pictureBox94.Enabled = true;
this.pictureBox95.Enabled = true;
this.pictureBox96.Enabled = true;
this.pictureBox97.Enabled = true;
this.pictureBox98.Enabled = true;
this.pictureBox99.Enabled = true;
this.pictureBox100.Enabled = true;
this.pictureBox101.Enabled = true;
this.pictureBox102.Enabled = true;
this.pictureBox103.Enabled = true;
this.pictureBox104.Enabled = true;
this.pictureBox105.Enabled = true;
this.pictureBox106.Enabled = true;
this.pictureBox107.Enabled = true;
this.pictureBox108.Enabled = true;
this.pictureBox109.Enabled = true;
this.pictureBox110.Enabled = true;
this.pictureBox111.Enabled = true;
this.pictureBox112.Enabled = true;
this.pictureBox113.Enabled = true;
this.pictureBox114.Enabled = true;
this.pictureBox115.Enabled = true;
this.pictureBox116.Enabled = true;
this.pictureBox117.Enabled = true;
this.pictureBox118.Enabled = true;
this.pictureBox119.Enabled = true;
this.pictureBox120.Enabled = true;
this.pictureBox121.Enabled = true;
this.pictureBox122.Enabled = true;
this.pictureBox123.Enabled = true;
this.pictureBox124.Enabled = true;
this.pictureBox125.Enabled = true;
this.pictureBox126.Enabled = true;
this.pictureBox127.Enabled = true;
this.pictureBox128.Enabled = true;
this.pictureBox129.Enabled = true;
this.pictureBox130.Enabled = true;
this.pictureBox131.Enabled = true;
this.pictureBox132.Enabled = true;
this.pictureBox133.Enabled = true;
this.pictureBox134.Enabled = true;
this.pictureBox135.Enabled = true;
this.pictureBox136.Enabled = true;
this.pictureBox137.Enabled = true;
this.pictureBox138.Enabled = true;
this.pictureBox139.Enabled = true;
this.pictureBox140.Enabled = true;
this.pictureBox141.Enabled = true;
this.pictureBox142.Enabled = true;
this.pictureBox143.Enabled = true;
this.pictureBox144.Enabled = true;
this.pictureBox145.Enabled = true;
this.pictureBox146.Enabled = true;
this.pictureBox147.Enabled = true;
this.pictureBox148.Enabled = true;
this.pictureBox149.Enabled = true;
this.pictureBox150.Enabled = true;
this.pictureBox151.Enabled = true;
this.pictureBox152.Enabled = true;
this.pictureBox153.Enabled = true;
this.pictureBox154.Enabled = true;
this.pictureBox155.Enabled = true;
this.pictureBox156.Enabled = true;
this.pictureBox157.Enabled = true;
this.pictureBox158.Enabled = true;
this.pictureBox159.Enabled = true;
this.pictureBox160.Enabled = true;
this.pictureBox161.Enabled = true;
this.pictureBox162.Enabled = true;
this.pictureBox163.Enabled = true;
this.pictureBox164.Enabled = true;
this.pictureBox165.Enabled = true;
this.pictureBox166.Enabled = true;
this.pictureBox167.Enabled = true;
this.pictureBox168.Enabled = true;
this.pictureBox169.Enabled = true;
this.pictureBox170.Enabled = true;
this.pictureBox171.Enabled = true;
this.pictureBox172.Enabled = true;
this.pictureBox173.Enabled = true;
this.pictureBox174.Enabled = true;
this.pictureBox175.Enabled = true;
this.pictureBox176.Enabled = true;
this.pictureBox177.Enabled = true;
this.pictureBox178.Enabled = true;
this.pictureBox179.Enabled = true;
this.pictureBox180.Enabled = true;
this.pictureBox181.Enabled = true;
this.pictureBox182.Enabled = true;
this.pictureBox183.Enabled = true;
this.pictureBox184.Enabled = true;
this.pictureBox185.Enabled = true;
this.pictureBox186.Enabled = true;
this.pictureBox187.Enabled = true;
this.pictureBox188.Enabled = true;
this.pictureBox189.Enabled = true;
this.pictureBox190.Enabled = true;
this.pictureBox191.Enabled = true;
this.pictureBox192.Enabled = true;
this.pictureBox193.Enabled = true;
this.pictureBox194.Enabled = true;
this.pictureBox195.Enabled = true;
this.pictureBox196.Enabled = true;
this.pictureBox197.Enabled = true;
this.pictureBox198.Enabled = true;
this.pictureBox199.Enabled = true;
this.pictureBox200.Enabled = true;
this.pictureBox201.Enabled = true;
this.pictureBox202.Enabled = true;
this.pictureBox203.Enabled = true;
this.pictureBox204.Enabled = true;
this.pictureBox205.Enabled = true;
this.pictureBox206.Enabled = true;
this.pictureBox207.Enabled = true;
this.pictureBox208.Enabled = true;
this.pictureBox209.Enabled = true;
this.pictureBox210.Enabled = true;
this.pictureBox211.Enabled = true;
this.pictureBox212.Enabled = true;
this.pictureBox213.Enabled = true;
this.pictureBox214.Enabled = true;
this.pictureBox215.Enabled = true;
this.pictureBox216.Enabled = true;
this.pictureBox217.Enabled = true;
this.pictureBox218.Enabled = true;
this.pictureBox219.Enabled = true;
this.pictureBox220.Enabled = true;
this.pictureBox221.Enabled = true;
this.pictureBox222.Enabled = true;
this.pictureBox223.Enabled = true;
this.pictureBox224.Enabled = true;
this.pictureBox225.Enabled = true;
this.pictureBox226.Enabled = true;
this.pictureBox227.Enabled = true;
this.pictureBox228.Enabled = true;
this.pictureBox229.Enabled = true;
this.pictureBox230.Enabled = true;
this.pictureBox231.Enabled = true;
this.pictureBox232.Enabled = true;
this.pictureBox233.Enabled = true;
this.pictureBox234.Enabled = true;
this.pictureBox235.Enabled = true;
this.pictureBox236.Enabled = true;
this.pictureBox237.Enabled = true;
this.pictureBox238.Enabled = true;
this.pictureBox239.Enabled = true;
this.pictureBox240.Enabled = true;
this.pictureBox241.Enabled = true;
this.pictureBox242.Enabled = true;
this.pictureBox243.Enabled = true;
this.pictureBox244.Enabled = true;
this.pictureBox245.Enabled = true;
this.pictureBox246.Enabled = true;
this.pictureBox247.Enabled = true;
this.pictureBox248.Enabled = true;
this.pictureBox249.Enabled = true;
this.pictureBox250.Enabled = true;
this.pictureBox251.Enabled = true;
this.pictureBox252.Enabled = true;
this.pictureBox253.Enabled = true;
this.pictureBox254.Enabled = true;
this.pictureBox255.Enabled = true;
this.pictureBox256.Enabled = true;
this.pictureBox257.Enabled = true;
this.pictureBox258.Enabled = true;
this.pictureBox259.Enabled = true;
this.pictureBox260.Enabled = true;
this.pictureBox261.Enabled = true;
this.pictureBox262.Enabled = true;
this.pictureBox263.Enabled = true;
this.pictureBox264.Enabled = true;
this.pictureBox265.Enabled = true;
this.pictureBox266.Enabled = true;
this.pictureBox267.Enabled = true;
this.pictureBox268.Enabled = true;
this.pictureBox269.Enabled = true;
this.pictureBox270.Enabled = true;
this.pictureBox271.Enabled = true;
this.pictureBox272.Enabled = true;
this.pictureBox273.Enabled = true;
this.pictureBox274.Enabled = true;
this.pictureBox275.Enabled = true;
this.pictureBox276.Enabled = true;
this.pictureBox277.Enabled = true;
this.pictureBox278.Enabled = true;
this.pictureBox279.Enabled = true;
this.pictureBox280.Enabled = true;
this.pictureBox281.Enabled = true;
this.pictureBox282.Enabled = true;
this.pictureBox283.Enabled = true;
this.pictureBox284.Enabled = true;
this.pictureBox285.Enabled = true;
this.pictureBox286.Enabled = true;
this.pictureBox287.Enabled = true;
this.pictureBox288.Enabled = true;
this.pictureBox289.Enabled = true;
this.pictureBox290.Enabled = true;
this.pictureBox291.Enabled = true;
this.pictureBox292.Enabled = true;
this.pictureBox293.Enabled = true;
this.pictureBox294.Enabled = true;
this.pictureBox295.Enabled = true;
this.pictureBox296.Enabled = true;
this.pictureBox297.Enabled = true;
this.pictureBox298.Enabled = true;
this.pictureBox299.Enabled = true;
this.pictureBox300.Enabled = true;
this.pictureBox301.Enabled = true;
this.pictureBox302.Enabled = true;
this.pictureBox303.Enabled = true;
this.pictureBox304.Enabled = true;
this.pictureBox305.Enabled = true;
this.pictureBox306.Enabled = true;
this.pictureBox307.Enabled = true;
this.pictureBox308.Enabled = true;
this.pictureBox309.Enabled = true;
this.pictureBox310.Enabled = true;
this.pictureBox311.Enabled = true;
this.pictureBox312.Enabled = true;
this.pictureBox313.Enabled = true;
this.pictureBox314.Enabled = true;
this.pictureBox315.Enabled = true;
this.pictureBox316.Enabled = true;
this.pictureBox317.Enabled = true;
this.pictureBox318.Enabled = true;
this.pictureBox319.Enabled = true;
this.pictureBox320.Enabled = true;
this.pictureBox321.Enabled = true;
this.pictureBox322.Enabled = true;
this.pictureBox323.Enabled = true;
this.pictureBox324.Enabled = true;
this.pictureBox325.Enabled = true;
this.pictureBox326.Enabled = true;
this.pictureBox327.Enabled = true;
this.pictureBox328.Enabled = true;
this.pictureBox329.Enabled = true;
this.pictureBox330.Enabled = true;
this.pictureBox331.Enabled = true;
this.pictureBox332.Enabled = true;
this.pictureBox333.Enabled = true;
this.pictureBox334.Enabled = true;
this.pictureBox335.Enabled = true;
this.pictureBox336.Enabled = true;
this.pictureBox337.Enabled = true;
this.pictureBox338.Enabled = true;
this.pictureBox339.Enabled = true;
this.pictureBox340.Enabled = true;
this.pictureBox341.Enabled = true;
this.pictureBox342.Enabled = true;
this.pictureBox343.Enabled = true;
this.pictureBox344.Enabled = true;
this.pictureBox345.Enabled = true;
this.pictureBox346.Enabled = true;
this.pictureBox347.Enabled = true;
this.pictureBox348.Enabled = true;
this.pictureBox349.Enabled = true;
this.pictureBox350.Enabled = true;
this.pictureBox351.Enabled = true;
this.pictureBox352.Enabled = true;
this.pictureBox353.Enabled = true;
this.pictureBox354.Enabled = true;
this.pictureBox355.Enabled = true;
this.pictureBox356.Enabled = true;
this.pictureBox357.Enabled = true;
this.pictureBox358.Enabled = true;
this.pictureBox359.Enabled = true;
this.pictureBox360.Enabled = true;
this.pictureBox361.Enabled = true;
}
//重置游戏方法
private void reset()
{
lun = 0;
start = true;
zi1_1 = 0;
zi1_2 = 0;
zi1_3 = 0;
zi1_4 = 0;
zi1_5 = 0;
zi1_6 = 0;
zi1_7 = 0;
zi1_8 = 0;
zi1_9 = 0;
zi1_10 = 0;
zi1_11 = 0;
zi1_12 = 0;
zi1_13 = 0;
zi1_14 = 0;
zi1_15 = 0;
zi1_16 = 0;
zi1_17 = 0;
zi1_18 = 0;
zi1_19 = 0;
zi2_1 = 0;
zi2_2 = 0;
zi2_3 = 0;
zi2_4 = 0;
zi2_5 = 0;
zi2_6 = 0;
zi2_7 = 0;
zi2_8 = 0;
zi2_9 = 0;
zi2_10 = 0;
zi2_11 = 0;
zi2_12 = 0;
zi2_13 = 0;
zi2_14 = 0;
zi2_15 = 0;
zi2_16 = 0;
zi2_17 = 0;
zi2_18 = 0;
zi2_19 = 0;
zi3_1 = 0;
zi3_2 = 0;
zi3_3 = 0;
zi3_4 = 0;
zi3_5 = 0;
zi3_6 = 0;
zi3_7 = 0;
zi3_8 = 0;
zi3_9 = 0;
zi3_10 = 0;
zi3_11 = 0;
zi3_12 = 0;
zi3_13 = 0;
zi3_14 = 0;
zi3_15 = 0;
zi3_16 = 0;
zi3_17 = 0;
zi3_18 = 0;
zi3_19 = 0;
zi4_1 = 0;
zi4_2 = 0;
zi4_3 = 0;
zi4_4 = 0;
zi4_5 = 0;
zi4_6 = 0;
zi4_7 = 0;
zi4_8 = 0;
zi4_9 = 0;
zi4_10 = 0;
zi4_11 = 0;
zi4_12 = 0;
zi4_13 = 0;
zi4_14 = 0;
zi4_15 = 0;
zi4_16 = 0;
zi4_17 = 0;
zi4_18 = 0;
zi4_19 = 0;
zi5_1 = 0;
zi5_2 = 0;
zi5_3 = 0;
zi5_4 = 0;
zi5_5 = 0;
zi5_6 = 0;
zi5_7 = 0;
zi5_8 = 0;
zi5_9 = 0;
zi5_10 = 0;
zi5_11 = 0;
zi5_12 = 0;
zi5_13 = 0;
zi5_14 = 0;
zi5_15 = 0;
zi5_16 = 0;
zi5_17 = 0;
zi5_18 = 0;
zi5_19 = 0;
zi6_1 = 0;
zi6_2 = 0;
zi6_3 = 0;
zi6_4 = 0;
zi6_5 = 0;
zi6_6 = 0;
zi6_7 = 0;
zi6_8 = 0;
zi6_9 = 0;
zi6_10 = 0;
zi6_11 = 0;
zi6_12 = 0;
zi6_13 = 0;
zi6_14 = 0;
zi6_15 = 0;
zi6_16 = 0;
zi6_17 = 0;
zi6_18 = 0;
zi6_19 = 0;
zi7_1 = 0;
zi7_2 = 0;
zi7_3 = 0;
zi7_4 = 0;
zi7_5 = 0;
zi7_6 = 0;
zi7_7 = 0;
zi7_8 = 0;
zi7_9 = 0;
zi7_10 = 0;
zi7_11 = 0;
zi7_12 = 0;
zi7_13 = 0;
zi7_14 = 0;
zi7_15 = 0;
zi7_16 = 0;
zi7_17 = 0;
zi7_18 = 0;
zi7_19 = 0;
zi8_1 = 0;
zi8_2 = 0;
zi8_3 = 0;
zi8_4 = 0;
zi8_5 = 0;
zi8_6 = 0;
zi8_7 = 0;
zi8_8 = 0;
zi8_9 = 0;
zi8_10 = 0;
zi8_11 = 0;
zi8_12 = 0;
zi8_13 = 0;
zi8_14 = 0;
zi8_15 = 0;
zi8_16 = 0;
zi8_17 = 0;
zi8_18 = 0;
zi8_19 = 0;
zi9_1 = 0;
zi9_2 = 0;
zi9_3 = 0;
zi9_4 = 0;
zi9_5 = 0;
zi9_6 = 0;
zi9_7 = 0;
zi9_8 = 0;
zi9_9 = 0;
zi9_10 = 0;
zi9_11 = 0;
zi9_12 = 0;
zi9_13 = 0;
zi9_14 = 0;
zi9_15 = 0;
zi9_16 = 0;
zi9_17 = 0;
zi9_18 = 0;
zi9_19 = 0;
zi10_1 = 0;
zi10_2 = 0;
zi10_3 = 0;
zi10_4 = 0;
zi10_5 = 0;
zi10_6 = 0;
zi10_7 = 0;
zi10_8 = 0;
zi10_9 = 0;
zi10_10 = 0;
zi10_11 = 0;
zi10_12 = 0;
zi10_13 = 0;
zi10_14 = 0;
zi10_15 = 0;
zi10_16 = 0;
zi10_17 = 0;
zi10_18 = 0;
zi10_19 = 0;
zi11_1 = 0;
zi11_2 = 0;
zi11_3 = 0;
zi11_4 = 0;
zi11_5 = 0;
zi11_6 = 0;
zi11_7 = 0;
zi11_8 = 0;
zi11_9 = 0;
zi11_10 = 0;
zi11_11 = 0;
zi11_12 = 0;
zi11_13 = 0;
zi11_14 = 0;
zi11_15 = 0;
zi11_16 = 0;
zi11_17 = 0;
zi11_18 = 0;
zi11_19 = 0;
zi12_1 = 0;
zi12_2 = 0;
zi12_3 = 0;
zi12_4 = 0;
zi12_5 = 0;
zi12_6 = 0;
zi12_7 = 0;
zi12_8 = 0;
zi12_9 = 0;
zi12_10 = 0;
zi12_11 = 0;
zi12_12 = 0;
zi12_13 = 0;
zi12_14 = 0;
zi12_15 = 0;
zi12_16 = 0;
zi12_17 = 0;
zi12_18 = 0;
zi12_19 = 0;
zi13_1 = 0;
zi13_2 = 0;
zi13_3 = 0;
zi13_4 = 0;
zi13_5 = 0;
zi13_6 = 0;
zi13_7 = 0;
zi13_8 = 0;
zi13_9 = 0;
zi13_10 = 0;
zi13_11 = 0;
zi13_12 = 0;
zi13_13 = 0;
zi13_14 = 0;
zi13_15 = 0;
zi13_16 = 0;
zi13_17 = 0;
zi13_18 = 0;
zi13_19 = 0;
zi14_1 = 0;
zi14_2 = 0;
zi14_3 = 0;
zi14_4 = 0;
zi14_5 = 0;
zi14_6 = 0;
zi14_7 = 0;
zi14_8 = 0;
zi14_9 = 0;
zi14_10 = 0;
zi14_11 = 0;
zi14_12 = 0;
zi14_13 = 0;
zi14_14 = 0;
zi14_15 = 0;
zi14_16 = 0;
zi14_17 = 0;
zi14_18 = 0;
zi14_19 = 0;
zi15_1 = 0;
zi15_2 = 0;
zi15_3 = 0;
zi15_4 = 0;
zi15_5 = 0;
zi15_6 = 0;
zi15_7 = 0;
zi15_8 = 0;
zi15_9 = 0;
zi15_10 = 0;
zi15_11 = 0;
zi15_12 = 0;
zi15_13 = 0;
zi15_14 = 0;
zi15_15 = 0;
zi15_16 = 0;
zi15_17 = 0;
zi15_18 = 0;
zi15_19 = 0;
zi16_1 = 0;
zi16_2 = 0;
zi16_3 = 0;
zi16_4 = 0;
zi16_5 = 0;
zi16_6 = 0;
zi16_7 = 0;
zi16_8 = 0;
zi16_9 = 0;
zi16_10 = 0;
zi16_11 = 0;
zi16_12 = 0;
zi16_13 = 0;
zi16_14 = 0;
zi16_15 = 0;
zi16_16 = 0;
zi16_17 = 0;
zi16_18 = 0;
zi16_19 = 0;
zi17_1 = 0;
zi17_2 = 0;
zi17_3 = 0;
zi17_4 = 0;
zi17_5 = 0;
zi17_6 = 0;
zi17_7 = 0;
zi17_8 = 0;
zi17_9 = 0;
zi17_10 = 0;
zi17_11 = 0;
zi17_12 = 0;
zi17_13 = 0;
zi17_14 = 0;
zi17_15 = 0;
zi17_16 = 0;
zi17_17 = 0;
zi17_18 = 0;
zi17_19 = 0;
zi18_1 = 0;
zi18_2 = 0;
zi18_3 = 0;
zi18_4 = 0;
zi18_5 = 0;
zi18_6 = 0;
zi18_7 = 0;
zi18_8 = 0;
zi18_9 = 0;
zi18_10 = 0;
zi18_11 = 0;
zi18_12 = 0;
zi18_13 = 0;
zi18_14 = 0;
zi18_15 = 0;
zi18_16 = 0;
zi18_17 = 0;
zi18_18 = 0;
zi18_19 = 0;
zi19_1 = 0;
zi19_2 = 0;
zi19_3 = 0;
zi19_4 = 0;
zi19_5 = 0;
zi19_6 = 0;
zi19_7 = 0;
zi19_8 = 0;
zi19_9 = 0;
zi19_10 = 0;
zi19_11 = 0;
zi19_12 = 0;
zi19_13 = 0;
zi19_14 = 0;
zi19_15 = 0;
zi19_16 = 0;
zi19_17 = 0;
zi19_18 = 0;
zi19_19 = 0;
this.pictureBox1.Image = null;
this.pictureBox2.Image = null;
this.pictureBox3.Image = null;
this.pictureBox4.Image = null;
this.pictureBox5.Image = null;
this.pictureBox6.Image = null;
this.pictureBox7.Image = null;
this.pictureBox8.Image = null;
this.pictureBox9.Image = null;
this.pictureBox10.Image = null;
this.pictureBox11.Image = null;
this.pictureBox12.Image = null;
this.pictureBox13.Image = null;
this.pictureBox14.Image = null;
this.pictureBox15.Image = null;
this.pictureBox16.Image = null;
this.pictureBox17.Image = null;
this.pictureBox18.Image = null;
this.pictureBox19.Image = null;
this.pictureBox20.Image = null;
this.pictureBox21.Image = null;
this.pictureBox22.Image = null;
this.pictureBox23.Image = null;
this.pictureBox24.Image = null;
this.pictureBox25.Image = null;
this.pictureBox26.Image = null;
this.pictureBox27.Image = null;
this.pictureBox28.Image = null;
this.pictureBox29.Image = null;
this.pictureBox30.Image = null;
this.pictureBox31.Image = null;
this.pictureBox32.Image = null;
this.pictureBox33.Image = null;
this.pictureBox34.Image = null;
this.pictureBox35.Image = null;
this.pictureBox36.Image = null;
this.pictureBox37.Image = null;
this.pictureBox38.Image = null;
this.pictureBox39.Image = null;
this.pictureBox40.Image = null;
this.pictureBox41.Image = null;
this.pictureBox42.Image = null;
this.pictureBox43.Image = null;
this.pictureBox44.Image = null;
this.pictureBox45.Image = null;
this.pictureBox46.Image = null;
this.pictureBox47.Image = null;
this.pictureBox48.Image = null;
this.pictureBox49.Image = null;
this.pictureBox50.Image = null;
this.pictureBox51.Image = null;
this.pictureBox52.Image = null;
this.pictureBox53.Image = null;
this.pictureBox54.Image = null;
this.pictureBox55.Image = null;
this.pictureBox56.Image = null;
this.pictureBox57.Image = null;
this.pictureBox58.Image = null;
this.pictureBox59.Image = null;
this.pictureBox60.Image = null;
this.pictureBox61.Image = null;
this.pictureBox62.Image = null;
this.pictureBox63.Image = null;
this.pictureBox64.Image = null;
this.pictureBox65.Image = null;
this.pictureBox66.Image = null;
this.pictureBox67.Image = null;
this.pictureBox68.Image = null;
this.pictureBox69.Image = null;
this.pictureBox70.Image = null;
this.pictureBox71.Image = null;
this.pictureBox72.Image = null;
this.pictureBox73.Image = null;
this.pictureBox74.Image = null;
this.pictureBox75.Image = null;
this.pictureBox76.Image = null;
this.pictureBox77.Image = null;
this.pictureBox78.Image = null;
this.pictureBox79.Image = null;
this.pictureBox80.Image = null;
this.pictureBox81.Image = null;
this.pictureBox82.Image = null;
this.pictureBox83.Image = null;
this.pictureBox84.Image = null;
this.pictureBox85.Image = null;
this.pictureBox86.Image = null;
this.pictureBox87.Image = null;
this.pictureBox88.Image = null;
this.pictureBox89.Image = null;
this.pictureBox90.Image = null;
this.pictureBox91.Image = null;
this.pictureBox92.Image = null;
this.pictureBox93.Image = null;
this.pictureBox94.Image = null;
this.pictureBox95.Image = null;
this.pictureBox96.Image = null;
this.pictureBox97.Image = null;
this.pictureBox98.Image = null;
this.pictureBox99.Image = null;
this.pictureBox100.Image = null;
this.pictureBox101.Image = null;
this.pictureBox102.Image = null;
this.pictureBox103.Image = null;
this.pictureBox104.Image = null;
this.pictureBox105.Image = null;
this.pictureBox106.Image = null;
this.pictureBox107.Image = null;
this.pictureBox108.Image = null;
this.pictureBox109.Image = null;
this.pictureBox110.Image = null;
this.pictureBox111.Image = null;
this.pictureBox112.Image = null;
this.pictureBox113.Image = null;
this.pictureBox114.Image = null;
this.pictureBox115.Image = null;
this.pictureBox116.Image = null;
this.pictureBox117.Image = null;
this.pictureBox118.Image = null;
this.pictureBox119.Image = null;
this.pictureBox120.Image = null;
this.pictureBox121.Image = null;
this.pictureBox122.Image = null;
this.pictureBox123.Image = null;
this.pictureBox124.Image = null;
this.pictureBox125.Image = null;
this.pictureBox126.Image = null;
this.pictureBox127.Image = null;
this.pictureBox128.Image = null;
this.pictureBox129.Image = null;
this.pictureBox130.Image = null;
this.pictureBox131.Image = null;
this.pictureBox132.Image = null;
this.pictureBox133.Image = null;
this.pictureBox134.Image = null;
this.pictureBox135.Image = null;
this.pictureBox136.Image = null;
this.pictureBox137.Image = null;
this.pictureBox138.Image = null;
this.pictureBox139.Image = null;
this.pictureBox140.Image = null;
this.pictureBox141.Image = null;
this.pictureBox142.Image = null;
this.pictureBox143.Image = null;
this.pictureBox144.Image = null;
this.pictureBox145.Image = null;
this.pictureBox146.Image = null;
this.pictureBox147.Image = null;
this.pictureBox148.Image = null;
this.pictureBox149.Image = null;
this.pictureBox150.Image = null;
this.pictureBox151.Image = null;
this.pictureBox152.Image = null;
this.pictureBox153.Image = null;
this.pictureBox154.Image = null;
this.pictureBox155.Image = null;
this.pictureBox156.Image = null;
this.pictureBox157.Image = null;
this.pictureBox158.Image = null;
this.pictureBox159.Image = null;
this.pictureBox160.Image = null;
this.pictureBox161.Image = null;
this.pictureBox162.Image = null;
this.pictureBox163.Image = null;
this.pictureBox164.Image = null;
this.pictureBox165.Image = null;
this.pictureBox166.Image = null;
this.pictureBox167.Image = null;
this.pictureBox168.Image = null;
this.pictureBox169.Image = null;
this.pictureBox170.Image = null;
this.pictureBox171.Image = null;
this.pictureBox172.Image = null;
this.pictureBox173.Image = null;
this.pictureBox174.Image = null;
this.pictureBox175.Image = null;
this.pictureBox176.Image = null;
this.pictureBox177.Image = null;
this.pictureBox178.Image = null;
this.pictureBox179.Image = null;
this.pictureBox180.Image = null;
this.pictureBox181.Image = null;
this.pictureBox182.Image = null;
this.pictureBox183.Image = null;
this.pictureBox184.Image = null;
this.pictureBox185.Image = null;
this.pictureBox186.Image = null;
this.pictureBox187.Image = null;
this.pictureBox188.Image = null;
this.pictureBox189.Image = null;
this.pictureBox190.Image = null;
this.pictureBox191.Image = null;
this.pictureBox192.Image = null;
this.pictureBox193.Image = null;
this.pictureBox194.Image = null;
this.pictureBox195.Image = null;
this.pictureBox196.Image = null;
this.pictureBox197.Image = null;
this.pictureBox198.Image = null;
this.pictureBox199.Image = null;
this.pictureBox200.Image = null;
this.pictureBox201.Image = null;
this.pictureBox202.Image = null;
this.pictureBox203.Image = null;
this.pictureBox204.Image = null;
this.pictureBox205.Image = null;
this.pictureBox206.Image = null;
this.pictureBox207.Image = null;
this.pictureBox208.Image = null;
this.pictureBox209.Image = null;
this.pictureBox210.Image = null;
this.pictureBox211.Image = null;
this.pictureBox212.Image = null;
this.pictureBox213.Image = null;
this.pictureBox214.Image = null;
this.pictureBox215.Image = null;
this.pictureBox216.Image = null;
this.pictureBox217.Image = null;
this.pictureBox218.Image = null;
this.pictureBox219.Image = null;
this.pictureBox220.Image = null;
this.pictureBox221.Image = null;
this.pictureBox222.Image = null;
this.pictureBox223.Image = null;
this.pictureBox224.Image = null;
this.pictureBox225.Image = null;
this.pictureBox226.Image = null;
this.pictureBox227.Image = null;
this.pictureBox228.Image = null;
this.pictureBox229.Image = null;
this.pictureBox230.Image = null;
this.pictureBox231.Image = null;
this.pictureBox232.Image = null;
this.pictureBox233.Image = null;
this.pictureBox234.Image = null;
this.pictureBox235.Image = null;
this.pictureBox236.Image = null;
this.pictureBox237.Image = null;
this.pictureBox238.Image = null;
this.pictureBox239.Image = null;
this.pictureBox240.Image = null;
this.pictureBox241.Image = null;
this.pictureBox242.Image = null;
this.pictureBox243.Image = null;
this.pictureBox244.Image = null;
this.pictureBox245.Image = null;
this.pictureBox246.Image = null;
this.pictureBox247.Image = null;
this.pictureBox248.Image = null;
this.pictureBox249.Image = null;
this.pictureBox250.Image = null;
this.pictureBox251.Image = null;
this.pictureBox252.Image = null;
this.pictureBox253.Image = null;
this.pictureBox254.Image = null;
this.pictureBox255.Image = null;
this.pictureBox256.Image = null;
this.pictureBox257.Image = null;
this.pictureBox258.Image = null;
this.pictureBox259.Image = null;
this.pictureBox260.Image = null;
this.pictureBox261.Image = null;
this.pictureBox262.Image = null;
this.pictureBox263.Image = null;
this.pictureBox264.Image = null;
this.pictureBox265.Image = null;
this.pictureBox266.Image = null;
this.pictureBox267.Image = null;
this.pictureBox268.Image = null;
this.pictureBox269.Image = null;
this.pictureBox270.Image = null;
this.pictureBox271.Image = null;
this.pictureBox272.Image = null;
this.pictureBox273.Image = null;
this.pictureBox274.Image = null;
this.pictureBox275.Image = null;
this.pictureBox276.Image = null;
this.pictureBox277.Image = null;
this.pictureBox278.Image = null;
this.pictureBox279.Image = null;
this.pictureBox280.Image = null;
this.pictureBox281.Image = null;
this.pictureBox282.Image = null;
this.pictureBox283.Image = null;
this.pictureBox284.Image = null;
this.pictureBox285.Image = null;
this.pictureBox286.Image = null;
this.pictureBox287.Image = null;
this.pictureBox288.Image = null;
this.pictureBox289.Image = null;
this.pictureBox290.Image = null;
this.pictureBox291.Image = null;
this.pictureBox292.Image = null;
this.pictureBox293.Image = null;
this.pictureBox294.Image = null;
this.pictureBox295.Image = null;
this.pictureBox296.Image = null;
this.pictureBox297.Image = null;
this.pictureBox298.Image = null;
this.pictureBox299.Image = null;
this.pictureBox300.Image = null;
this.pictureBox301.Image = null;
this.pictureBox302.Image = null;
this.pictureBox303.Image = null;
this.pictureBox304.Image = null;
this.pictureBox305.Image = null;
this.pictureBox306.Image = null;
this.pictureBox307.Image = null;
this.pictureBox308.Image = null;
this.pictureBox309.Image = null;
this.pictureBox310.Image = null;
this.pictureBox311.Image = null;
this.pictureBox312.Image = null;
this.pictureBox313.Image = null;
this.pictureBox314.Image = null;
this.pictureBox315.Image = null;
this.pictureBox316.Image = null;
this.pictureBox317.Image = null;
this.pictureBox318.Image = null;
this.pictureBox319.Image = null;
this.pictureBox320.Image = null;
this.pictureBox321.Image = null;
this.pictureBox322.Image = null;
this.pictureBox323.Image = null;
this.pictureBox324.Image = null;
this.pictureBox325.Image = null;
this.pictureBox326.Image = null;
this.pictureBox327.Image = null;
this.pictureBox328.Image = null;
this.pictureBox329.Image = null;
this.pictureBox330.Image = null;
this.pictureBox331.Image = null;
this.pictureBox332.Image = null;
this.pictureBox333.Image = null;
this.pictureBox334.Image = null;
this.pictureBox335.Image = null;
this.pictureBox336.Image = null;
this.pictureBox337.Image = null;
this.pictureBox338.Image = null;
this.pictureBox339.Image = null;
this.pictureBox340.Image = null;
this.pictureBox341.Image = null;
this.pictureBox342.Image = null;
this.pictureBox343.Image = null;
this.pictureBox344.Image = null;
this.pictureBox345.Image = null;
this.pictureBox346.Image = null;
this.pictureBox347.Image = null;
this.pictureBox348.Image = null;
this.pictureBox349.Image = null;
this.pictureBox350.Image = null;
this.pictureBox351.Image = null;
this.pictureBox352.Image = null;
this.pictureBox353.Image = null;
this.pictureBox354.Image = null;
this.pictureBox355.Image = null;
this.pictureBox356.Image = null;
this.pictureBox357.Image = null;
this.pictureBox358.Image = null;
this.pictureBox359.Image = null;
this.pictureBox360.Image = null;
this.pictureBox361.Image = null;
picturelun.Image = null;
hang = 0;
lie = 0;
this.button5.Enabled = true;
}
//窗口关闭事件
private void FormGobang_FormClosed(object sender, FormClosedEventArgs e)
{
fm.Visible = true;
LockUp();
reset();
}
//不判断输赢
private void button5_Click(object sender, EventArgs e)
{
if (panduan)
{
if (MessageBox.Show("是否关闭不判断输赢?(这里是指如果关闭后,则就会按照五子棋开始判断输赢了。)", "是否关闭", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
this.panduan = false;
this.button4.Enabled = !this.panduan;
MessageBox.Show("已经关闭不判断输赢模式。");
}
}
else
{
if (MessageBox.Show("是否开启不判断输赢?(这里是指如果开启后,则就不会按照五子棋开始判断输赢了。)", "是否关闭", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
this.panduan = true;
this.button4.Enabled = !this.panduan;
MessageBox.Show("已经开启不判断输赢模式。");
}
}
fm.gobangpanduan = panduan;
gobangini.IniWriteValue("Settings", "JudgeWinOrLose", Convert.ToString(panduan));
}
//窗口加载事件
private void FormGobang_Load(object sender, EventArgs e)
{
this.button4.Enabled = !this.panduan;
}
}
}
复制代码
程序运行的效果大约如此:

然后嘛……代码设计文档……在我的仓库项目里:https://gitee.com/rechalow/games
这串代码已经保存到【bullshit-code】里面,请看我的commit:https://gitee.com/gitee-communit ... eae7bc091c006774669
想下载来游玩的,也可以进我的仓库项目里下载游玩。但是切记!由于当初的年少无知,我在程序的【千万别点】里有一个无限弹窗的代码,请尽量不要点击,如果你实在好奇点击了,请通过任务管理器强行退出该程序!本项目早已停更,懒得再去掉那个千万别点的代码了,因此请见谅!
你就说这个代码人类可不可以读,可以读就完了!
在程序里面点击棋类游戏即可进入我的代码!
如果各位想运行并且编辑该源码的,请pull我的仓库,并使用visual studio打开即可!
如各位所想,我来参加一下这个马拉松比赛。
在看过不少的【马拉松比赛】参赛作品后,他们的代码都是以人类几乎不可读来写的。
但是,我这个代码不一样,我这个代码人类完全可以读懂,但就是……非常长……
这个代码与MC无关,是我在2021年写的一个C#小游戏。
非常可怕的小游戏,代码量甚至已经超过了14000行!
来让我们来看看源码:【仅是其一,代码量还有很多不在这个类里面。。】【超长预警!有gxy的人请勿观看!】
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MyGame
{
public partial class FormGobang : Form
{
private int zi1_1;
private int zi1_2;
private int zi1_3;
private int zi1_4;
private int zi1_5;
private int zi1_6;
private int zi1_7;
private int zi1_8;
private int zi1_9;
private int zi1_10;
private int zi1_11;
private int zi1_12;
private int zi1_13;
private int zi1_14;
private int zi1_15;
private int zi1_16;
private int zi1_17;
private int zi1_18;
private int zi1_19;
private int zi2_1;
private int zi2_2;
private int zi2_3;
private int zi2_4;
private int zi2_5;
private int zi2_6;
private int zi2_7;
private int zi2_8;
private int zi2_9;
private int zi2_10;
private int zi2_11;
private int zi2_12;
private int zi2_13;
private int zi2_14;
private int zi2_15;
private int zi2_16;
private int zi2_17;
private int zi2_18;
private int zi2_19;
private int zi3_1;
private int zi3_2;
private int zi3_3;
private int zi3_4;
private int zi3_5;
private int zi3_6;
private int zi3_7;
private int zi3_8;
private int zi3_9;
private int zi3_10;
private int zi3_11;
private int zi3_12;
private int zi3_13;
private int zi3_14;
private int zi3_15;
private int zi3_16;
private int zi3_17;
private int zi3_18;
private int zi3_19;
private int zi4_1;
private int zi4_2;
private int zi4_3;
private int zi4_4;
private int zi4_5;
private int zi4_6;
private int zi4_7;
private int zi4_8;
private int zi4_9;
private int zi4_10;
private int zi4_11;
private int zi4_12;
private int zi4_13;
private int zi4_14;
private int zi4_15;
private int zi4_16;
private int zi4_17;
private int zi4_18;
private int zi4_19;
private int zi5_1;
private int zi5_2;
private int zi5_3;
private int zi5_4;
private int zi5_5;
private int zi5_6;
private int zi5_7;
private int zi5_8;
private int zi5_9;
private int zi5_10;
private int zi5_11;
private int zi5_12;
private int zi5_13;
private int zi5_14;
private int zi5_15;
private int zi5_16;
private int zi5_17;
private int zi5_18;
private int zi5_19;
private int zi6_1;
private int zi6_2;
private int zi6_3;
private int zi6_4;
private int zi6_5;
private int zi6_6;
private int zi6_7;
private int zi6_8;
private int zi6_9;
private int zi6_10;
private int zi6_11;
private int zi6_12;
private int zi6_13;
private int zi6_14;
private int zi6_15;
private int zi6_16;
private int zi6_17;
private int zi6_18;
private int zi6_19;
private int zi7_1;
private int zi7_2;
private int zi7_3;
private int zi7_4;
private int zi7_5;
private int zi7_6;
private int zi7_7;
private int zi7_8;
private int zi7_9;
private int zi7_10;
private int zi7_11;
private int zi7_12;
private int zi7_13;
private int zi7_14;
private int zi7_15;
private int zi7_16;
private int zi7_17;
private int zi7_18;
private int zi7_19;
private int zi8_1;
private int zi8_2;
private int zi8_3;
private int zi8_4;
private int zi8_5;
private int zi8_6;
private int zi8_7;
private int zi8_8;
private int zi8_9;
private int zi8_10;
private int zi8_11;
private int zi8_12;
private int zi8_13;
private int zi8_14;
private int zi8_15;
private int zi8_16;
private int zi8_17;
private int zi8_18;
private int zi8_19;
private int zi9_1;
private int zi9_2;
private int zi9_3;
private int zi9_4;
private int zi9_5;
private int zi9_6;
private int zi9_7;
private int zi9_8;
private int zi9_9;
private int zi9_10;
private int zi9_11;
private int zi9_12;
private int zi9_13;
private int zi9_14;
private int zi9_15;
private int zi9_16;
private int zi9_17;
private int zi9_18;
private int zi9_19;
private int zi10_1;
private int zi10_2;
private int zi10_3;
private int zi10_4;
private int zi10_5;
private int zi10_6;
private int zi10_7;
private int zi10_8;
private int zi10_9;
private int zi10_10;
private int zi10_11;
private int zi10_12;
private int zi10_13;
private int zi10_14;
private int zi10_15;
private int zi10_16;
private int zi10_17;
private int zi10_18;
private int zi10_19;
private int zi11_1;
private int zi11_2;
private int zi11_3;
private int zi11_4;
private int zi11_5;
private int zi11_6;
private int zi11_7;
private int zi11_8;
private int zi11_9;
private int zi11_10;
private int zi11_11;
private int zi11_12;
private int zi11_13;
private int zi11_14;
private int zi11_15;
private int zi11_16;
private int zi11_17;
private int zi11_18;
private int zi11_19;
private int zi12_1;
private int zi12_2;
private int zi12_3;
private int zi12_4;
private int zi12_5;
private int zi12_6;
private int zi12_7;
private int zi12_8;
private int zi12_9;
private int zi12_10;
private int zi12_11;
private int zi12_12;
private int zi12_13;
private int zi12_14;
private int zi12_15;
private int zi12_16;
private int zi12_17;
private int zi12_18;
private int zi12_19;
private int zi13_1;
private int zi13_2;
private int zi13_3;
private int zi13_4;
private int zi13_5;
private int zi13_6;
private int zi13_7;
private int zi13_8;
private int zi13_9;
private int zi13_10;
private int zi13_11;
private int zi13_12;
private int zi13_13;
private int zi13_14;
private int zi13_15;
private int zi13_16;
private int zi13_17;
private int zi13_18;
private int zi13_19;
private int zi14_1;
private int zi14_2;
private int zi14_3;
private int zi14_4;
private int zi14_5;
private int zi14_6;
private int zi14_7;
private int zi14_8;
private int zi14_9;
private int zi14_10;
private int zi14_11;
private int zi14_12;
private int zi14_13;
private int zi14_14;
private int zi14_15;
private int zi14_16;
private int zi14_17;
private int zi14_18;
private int zi14_19;
private int zi15_1;
private int zi15_2;
private int zi15_3;
private int zi15_4;
private int zi15_5;
private int zi15_6;
private int zi15_7;
private int zi15_8;
private int zi15_9;
private int zi15_10;
private int zi15_11;
private int zi15_12;
private int zi15_13;
private int zi15_14;
private int zi15_15;
private int zi15_16;
private int zi15_17;
private int zi15_18;
private int zi15_19;
private int zi16_1;
private int zi16_2;
private int zi16_3;
private int zi16_4;
private int zi16_5;
private int zi16_6;
private int zi16_7;
private int zi16_8;
private int zi16_9;
private int zi16_10;
private int zi16_11;
private int zi16_12;
private int zi16_13;
private int zi16_14;
private int zi16_15;
private int zi16_16;
private int zi16_17;
private int zi16_18;
private int zi16_19;
private int zi17_1;
private int zi17_2;
private int zi17_3;
private int zi17_4;
private int zi17_5;
private int zi17_6;
private int zi17_7;
private int zi17_8;
private int zi17_9;
private int zi17_10;
private int zi17_11;
private int zi17_12;
private int zi17_13;
private int zi17_14;
private int zi17_15;
private int zi17_16;
private int zi17_17;
private int zi17_18;
private int zi17_19;
private int zi18_1;
private int zi18_2;
private int zi18_3;
private int zi18_4;
private int zi18_5;
private int zi18_6;
private int zi18_7;
private int zi18_8;
private int zi18_9;
private int zi18_10;
private int zi18_11;
private int zi18_12;
private int zi18_13;
private int zi18_14;
private int zi18_15;
private int zi18_16;
private int zi18_17;
private int zi18_18;
private int zi18_19;
private int zi19_1;
private int zi19_2;
private int zi19_3;
private int zi19_4;
private int zi19_5;
private int zi19_6;
private int zi19_7;
private int zi19_8;
private int zi19_9;
private int zi19_10;
private int zi19_11;
private int zi19_12;
private int zi19_13;
private int zi19_14;
private int zi19_15;
private int zi19_16;
private int zi19_17;
private int zi19_18;
private int zi19_19;
private FormMain fm;
private int lun = 0;
private bool start = true;
private int hang = 0;
private int lie = 0;
private int hang_temp = 0;
private int lie_temp = 0;
private bool panduan = true;
string appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
private IniWriter gobangini;
//lun为1时是黑子走,lun为2时是白子走。
//zi数是1时,落子为黑子,是-1时,落子为白子。
public FormGobang(FormMain fm)
{
this.fm = fm;
this.gobangini = new IniWriter(appdata + @"\lge\gobanggame.ini");
this.panduan = fm.gobangpanduan;
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (start)
{
MessageBox.Show("游戏开始!", "游戏开始");
lun = 1;
start = false;
this.button1.Text = "重置游戏";
this.picturelun.Image = this.pictureblack.Image;
this.button5.Enabled = false;
Release();
}
else
{
if(MessageBox.Show("请问是否真的要重置游戏?", "是否重置", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
this.button1.Text = "开始游戏";
LockUp();
reset();
}
}
}
private void button2_Click(object sender, EventArgs e)
{
MessageBox.Show("这里是五子棋游玩室,在游玩前你需要知道以下几点:\n1.在点击游戏开始后,棋盘上所有位置的锁定都将解除。\n2.开始后,右下角会显示当前轮到哪一方走。\n3.你可以自己定谁当黑子,总之这里都是黑子先走。\n4.这个棋盘是19x19的,也就是说有361个格子。\n5.游戏中,你随时都可以点击退出或重置游戏!\n6.可以在赢的时候悔棋,但必须开始游戏并且走棋后才能悔棋。且需经过对方同意。\n4.游玩中只能悔棋两次,如果非要悔多次棋,请试图重置游戏。\n5.新功能不判断输赢是为了让玩家在玩五子棋以外的玩法时用的。例如围棋,同时悔棋按钮将会被锁定,因为只需要点击已走过的棋就可以让子消失了。\n玩的愉快!", "游戏规则");
}
private void button3_Click(object sender, EventArgs e)
{
if(MessageBox.Show("你确定要退出五子棋游戏吗,游戏进度是不保存的!", "是否退出", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
this.button1.Text = "开始游戏";
reset();
Close();
}
}
//左边数代表行,右边数代表列。
//1_1
private void pictureBox1_Click(object sender, EventArgs e)
{
this.pictureBox1.Image = usezi(ref zi1_1, 1, 1);
win();
}
//1_2
private void pictureBox2_Click(object sender, EventArgs e)
{
this.pictureBox2.Image = usezi(ref zi1_2, 1, 2);
win();
}
//1_3
private void pictureBox3_Click(object sender, EventArgs e)
{
this.pictureBox3.Image = usezi(ref zi1_3, 1, 3);
win();
}
//1_4
private void pictureBox4_Click(object sender, EventArgs e)
{
this.pictureBox4.Image = usezi(ref zi1_4, 1, 4);
win();
}
//1_5
private void pictureBox5_Click(object sender, EventArgs e)
{
this.pictureBox5.Image = usezi(ref zi1_5, 1, 5);
win();
}
//1_6
private void pictureBox6_Click(object sender, EventArgs e)
{
this.pictureBox6.Image = usezi(ref zi1_6, 1, 6);
win();
}
//1_7
private void pictureBox7_Click(object sender, EventArgs e)
{
this.pictureBox7.Image = usezi(ref zi1_7, 1, 7);
win();
}
//1_8
private void pictureBox8_Click(object sender, EventArgs e)
{
this.pictureBox8.Image = usezi(ref zi1_8, 1, 8);
win();
}
//1_9
private void pictureBox9_Click(object sender, EventArgs e)
{
this.pictureBox9.Image = usezi(ref zi1_9, 1, 9);
win();
}
//1_10
private void pictureBox10_Click(object sender, EventArgs e)
{
this.pictureBox10.Image = usezi(ref zi1_10, 1, 10);
win();
}
//1_11
private void pictureBox11_Click(object sender, EventArgs e)
{
this.pictureBox11.Image = usezi(ref zi1_11, 1, 11);
win();
}
//1_12
private void pictureBox12_Click(object sender, EventArgs e)
{
this.pictureBox12.Image = usezi(ref zi1_12, 1, 12);
win();
}
//1_13
private void pictureBox13_Click(object sender, EventArgs e)
{
this.pictureBox13.Image = usezi(ref zi1_13, 1, 13);
win();
}
//1_14
private void pictureBox14_Click(object sender, EventArgs e)
{
this.pictureBox14.Image = usezi(ref zi1_14, 1, 14);
win();
}
//1_15
private void pictureBox15_Click(object sender, EventArgs e)
{
this.pictureBox15.Image = usezi(ref zi1_15, 1, 15);
win();
}
//1_16
private void pictureBox16_Click(object sender, EventArgs e)
{
this.pictureBox16.Image = usezi(ref zi1_16, 1, 16);
win();
}
//1_17
private void pictureBox17_Click(object sender, EventArgs e)
{
this.pictureBox17.Image = usezi(ref zi1_17, 1, 17);
win();
}
//1_18
private void pictureBox18_Click(object sender, EventArgs e)
{
this.pictureBox18.Image = usezi(ref zi1_18, 1, 18);
win();
}
//1_19
private void pictureBox19_Click(object sender, EventArgs e)
{
this.pictureBox19.Image = usezi(ref zi1_19, 1, 19);
win();
}
//2_1
private void pictureBox20_Click(object sender, EventArgs e)
{
this.pictureBox20.Image = usezi(ref zi2_1, 2, 1);
win();
}
//2_2
private void pictureBox21_Click(object sender, EventArgs e)
{
this.pictureBox21.Image = usezi(ref zi2_2, 2, 2);
win();
}
//2_3
private void pictureBox22_Click(object sender, EventArgs e)
{
this.pictureBox22.Image = usezi(ref zi2_3, 2, 3);
win();
}
//2_4
private void pictureBox23_Click(object sender, EventArgs e)
{
this.pictureBox23.Image = usezi(ref zi2_4, 2, 4);
win();
}
//2_5
private void pictureBox24_Click(object sender, EventArgs e)
{
this.pictureBox24.Image = usezi(ref zi2_5, 2, 5);
win();
}
//2_6
private void pictureBox25_Click(object sender, EventArgs e)
{
this.pictureBox25.Image = usezi(ref zi2_6, 2, 6);
win();
}
//2_7
private void pictureBox26_Click(object sender, EventArgs e)
{
this.pictureBox26.Image = usezi(ref zi2_7, 2, 7);
win();
}
//2_8
private void pictureBox27_Click(object sender, EventArgs e)
{
this.pictureBox27.Image = usezi(ref zi2_8, 2, 8);
win();
}
//2_9
private void pictureBox28_Click(object sender, EventArgs e)
{
this.pictureBox28.Image = usezi(ref zi2_9, 2, 9);
win();
}
//2_10
private void pictureBox29_Click(object sender, EventArgs e)
{
this.pictureBox29.Image = usezi(ref zi2_10, 2, 10);
win();
}
//2_11
private void pictureBox30_Click(object sender, EventArgs e)
{
this.pictureBox30.Image = usezi(ref zi2_11, 2, 11);
win();
}
//2_12
private void pictureBox31_Click(object sender, EventArgs e)
{
this.pictureBox31.Image = usezi(ref zi2_12, 2, 12);
win();
}
//2_13
private void pictureBox32_Click(object sender, EventArgs e)
{
this.pictureBox32.Image = usezi(ref zi2_13, 2, 13);
win();
}
//2_14
private void pictureBox33_Click(object sender, EventArgs e)
{
this.pictureBox33.Image = usezi(ref zi2_14, 2, 14);
win();
}
//2_15
private void pictureBox34_Click(object sender, EventArgs e)
{
this.pictureBox34.Image = usezi(ref zi2_15, 2, 15);
win();
}
//2_16
private void pictureBox35_Click(object sender, EventArgs e)
{
this.pictureBox35.Image = usezi(ref zi3_16, 2, 16);
win();
}
//2_17
private void pictureBox36_Click(object sender, EventArgs e)
{
this.pictureBox36.Image = usezi(ref zi2_17, 2, 17);
win();
}
//2_18
private void pictureBox37_Click(object sender, EventArgs e)
{
this.pictureBox37.Image = usezi(ref zi2_18, 2, 18);
win();
}
//2_19
private void pictureBox38_Click(object sender, EventArgs e)
{
this.pictureBox38.Image = usezi(ref zi2_19, 2, 19);
win();
}
//3_1
private void pictureBox39_Click(object sender, EventArgs e)
{
this.pictureBox39.Image = usezi(ref zi3_1, 3, 1);
win();
}
//3_2
private void pictureBox40_Click(object sender, EventArgs e)
{
this.pictureBox40.Image = usezi(ref zi3_2, 3, 2);
win();
}
//3_3
private void pictureBox41_Click(object sender, EventArgs e)
{
this.pictureBox41.Image = usezi(ref zi3_3, 3, 3);
win();
}
//3_4
private void pictureBox42_Click(object sender, EventArgs e)
{
this.pictureBox42.Image = usezi(ref zi3_4, 3, 4);
win();
}
//3_5
private void pictureBox43_Click(object sender, EventArgs e)
{
this.pictureBox43.Image = usezi(ref zi3_5, 3, 5);
win();
}
//3_6
private void pictureBox44_Click(object sender, EventArgs e)
{
this.pictureBox44.Image = usezi(ref zi3_6, 3, 6);
win();
}
//3_7
private void pictureBox45_Click(object sender, EventArgs e)
{
this.pictureBox45.Image = usezi(ref zi3_7, 3, 7);
win();
}
//3_8
private void pictureBox46_Click(object sender, EventArgs e)
{
this.pictureBox46.Image = usezi(ref zi3_8, 3, 8);
win();
}
//3_9
private void pictureBox47_Click(object sender, EventArgs e)
{
this.pictureBox47.Image = usezi(ref zi3_9, 3, 9);
win();
}
//3_10
private void pictureBox48_Click(object sender, EventArgs e)
{
this.pictureBox48.Image = usezi(ref zi3_10, 3, 10);
win();
}
//3_11
private void pictureBox49_Click(object sender, EventArgs e)
{
this.pictureBox49.Image = usezi(ref zi3_11, 3, 11);
win();
}
//3_12
private void pictureBox50_Click(object sender, EventArgs e)
{
this.pictureBox50.Image = usezi(ref zi3_12, 3, 12);
win();
}
//3_13
private void pictureBox51_Click(object sender, EventArgs e)
{
this.pictureBox51.Image = usezi(ref zi3_13, 3, 13);
win();
}
//3_14
private void pictureBox52_Click(object sender, EventArgs e)
{
this.pictureBox52.Image = usezi(ref zi3_14, 3, 14);
win();
}
//3_15
private void pictureBox53_Click(object sender, EventArgs e)
{
this.pictureBox53.Image = usezi(ref zi3_15, 3, 15);
win();
}
//3_16
private void pictureBox54_Click(object sender, EventArgs e)
{
this.pictureBox54.Image = usezi(ref zi3_16, 3, 16);
win();
}
//3_17
private void pictureBox55_Click(object sender, EventArgs e)
{
this.pictureBox55.Image = usezi(ref zi3_17, 3, 17);
win();
}
//3_18
private void pictureBox56_Click(object sender, EventArgs e)
{
this.pictureBox56.Image = usezi(ref zi3_18, 3, 18);
win();
}
//3_19
private void pictureBox57_Click(object sender, EventArgs e)
{
this.pictureBox57.Image = usezi(ref zi3_19, 3, 19);
win();
}
//4_1
private void pictureBox58_Click(object sender, EventArgs e)
{
this.pictureBox58.Image = usezi(ref zi4_1, 4, 1);
win();
}
//4_2
private void pictureBox59_Click(object sender, EventArgs e)
{
this.pictureBox59.Image = usezi(ref zi4_2, 4, 2);
win();
}
//4_3
private void pictureBox60_Click(object sender, EventArgs e)
{
this.pictureBox60.Image = usezi(ref zi4_3, 4, 3);
win();
}
//4_4
private void pictureBox61_Click(object sender, EventArgs e)
{
this.pictureBox61.Image = usezi(ref zi4_4, 4, 4);
win();
}
//4_5
private void pictureBox62_Click(object sender, EventArgs e)
{
this.pictureBox62.Image = usezi(ref zi4_5, 4, 5);
win();
}
//4_6
private void pictureBox63_Click(object sender, EventArgs e)
{
this.pictureBox63.Image = usezi(ref zi4_6, 4, 6);
win();
}
//4_7
private void pictureBox64_Click(object sender, EventArgs e)
{
this.pictureBox64.Image = usezi(ref zi4_7, 4, 7);
win();
}
//4_8
private void pictureBox65_Click(object sender, EventArgs e)
{
this.pictureBox65.Image = usezi(ref zi4_8, 4, 8);
win();
}
//4_9
private void pictureBox66_Click(object sender, EventArgs e)
{
this.pictureBox66.Image = usezi(ref zi4_9, 4, 9);
win();
}
//4_10
private void pictureBox67_Click(object sender, EventArgs e)
{
this.pictureBox67.Image = usezi(ref zi4_10, 4, 10);
win();
}
//4_11
private void pictureBox68_Click(object sender, EventArgs e)
{
this.pictureBox68.Image = usezi(ref zi4_11, 4, 11);
win();
}
//4_12
private void pictureBox69_Click(object sender, EventArgs e)
{
this.pictureBox69.Image = usezi(ref zi4_12, 4, 12);
win();
}
//4_13
private void pictureBox70_Click(object sender, EventArgs e)
{
this.pictureBox70.Image = usezi(ref zi4_13, 4, 13);
win();
}
//4_14
private void pictureBox71_Click(object sender, EventArgs e)
{
this.pictureBox71.Image = usezi(ref zi4_14, 4, 14);
win();
}
//4_15
private void pictureBox72_Click(object sender, EventArgs e)
{
this.pictureBox72.Image = usezi(ref zi4_15, 4, 15);
win();
}
//4_16
private void pictureBox73_Click(object sender, EventArgs e)
{
this.pictureBox73.Image = usezi(ref zi4_16, 4, 16);
win();
}
//4_17
private void pictureBox74_Click(object sender, EventArgs e)
{
this.pictureBox74.Image = usezi(ref zi4_17, 4, 17);
win();
}
//4_18
private void pictureBox75_Click(object sender, EventArgs e)
{
this.pictureBox75.Image = usezi(ref zi4_18, 4, 18);
win();
}
//4_19
private void pictureBox76_Click(object sender, EventArgs e)
{
this.pictureBox76.Image = usezi(ref zi4_19, 4, 19);
win();
}
//5_1
private void pictureBox77_Click(object sender, EventArgs e)
{
this.pictureBox77.Image = usezi(ref zi5_1, 5, 1);
win();
}
//5_2
private void pictureBox78_Click(object sender, EventArgs e)
{
this.pictureBox78.Image = usezi(ref zi5_2, 5, 2);
win();
}
//5_3
private void pictureBox79_Click(object sender, EventArgs e)
{
this.pictureBox79.Image = usezi(ref zi5_3, 5, 3);
win();
}
//5_4
private void pictureBox80_Click(object sender, EventArgs e)
{
this.pictureBox80.Image = usezi(ref zi5_4, 5, 4);
win();
}
//5_5
private void pictureBox81_Click(object sender, EventArgs e)
{
this.pictureBox81.Image = usezi(ref zi5_5, 5, 5);
win();
}
//5_6
private void pictureBox82_Click(object sender, EventArgs e)
{
this.pictureBox82.Image = usezi(ref zi5_6, 5, 6);
win();
}
//5_7
private void pictureBox83_Click(object sender, EventArgs e)
{
this.pictureBox83.Image = usezi(ref zi5_7, 5, 7);
win();
}
//5_8
private void pictureBox84_Click(object sender, EventArgs e)
{
this.pictureBox84.Image = usezi(ref zi5_8, 5, 8);
win();
}
//5_9
private void pictureBox85_Click(object sender, EventArgs e)
{
this.pictureBox85.Image = usezi(ref zi5_9, 5, 9);
win();
}
//5_10
private void pictureBox86_Click(object sender, EventArgs e)
{
this.pictureBox86.Image = usezi(ref zi5_10, 5, 10);
win();
}
//5_11
private void pictureBox87_Click(object sender, EventArgs e)
{
this.pictureBox87.Image = usezi(ref zi5_11, 5, 11);
win();
}
//5_12
private void pictureBox88_Click(object sender, EventArgs e)
{
this.pictureBox88.Image = usezi(ref zi5_12, 5, 12);
win();
}
//5_13
private void pictureBox89_Click(object sender, EventArgs e)
{
this.pictureBox89.Image = usezi(ref zi5_13, 5, 13);
win();
}
//5_14
private void pictureBox90_Click(object sender, EventArgs e)
{
this.pictureBox90.Image = usezi(ref zi5_14, 5, 14);
win();
}
//5_15
private void pictureBox91_Click(object sender, EventArgs e)
{
this.pictureBox91.Image = usezi(ref zi5_15, 5, 15);
win();
}
//5_16
private void pictureBox92_Click(object sender, EventArgs e)
{
this.pictureBox92.Image = usezi(ref zi5_16, 5, 16);
win();
}
//5_17
private void pictureBox93_Click(object sender, EventArgs e)
{
this.pictureBox93.Image = usezi(ref zi5_17, 5, 17);
win();
}
//5_18
private void pictureBox94_Click(object sender, EventArgs e)
{
this.pictureBox94.Image = usezi(ref zi5_18, 5, 18);
win();
}
//5_19
private void pictureBox95_Click(object sender, EventArgs e)
{
this.pictureBox95.Image = usezi(ref zi5_19, 5, 19);
win();
}
//6_1
private void pictureBox96_Click(object sender, EventArgs e)
{
this.pictureBox96.Image = usezi(ref zi6_1, 6, 1);
win();
}
//6_2
private void pictureBox97_Click(object sender, EventArgs e)
{
this.pictureBox97.Image = usezi(ref zi6_2, 6, 2);
win();
}
//6_3
private void pictureBox98_Click(object sender, EventArgs e)
{
this.pictureBox98.Image = usezi(ref zi6_3, 6, 3);
win();
}
//6_4
private void pictureBox99_Click(object sender, EventArgs e)
{
this.pictureBox99.Image = usezi(ref zi6_4, 6, 4);
win();
}
//6_5
private void pictureBox100_Click(object sender, EventArgs e)
{
this.pictureBox100.Image = usezi(ref zi6_5, 6, 5);
win();
}
//6_6
private void pictureBox101_Click(object sender, EventArgs e)
{
this.pictureBox101.Image = usezi(ref zi6_6, 6, 6);
win();
}
//6_7
private void pictureBox102_Click(object sender, EventArgs e)
{
this.pictureBox102.Image = usezi(ref zi6_7, 6, 7);
win();
}
//6_8
private void pictureBox103_Click(object sender, EventArgs e)
{
this.pictureBox103.Image = usezi(ref zi6_8, 6, 8);
win();
}
//6_9
private void pictureBox104_Click(object sender, EventArgs e)
{
this.pictureBox104.Image = usezi(ref zi6_9, 6, 9);
win();
}
//6_10
private void pictureBox105_Click(object sender, EventArgs e)
{
this.pictureBox105.Image = usezi(ref zi6_10, 6, 10);
win();
}
//6_11
private void pictureBox106_Click(object sender, EventArgs e)
{
this.pictureBox106.Image = usezi(ref zi6_11, 6, 11);
win();
}
//6_12
private void pictureBox107_Click(object sender, EventArgs e)
{
this.pictureBox107.Image = usezi(ref zi6_12, 6, 12);
win();
}
//6_13
private void pictureBox108_Click(object sender, EventArgs e)
{
this.pictureBox108.Image = usezi(ref zi6_13, 6, 13);
win();
}
//6_14
private void pictureBox109_Click(object sender, EventArgs e)
{
this.pictureBox109.Image = usezi(ref zi6_14, 6, 14);
win();
}
//6_15
private void pictureBox110_Click(object sender, EventArgs e)
{
this.pictureBox110.Image = usezi(ref zi6_15, 6, 15);
win();
}
//6_16
private void pictureBox111_Click(object sender, EventArgs e)
{
this.pictureBox111.Image = usezi(ref zi6_16, 6, 16);
win();
}
//6_17
private void pictureBox112_Click(object sender, EventArgs e)
{
this.pictureBox112.Image = usezi(ref zi6_17, 6, 17);
win();
}
//6_18
private void pictureBox113_Click(object sender, EventArgs e)
{
this.pictureBox113.Image = usezi(ref zi6_18, 6, 18);
win();
}
//6_19
private void pictureBox114_Click(object sender, EventArgs e)
{
this.pictureBox114.Image = usezi(ref zi6_19, 6, 19);
win();
}
//7_1
private void pictureBox115_Click(object sender, EventArgs e)
{
this.pictureBox115.Image = usezi(ref zi7_1, 7, 1);
win();
}
//7_2
private void pictureBox116_Click(object sender, EventArgs e)
{
this.pictureBox116.Image = usezi(ref zi7_2, 7, 2);
win();
}
//7_3
private void pictureBox117_Click(object sender, EventArgs e)
{
this.pictureBox117.Image = usezi(ref zi7_3, 7, 3);
win();
}
//7_4
private void pictureBox118_Click(object sender, EventArgs e)
{
this.pictureBox118.Image = usezi(ref zi7_4, 7, 4);
win();
}
//7_5
private void pictureBox119_Click(object sender, EventArgs e)
{
this.pictureBox119.Image = usezi(ref zi7_5, 7, 5);
win();
}
//7_6
private void pictureBox120_Click(object sender, EventArgs e)
{
this.pictureBox120.Image = usezi(ref zi7_6, 7, 6);
win();
}
//7_7
private void pictureBox121_Click(object sender, EventArgs e)
{
this.pictureBox121.Image = usezi(ref zi7_7, 7, 7);
win();
}
//7_8
private void pictureBox122_Click(object sender, EventArgs e)
{
this.pictureBox122.Image = usezi(ref zi7_8, 7, 8);
win();
}
//7_9
private void pictureBox123_Click(object sender, EventArgs e)
{
this.pictureBox123.Image = usezi(ref zi7_9, 7, 9);
win();
}
//7_10
private void pictureBox124_Click(object sender, EventArgs e)
{
this.pictureBox124.Image = usezi(ref zi7_10, 7, 10);
win();
}
//7_11
private void pictureBox125_Click(object sender, EventArgs e)
{
this.pictureBox125.Image = usezi(ref zi7_11, 7, 11);
win();
}
//7_12
private void pictureBox126_Click(object sender, EventArgs e)
{
this.pictureBox126.Image = usezi(ref zi7_12, 7, 12);
win();
}
//7_13
private void pictureBox127_Click(object sender, EventArgs e)
{
this.pictureBox127.Image = usezi(ref zi7_13, 7, 13);
win();
}
//7_14
private void pictureBox128_Click(object sender, EventArgs e)
{
this.pictureBox128.Image = usezi(ref zi7_14, 7, 14);
win();
}
//7_15
private void pictureBox129_Click(object sender, EventArgs e)
{
this.pictureBox129.Image = usezi(ref zi7_15, 7, 15);
win();
}
//7_16
private void pictureBox130_Click(object sender, EventArgs e)
{
this.pictureBox130.Image = usezi(ref zi7_16, 7, 16);
win();
}
//7_17
private void pictureBox131_Click(object sender, EventArgs e)
{
this.pictureBox131.Image = usezi(ref zi7_17, 7, 17);
win();
}
//7_18
private void pictureBox132_Click(object sender, EventArgs e)
{
this.pictureBox132.Image = usezi(ref zi7_18, 7, 18);
win();
}
//7_19
private void pictureBox133_Click(object sender, EventArgs e)
{
this.pictureBox133.Image = usezi(ref zi7_19, 7, 19);
win();
}
//8_1
private void pictureBox134_Click(object sender, EventArgs e)
{
this.pictureBox134.Image = usezi(ref zi8_1, 8, 1);
win();
}
//8_2
private void pictureBox135_Click(object sender, EventArgs e)
{
this.pictureBox135.Image = usezi(ref zi8_2, 8, 2);
win();
}
//8_3
private void pictureBox136_Click(object sender, EventArgs e)
{
this.pictureBox136.Image = usezi(ref zi8_3, 8, 3);
win();
}
//8_4
private void pictureBox137_Click(object sender, EventArgs e)
{
this.pictureBox137.Image = usezi(ref zi8_4, 8, 4);
win();
}
//8_5
private void pictureBox138_Click(object sender, EventArgs e)
{
this.pictureBox138.Image = usezi(ref zi8_5, 8, 5);
win();
}
//8_6
private void pictureBox139_Click(object sender, EventArgs e)
{
this.pictureBox139.Image = usezi(ref zi8_6, 8, 6);
win();
}
//8_7
private void pictureBox140_Click(object sender, EventArgs e)
{
this.pictureBox140.Image = usezi(ref zi8_7, 8, 7);
win();
}
//8_8
private void pictureBox141_Click(object sender, EventArgs e)
{
this.pictureBox141.Image = usezi(ref zi8_8, 8, 8);
win();
}
//8_9
private void pictureBox142_Click(object sender, EventArgs e)
{
this.pictureBox142.Image = usezi(ref zi8_9, 8, 9);
win();
}
//8_10
private void pictureBox143_Click(object sender, EventArgs e)
{
this.pictureBox143.Image = usezi(ref zi8_10, 8, 10);
win();
}
//8_11
private void pictureBox144_Click(object sender, EventArgs e)
{
this.pictureBox144.Image = usezi(ref zi8_11, 8, 11);
win();
}
//8_12
private void pictureBox145_Click(object sender, EventArgs e)
{
this.pictureBox145.Image = usezi(ref zi8_12, 8, 12);
win();
}
//8_13
private void pictureBox146_Click(object sender, EventArgs e)
{
this.pictureBox146.Image = usezi(ref zi8_13, 8, 13);
win();
}
//8_14
private void pictureBox147_Click(object sender, EventArgs e)
{
this.pictureBox147.Image = usezi(ref zi8_14, 8, 14);
win();
}
//8_15
private void pictureBox148_Click(object sender, EventArgs e)
{
this.pictureBox148.Image = usezi(ref zi8_15, 8, 15);
win();
}
//8_16
private void pictureBox149_Click(object sender, EventArgs e)
{
this.pictureBox149.Image = usezi(ref zi8_16, 8, 16);
win();
}
//8_17
private void pictureBox150_Click(object sender, EventArgs e)
{
this.pictureBox150.Image = usezi(ref zi8_17, 8, 7);
win();
}
//8_18
private void pictureBox151_Click(object sender, EventArgs e)
{
this.pictureBox151.Image = usezi(ref zi8_18, 8, 18);
win();
}
//8_19
private void pictureBox152_Click(object sender, EventArgs e)
{
this.pictureBox152.Image = usezi(ref zi8_19, 8, 19);
win();
}
//9_1
private void pictureBox153_Click(object sender, EventArgs e)
{
this.pictureBox153.Image = usezi(ref zi9_1, 9, 1);
win();
}
//9_2
private void pictureBox154_Click(object sender, EventArgs e)
{
this.pictureBox154.Image = usezi(ref zi9_2, 9, 2);
win();
}
//9_3
private void pictureBox155_Click(object sender, EventArgs e)
{
this.pictureBox155.Image = usezi(ref zi9_3, 9, 3);
win();
}
//9_4
private void pictureBox156_Click(object sender, EventArgs e)
{
this.pictureBox156.Image = usezi(ref zi9_4, 9, 4);
win();
}
//9_5
private void pictureBox157_Click(object sender, EventArgs e)
{
this.pictureBox157.Image = usezi(ref zi9_5, 9, 5);
win();
}
//9_6
private void pictureBox158_Click(object sender, EventArgs e)
{
this.pictureBox158.Image = usezi(ref zi9_6, 9, 6);
win();
}
//9_7
private void pictureBox159_Click(object sender, EventArgs e)
{
this.pictureBox159.Image = usezi(ref zi9_7, 9, 7);
win();
}
//9_8
private void pictureBox160_Click(object sender, EventArgs e)
{
this.pictureBox160.Image = usezi(ref zi9_8, 9, 8);
win();
}
//9_9
private void pictureBox161_Click(object sender, EventArgs e)
{
this.pictureBox161.Image = usezi(ref zi9_9, 9, 9);
win();
}
//9_10
private void pictureBox162_Click(object sender, EventArgs e)
{
this.pictureBox162.Image = usezi(ref zi9_10, 9, 10);
win();
}
//9_11
private void pictureBox163_Click(object sender, EventArgs e)
{
this.pictureBox163.Image = usezi(ref zi9_11, 9, 11);
win();
}
//9_12
private void pictureBox164_Click(object sender, EventArgs e)
{
this.pictureBox164.Image = usezi(ref zi9_12, 9, 12);
win();
}
//9_13
private void pictureBox165_Click(object sender, EventArgs e)
{
this.pictureBox165.Image = usezi(ref zi9_13, 9, 13);
win();
}
//9_14
private void pictureBox166_Click(object sender, EventArgs e)
{
this.pictureBox166.Image = usezi(ref zi9_14, 9, 14);
win();
}
//9_15
private void pictureBox167_Click(object sender, EventArgs e)
{
this.pictureBox167.Image = usezi(ref zi9_15, 9, 15);
win();
}
//9_16
private void pictureBox168_Click(object sender, EventArgs e)
{
this.pictureBox168.Image = usezi(ref zi9_16, 9, 16);
win();
}
//9_17
private void pictureBox169_Click(object sender, EventArgs e)
{
this.pictureBox169.Image = usezi(ref zi9_17, 9, 17);
win();
}
//9_18
private void pictureBox170_Click(object sender, EventArgs e)
{
this.pictureBox170.Image = usezi(ref zi9_18, 9, 18);
win();
}
//9_19
private void pictureBox171_Click(object sender, EventArgs e)
{
this.pictureBox171.Image = usezi(ref zi9_19, 9, 19);
win();
}
//10_1
private void pictureBox172_Click(object sender, EventArgs e)
{
this.pictureBox172.Image = usezi(ref zi10_1, 10, 1);
win();
}
//10_2
private void pictureBox173_Click(object sender, EventArgs e)
{
this.pictureBox173.Image = usezi(ref zi10_2, 10, 2);
win();
}
//10_3
private void pictureBox174_Click(object sender, EventArgs e)
{
this.pictureBox174.Image = usezi(ref zi10_3, 10, 3);
win();
}
//10_4
private void pictureBox175_Click(object sender, EventArgs e)
{
this.pictureBox175.Image = usezi(ref zi10_4, 10, 4);
win();
}
//10_5
private void pictureBox176_Click(object sender, EventArgs e)
{
this.pictureBox176.Image = usezi(ref zi10_5, 10, 5);
win();
}
//10_6
private void pictureBox177_Click(object sender, EventArgs e)
{
this.pictureBox177.Image = usezi(ref zi10_6, 10, 6);
win();
}
//10_7
private void pictureBox178_Click(object sender, EventArgs e)
{
this.pictureBox178.Image = usezi(ref zi10_7, 10, 7);
win();
}
//10_8
private void pictureBox179_Click(object sender, EventArgs e)
{
this.pictureBox179.Image = usezi(ref zi10_8, 10, 8);
win();
}
//10_9
private void pictureBox180_Click(object sender, EventArgs e)
{
this.pictureBox180.Image = usezi(ref zi10_9, 10, 9);
win();
}
//10_10
private void pictureBox181_Click(object sender, EventArgs e)
{
this.pictureBox181.Image = usezi(ref zi10_10, 10, 10);
win();
}
//10_11
private void pictureBox182_Click(object sender, EventArgs e)
{
this.pictureBox182.Image = usezi(ref zi10_11, 10, 11);
win();
}
//10_12
private void pictureBox183_Click(object sender, EventArgs e)
{
this.pictureBox183.Image = usezi(ref zi10_12, 10, 12);
win();
}
//10_13
private void pictureBox184_Click(object sender, EventArgs e)
{
this.pictureBox184.Image = usezi(ref zi10_13, 10, 13);
win();
}
//10_14
private void pictureBox185_Click(object sender, EventArgs e)
{
this.pictureBox185.Image = usezi(ref zi10_14, 10, 14);
win();
}
//10_15
private void pictureBox186_Click(object sender, EventArgs e)
{
this.pictureBox186.Image = usezi(ref zi10_15, 10, 15);
win();
}
//10_16
private void pictureBox187_Click(object sender, EventArgs e)
{
this.pictureBox187.Image = usezi(ref zi10_16, 10, 16);
win();
}
//10_17
private void pictureBox188_Click(object sender, EventArgs e)
{
this.pictureBox188.Image = usezi(ref zi10_17, 10, 17);
win();
}
//10_18
private void pictureBox189_Click(object sender, EventArgs e)
{
this.pictureBox189.Image = usezi(ref zi10_18, 10, 18);
win();
}
//10_19
private void pictureBox190_Click(object sender, EventArgs e)
{
this.pictureBox190.Image = usezi(ref zi10_19, 10, 19);
win();
}
//11_1
private void pictureBox191_Click(object sender, EventArgs e)
{
this.pictureBox191.Image = usezi(ref zi11_1, 11, 1);
win();
}
//11_2
private void pictureBox192_Click(object sender, EventArgs e)
{
this.pictureBox192.Image = usezi(ref zi11_2, 11, 2);
win();
}
//11_3
private void pictureBox193_Click(object sender, EventArgs e)
{
this.pictureBox193.Image = usezi(ref zi11_3, 11, 3);
win();
}
//11_4
private void pictureBox194_Click(object sender, EventArgs e)
{
this.pictureBox194.Image = usezi(ref zi11_4, 11, 4);
win();
}
//11_5
private void pictureBox195_Click(object sender, EventArgs e)
{
this.pictureBox195.Image = usezi(ref zi11_5, 11, 5);
win();
}
//11_6
private void pictureBox196_Click(object sender, EventArgs e)
{
this.pictureBox196.Image = usezi(ref zi11_6, 11, 6);
win();
}
//11_7
private void pictureBox197_Click(object sender, EventArgs e)
{
this.pictureBox197.Image = usezi(ref zi11_7, 11, 7);
win();
}
//11_8
private void pictureBox198_Click(object sender, EventArgs e)
{
this.pictureBox198.Image = usezi(ref zi11_8, 11, 8);
win();
}
//11_9
private void pictureBox199_Click(object sender, EventArgs e)
{
this.pictureBox199.Image = usezi(ref zi11_9, 11, 9);
win();
}
//11_10
private void pictureBox200_Click(object sender, EventArgs e)
{
this.pictureBox200.Image = usezi(ref zi11_10, 11, 10);
win();
}
//11_11
private void pictureBox201_Click(object sender, EventArgs e)
{
this.pictureBox201.Image = usezi(ref zi11_11, 11, 11);
win();
}
//11_12
private void pictureBox202_Click(object sender, EventArgs e)
{
this.pictureBox202.Image = usezi(ref zi11_12, 11, 12);
win();
}
//11_13
private void pictureBox203_Click(object sender, EventArgs e)
{
this.pictureBox203.Image = usezi(ref zi11_13, 11, 13);
win();
}
//11_14
private void pictureBox204_Click(object sender, EventArgs e)
{
this.pictureBox204.Image = usezi(ref zi11_14, 11, 14);
win();
}
//11_15
private void pictureBox205_Click(object sender, EventArgs e)
{
this.pictureBox205.Image = usezi(ref zi11_15, 11, 15);
win();
}
//11_16
private void pictureBox206_Click(object sender, EventArgs e)
{
this.pictureBox206.Image = usezi(ref zi11_16, 11, 16);
win();
}
//11_17
private void pictureBox207_Click(object sender, EventArgs e)
{
this.pictureBox207.Image = usezi(ref zi11_17, 11, 17);
win();
}
//11_18
private void pictureBox208_Click(object sender, EventArgs e)
{
this.pictureBox208.Image = usezi(ref zi11_18, 11, 18);
win();
}
//11_19
private void pictureBox209_Click(object sender, EventArgs e)
{
this.pictureBox209.Image = usezi(ref zi11_19, 11, 19);
win();
}
//12_1
private void pictureBox210_Click(object sender, EventArgs e)
{
this.pictureBox210.Image = usezi(ref zi12_1, 12, 1);
win();
}
//12_2
private void pictureBox211_Click(object sender, EventArgs e)
{
this.pictureBox211.Image = usezi(ref zi12_2, 12, 2);
win();
}
//12_3
private void pictureBox212_Click(object sender, EventArgs e)
{
this.pictureBox212.Image = usezi(ref zi12_3, 12, 3);
win();
}
//12_4
private void pictureBox213_Click(object sender, EventArgs e)
{
this.pictureBox213.Image = usezi(ref zi12_4, 12, 4);
win();
}
//12_5
private void pictureBox214_Click(object sender, EventArgs e)
{
this.pictureBox214.Image = usezi(ref zi12_5, 12, 5);
win();
}
//12_6
private void pictureBox215_Click(object sender, EventArgs e)
{
this.pictureBox215.Image = usezi(ref zi12_6, 12, 6);
win();
}
//12_7
private void pictureBox216_Click(object sender, EventArgs e)
{
this.pictureBox216.Image = usezi(ref zi12_7, 12, 7);
win();
}
//12_8
private void pictureBox217_Click(object sender, EventArgs e)
{
this.pictureBox217.Image = usezi(ref zi12_8, 12, 8);
win();
}
//12_9
private void pictureBox218_Click(object sender, EventArgs e)
{
this.pictureBox218.Image = usezi(ref zi12_9, 12, 9);
win();
}
//12_10
private void pictureBox219_Click(object sender, EventArgs e)
{
this.pictureBox219.Image = usezi(ref zi12_10, 12, 10);
win();
}
//12_11
private void pictureBox220_Click(object sender, EventArgs e)
{
this.pictureBox220.Image = usezi(ref zi12_11, 12, 11);
win();
}
//12_12
private void pictureBox221_Click(object sender, EventArgs e)
{
this.pictureBox221.Image = usezi(ref zi12_12, 12, 12);
win();
}
//12_13
private void pictureBox222_Click(object sender, EventArgs e)
{
this.pictureBox222.Image = usezi(ref zi12_13, 12, 13);
win();
}
//12_14
private void pictureBox223_Click(object sender, EventArgs e)
{
this.pictureBox223.Image = usezi(ref zi12_14, 12, 14);
win();
}
//12_15
private void pictureBox224_Click(object sender, EventArgs e)
{
this.pictureBox224.Image = usezi(ref zi12_15, 12, 15);
win();
}
//12_16
private void pictureBox225_Click(object sender, EventArgs e)
{
this.pictureBox225.Image = usezi(ref zi12_16, 12, 16);
win();
}
//12_17
private void pictureBox226_Click(object sender, EventArgs e)
{
this.pictureBox226.Image = usezi(ref zi12_17, 12, 17);
win();
}
//12_18
private void pictureBox227_Click(object sender, EventArgs e)
{
this.pictureBox227.Image = usezi(ref zi12_18, 12, 18);
win();
}
//12_19
private void pictureBox228_Click(object sender, EventArgs e)
{
this.pictureBox228.Image = usezi(ref zi12_19, 12, 19);
win();
}
//13_1
private void pictureBox229_Click(object sender, EventArgs e)
{
this.pictureBox229.Image = usezi(ref zi13_1, 13, 1);
win();
}
//13_2
private void pictureBox230_Click(object sender, EventArgs e)
{
this.pictureBox230.Image = usezi(ref zi13_2, 13, 2);
win();
}
//13_3
private void pictureBox231_Click(object sender, EventArgs e)
{
this.pictureBox231.Image = usezi(ref zi13_3, 13, 3);
win();
}
//13_4
private void pictureBox232_Click(object sender, EventArgs e)
{
this.pictureBox232.Image = usezi(ref zi13_4, 13, 4);
win();
}
//13_5
private void pictureBox233_Click(object sender, EventArgs e)
{
this.pictureBox233.Image = usezi(ref zi13_5, 13, 5);
win();
}
//13_6
private void pictureBox234_Click(object sender, EventArgs e)
{
this.pictureBox234.Image = usezi(ref zi13_6, 13, 6);
win();
}
//13_7
private void pictureBox235_Click(object sender, EventArgs e)
{
this.pictureBox235.Image = usezi(ref zi13_7, 13, 7);
win();
}
//13_8
private void pictureBox236_Click(object sender, EventArgs e)
{
this.pictureBox236.Image = usezi(ref zi13_8, 13, 8);
win();
}
//13_9
private void pictureBox237_Click(object sender, EventArgs e)
{
this.pictureBox237.Image = usezi(ref zi13_9, 13, 9);
win();
}
//13_10
private void pictureBox238_Click(object sender, EventArgs e)
{
this.pictureBox238.Image = usezi(ref zi13_10, 13, 10);
win();
}
//13_11
private void pictureBox239_Click(object sender, EventArgs e)
{
this.pictureBox239.Image = usezi(ref zi13_11, 13, 11);
win();
}
//13_12
private void pictureBox240_Click(object sender, EventArgs e)
{
this.pictureBox240.Image = usezi(ref zi13_12, 13, 12);
win();
}
//13_13
private void pictureBox241_Click(object sender, EventArgs e)
{
this.pictureBox241.Image = usezi(ref zi13_13, 13, 13);
win();
}
//13_14
private void pictureBox242_Click(object sender, EventArgs e)
{
this.pictureBox242.Image = usezi(ref zi13_14, 13, 14);
win();
}
//13_15
private void pictureBox243_Click(object sender, EventArgs e)
{
this.pictureBox243.Image = usezi(ref zi13_15, 13, 15);
win();
}
//13_16
private void pictureBox244_Click(object sender, EventArgs e)
{
this.pictureBox244.Image = usezi(ref zi13_16, 13, 16);
win();
}
//13_17
private void pictureBox245_Click(object sender, EventArgs e)
{
this.pictureBox245.Image = usezi(ref zi13_17, 13, 17);
win();
}
//13_18
private void pictureBox246_Click(object sender, EventArgs e)
{
this.pictureBox246.Image = usezi(ref zi13_18, 13, 18);
win();
}
//13_19
private void pictureBox247_Click(object sender, EventArgs e)
{
this.pictureBox247.Image = usezi(ref zi13_19, 13, 19);
win();
}
//14_1
private void pictureBox248_Click(object sender, EventArgs e)
{
this.pictureBox248.Image = usezi(ref zi14_1, 14, 1);
win();
}
//14_2
private void pictureBox249_Click(object sender, EventArgs e)
{
this.pictureBox249.Image = usezi(ref zi14_2, 14, 2);
win();
}
//14_3
private void pictureBox250_Click(object sender, EventArgs e)
{
this.pictureBox250.Image = usezi(ref zi14_3, 14, 3);
win();
}
//14_4
private void pictureBox251_Click(object sender, EventArgs e)
{
this.pictureBox251.Image = usezi(ref zi14_4, 14, 4);
win();
}
//14_5
private void pictureBox252_Click(object sender, EventArgs e)
{
this.pictureBox252.Image = usezi(ref zi14_5, 14, 5);
win();
}
//14_6
private void pictureBox253_Click(object sender, EventArgs e)
{
this.pictureBox253.Image = usezi(ref zi14_6, 14, 6);
win();
}
//14_7
private void pictureBox254_Click(object sender, EventArgs e)
{
this.pictureBox254.Image = usezi(ref zi14_7, 14, 7);
win();
}
//14_8
private void pictureBox255_Click(object sender, EventArgs e)
{
this.pictureBox255.Image = usezi(ref zi14_8, 14, 8);
win();
}
//14_9
private void pictureBox256_Click(object sender, EventArgs e)
{
this.pictureBox256.Image = usezi(ref zi14_9, 14, 9);
win();
}
//14_10
private void pictureBox257_Click(object sender, EventArgs e)
{
this.pictureBox257.Image = usezi(ref zi14_10, 14, 10);
win();
}
//14_11
private void pictureBox258_Click(object sender, EventArgs e)
{
this.pictureBox258.Image = usezi(ref zi14_11, 14, 11);
win();
}
//14_12
private void pictureBox259_Click(object sender, EventArgs e)
{
this.pictureBox259.Image = usezi(ref zi14_12, 14, 12);
win();
}
//14_13
private void pictureBox260_Click(object sender, EventArgs e)
{
this.pictureBox260.Image = usezi(ref zi14_13, 14, 13);
win();
}
//14_14
private void pictureBox261_Click(object sender, EventArgs e)
{
this.pictureBox261.Image = usezi(ref zi14_14, 14, 14);
win();
}
//14_15
private void pictureBox262_Click(object sender, EventArgs e)
{
this.pictureBox262.Image = usezi(ref zi14_15, 14, 15);
win();
}
//14_16
private void pictureBox263_Click(object sender, EventArgs e)
{
this.pictureBox263.Image = usezi(ref zi14_16, 14, 16);
win();
}
//14_17
private void pictureBox264_Click(object sender, EventArgs e)
{
this.pictureBox264.Image = usezi(ref zi14_17, 14, 17);
win();
}
//14_18
private void pictureBox265_Click(object sender, EventArgs e)
{
this.pictureBox265.Image = usezi(ref zi14_18, 14, 18);
win();
}
//14_19
private void pictureBox266_Click(object sender, EventArgs e)
{
this.pictureBox266.Image = usezi(ref zi14_19, 14, 19);
win();
}
//15_1
private void pictureBox267_Click(object sender, EventArgs e)
{
this.pictureBox267.Image = usezi(ref zi15_1, 15, 1);
win();
}
//15_2
private void pictureBox268_Click(object sender, EventArgs e)
{
this.pictureBox268.Image = usezi(ref zi15_2, 15, 2);
win();
}
//15_3
private void pictureBox269_Click(object sender, EventArgs e)
{
this.pictureBox269.Image = usezi(ref zi15_3, 15, 3);
win();
}
//15_4
private void pictureBox270_Click(object sender, EventArgs e)
{
this.pictureBox270.Image = usezi(ref zi15_4, 15, 4);
win();
}
//15_5
private void pictureBox271_Click(object sender, EventArgs e)
{
this.pictureBox271.Image = usezi(ref zi15_5, 15, 5);
win();
}
//15_6
private void pictureBox272_Click(object sender, EventArgs e)
{
this.pictureBox272.Image = usezi(ref zi15_6, 15, 6);
win();
}
//15_7
private void pictureBox273_Click(object sender, EventArgs e)
{
this.pictureBox273.Image = usezi(ref zi15_7, 15, 7);
win();
}
//15_8
private void pictureBox274_Click(object sender, EventArgs e)
{
this.pictureBox274.Image = usezi(ref zi15_8, 15, 8);
win();
}
//15_9
private void pictureBox275_Click(object sender, EventArgs e)
{
this.pictureBox275.Image = usezi(ref zi15_9, 15, 9);
win();
}
//15_10
private void pictureBox276_Click(object sender, EventArgs e)
{
this.pictureBox276.Image = usezi(ref zi15_10, 15, 10);
win();
}
//15_11
private void pictureBox277_Click(object sender, EventArgs e)
{
this.pictureBox277.Image = usezi(ref zi15_11, 15, 11);
win();
}
//15_12
private void pictureBox278_Click(object sender, EventArgs e)
{
this.pictureBox278.Image = usezi(ref zi15_12, 15, 12);
win();
}
//15_13
private void pictureBox279_Click(object sender, EventArgs e)
{
this.pictureBox279.Image = usezi(ref zi15_13, 15, 13);
win();
}
//15_14
private void pictureBox280_Click(object sender, EventArgs e)
{
this.pictureBox280.Image = usezi(ref zi15_14, 15, 14);
win();
}
//15_15
private void pictureBox281_Click(object sender, EventArgs e)
{
this.pictureBox281.Image = usezi(ref zi15_15, 15, 15);
win();
}
//15_16
private void pictureBox282_Click(object sender, EventArgs e)
{
this.pictureBox282.Image = usezi(ref zi15_16, 15, 16);
win();
}
//15_17
private void pictureBox283_Click(object sender, EventArgs e)
{
this.pictureBox283.Image = usezi(ref zi15_17, 15, 17);
win();
}
//15_18
private void pictureBox284_Click(object sender, EventArgs e)
{
this.pictureBox284.Image = usezi(ref zi15_18, 15, 18);
win();
}
//15_19
private void pictureBox285_Click(object sender, EventArgs e)
{
this.pictureBox285.Image = usezi(ref zi15_19, 15, 19);
win();
}
//16_1
private void pictureBox286_Click(object sender, EventArgs e)
{
this.pictureBox286.Image = usezi(ref zi16_1, 16, 1);
win();
}
//16_2
private void pictureBox287_Click(object sender, EventArgs e)
{
this.pictureBox287.Image = usezi(ref zi16_2, 16, 2);
win();
}
//16_3
private void pictureBox288_Click(object sender, EventArgs e)
{
this.pictureBox288.Image = usezi(ref zi16_3, 16, 3);
win();
}
//16_4
private void pictureBox289_Click(object sender, EventArgs e)
{
this.pictureBox289.Image = usezi(ref zi16_4, 16, 4);
win();
}
//16_5
private void pictureBox290_Click(object sender, EventArgs e)
{
this.pictureBox290.Image = usezi(ref zi16_5, 16, 5);
win();
}
//16_6
private void pictureBox291_Click(object sender, EventArgs e)
{
this.pictureBox291.Image = usezi(ref zi16_6, 16, 6);
win();
}
//16_7
private void pictureBox292_Click(object sender, EventArgs e)
{
this.pictureBox292.Image = usezi(ref zi16_7, 16, 7);
win();
}
//16_8
private void pictureBox293_Click(object sender, EventArgs e)
{
this.pictureBox293.Image = usezi(ref zi16_8, 16, 8);
win();
}
//16_9
private void pictureBox294_Click(object sender, EventArgs e)
{
this.pictureBox294.Image = usezi(ref zi16_9, 16, 9);
win();
}
//16_10
private void pictureBox295_Click(object sender, EventArgs e)
{
this.pictureBox295.Image = usezi(ref zi16_10, 16, 10);
win();
}
//16_11
private void pictureBox296_Click(object sender, EventArgs e)
{
this.pictureBox296.Image = usezi(ref zi16_11, 16, 11);
win();
}
//16_12
private void pictureBox297_Click(object sender, EventArgs e)
{
this.pictureBox297.Image = usezi(ref zi16_12, 16, 12);
win();
}
//16_13
private void pictureBox298_Click(object sender, EventArgs e)
{
this.pictureBox298.Image = usezi(ref zi16_13, 16, 13);
win();
}
//16_14
private void pictureBox299_Click(object sender, EventArgs e)
{
this.pictureBox299.Image = usezi(ref zi16_14, 16, 14);
win();
}
//16_15
private void pictureBox300_Click(object sender, EventArgs e)
{
this.pictureBox300.Image = usezi(ref zi16_15, 16, 15);
win();
}
//16_16
private void pictureBox301_Click(object sender, EventArgs e)
{
this.pictureBox301.Image = usezi(ref zi16_16, 16, 16);
win();
}
//16_17
private void pictureBox302_Click(object sender, EventArgs e)
{
this.pictureBox302.Image = usezi(ref zi16_17, 16, 17);
win();
}
//16_18
private void pictureBox303_Click(object sender, EventArgs e)
{
this.pictureBox303.Image = usezi(ref zi16_18, 16, 18);
win();
}
//16_19
private void pictureBox304_Click(object sender, EventArgs e)
{
this.pictureBox304.Image = usezi(ref zi16_19, 16, 19);
win();
}
//17_1
private void pictureBox305_Click(object sender, EventArgs e)
{
this.pictureBox305.Image = usezi(ref zi17_1, 17, 1);
win();
}
//17_2
private void pictureBox306_Click(object sender, EventArgs e)
{
this.pictureBox306.Image = usezi(ref zi17_2, 17, 2);
win();
}
//17_3
private void pictureBox307_Click(object sender, EventArgs e)
{
this.pictureBox307.Image = usezi(ref zi17_3, 17, 3);
win();
}
//17_4
private void pictureBox308_Click(object sender, EventArgs e)
{
this.pictureBox308.Image = usezi(ref zi17_4, 17, 4);
win();
}
//17_5
private void pictureBox309_Click(object sender, EventArgs e)
{
this.pictureBox309.Image = usezi(ref zi17_5, 17, 5);
win();
}
//17_6
private void pictureBox310_Click(object sender, EventArgs e)
{
this.pictureBox310.Image = usezi(ref zi17_6, 17, 6);
win();
}
//17_7
private void pictureBox311_Click(object sender, EventArgs e)
{
this.pictureBox311.Image = usezi(ref zi17_7, 17, 7);
win();
}
//17_8
private void pictureBox312_Click(object sender, EventArgs e)
{
this.pictureBox312.Image = usezi(ref zi17_8, 17, 8);
win();
}
//17_9
private void pictureBox313_Click(object sender, EventArgs e)
{
this.pictureBox313.Image = usezi(ref zi17_9, 17, 9);
win();
}
//17_10
private void pictureBox314_Click(object sender, EventArgs e)
{
this.pictureBox314.Image = usezi(ref zi17_10, 17, 10);
win();
}
//17_11
private void pictureBox315_Click(object sender, EventArgs e)
{
this.pictureBox315.Image = usezi(ref zi17_11, 17, 11);
win();
}
//17_12
private void pictureBox316_Click(object sender, EventArgs e)
{
this.pictureBox316.Image = usezi(ref zi17_12, 17, 12);
win();
}
//17_13
private void pictureBox317_Click(object sender, EventArgs e)
{
this.pictureBox317.Image = usezi(ref zi17_13, 17, 13);
win();
}
//17_14
private void pictureBox318_Click(object sender, EventArgs e)
{
this.pictureBox318.Image = usezi(ref zi17_14, 17, 14);
win();
}
//17_15
private void pictureBox319_Click(object sender, EventArgs e)
{
this.pictureBox319.Image = usezi(ref zi17_15, 17, 15);
win();
}
//17_16
private void pictureBox320_Click(object sender, EventArgs e)
{
this.pictureBox320.Image = usezi(ref zi17_16, 17, 16);
win();
}
//17_17
private void pictureBox321_Click(object sender, EventArgs e)
{
this.pictureBox321.Image = usezi(ref zi17_17, 17, 17);
win();
}
//17_18
private void pictureBox322_Click(object sender, EventArgs e)
{
this.pictureBox322.Image = usezi(ref zi17_18, 17, 18);
win();
}
//17_19
private void pictureBox323_Click(object sender, EventArgs e)
{
this.pictureBox323.Image = usezi(ref zi17_19, 17, 19);
win();
}
//18_1
private void pictureBox324_Click(object sender, EventArgs e)
{
this.pictureBox324.Image = usezi(ref zi18_1, 18, 1);
win();
}
//18_2
private void pictureBox325_Click(object sender, EventArgs e)
{
this.pictureBox325.Image = usezi(ref zi18_2, 18, 2);
win();
}
//18_3
private void pictureBox326_Click(object sender, EventArgs e)
{
this.pictureBox326.Image = usezi(ref zi18_3, 18, 3);
win();
}
//18_4
private void pictureBox327_Click(object sender, EventArgs e)
{
this.pictureBox327.Image = usezi(ref zi18_4, 18, 4);
win();
}
//18_5
private void pictureBox328_Click(object sender, EventArgs e)
{
this.pictureBox328.Image = usezi(ref zi18_5, 18, 5);
win();
}
//18_6
private void pictureBox329_Click(object sender, EventArgs e)
{
this.pictureBox329.Image = usezi(ref zi18_6, 18, 6);
win();
}
//18_7
private void pictureBox330_Click(object sender, EventArgs e)
{
this.pictureBox330.Image = usezi(ref zi18_7, 18, 7);
win();
}
//18_8
private void pictureBox331_Click(object sender, EventArgs e)
{
this.pictureBox331.Image = usezi(ref zi18_8, 18, 8);
win();
}
//18_9
private void pictureBox332_Click(object sender, EventArgs e)
{
this.pictureBox332.Image = usezi(ref zi18_9, 18, 9);
win();
}
//18_10
private void pictureBox333_Click(object sender, EventArgs e)
{
this.pictureBox333.Image = usezi(ref zi18_10, 18, 10);
win();
}
//18_11
private void pictureBox334_Click(object sender, EventArgs e)
{
this.pictureBox334.Image = usezi(ref zi18_11, 18, 11);
win();
}
//18_12
private void pictureBox335_Click(object sender, EventArgs e)
{
this.pictureBox335.Image = usezi(ref zi18_12, 18, 12);
win();
}
//18_13
private void pictureBox336_Click(object sender, EventArgs e)
{
this.pictureBox336.Image = usezi(ref zi18_13, 18, 13);
win();
}
//18_14
private void pictureBox337_Click(object sender, EventArgs e)
{
this.pictureBox337.Image = usezi(ref zi18_14, 18, 14);
win();
}
//18_15
private void pictureBox338_Click(object sender, EventArgs e)
{
this.pictureBox338.Image = usezi(ref zi18_15, 18, 15);
win();
}
//18_16
private void pictureBox339_Click(object sender, EventArgs e)
{
this.pictureBox339.Image = usezi(ref zi18_16, 18, 16);
win();
}
//18_17
private void pictureBox340_Click(object sender, EventArgs e)
{
this.pictureBox340.Image = usezi(ref zi18_17, 18, 17);
win();
}
//18_18
private void pictureBox341_Click(object sender, EventArgs e)
{
this.pictureBox341.Image = usezi(ref zi18_18, 18, 18);
win();
}
//18_19
private void pictureBox342_Click(object sender, EventArgs e)
{
this.pictureBox342.Image = usezi(ref zi18_19, 18, 19);
win();
}
//19_1
private void pictureBox343_Click(object sender, EventArgs e)
{
this.pictureBox343.Image = usezi(ref zi19_1, 19, 1);
win();
}
//19_2
private void pictureBox344_Click(object sender, EventArgs e)
{
this.pictureBox344.Image = usezi(ref zi19_2, 19, 2);
win();
}
//19_3
private void pictureBox345_Click(object sender, EventArgs e)
{
this.pictureBox345.Image = usezi(ref zi19_3, 19, 3);
win();
}
//19_4
private void pictureBox346_Click(object sender, EventArgs e)
{
this.pictureBox346.Image = usezi(ref zi19_4, 19, 4);
win();
}
//19_5
private void pictureBox347_Click(object sender, EventArgs e)
{
this.pictureBox347.Image = usezi(ref zi19_5, 19, 5);
win();
}
//19_6
private void pictureBox348_Click(object sender, EventArgs e)
{
this.pictureBox348.Image = usezi(ref zi19_6, 19, 6);
win();
}
//19_7
private void pictureBox349_Click(object sender, EventArgs e)
{
this.pictureBox349.Image = usezi(ref zi19_7, 19, 7);
win();
}
//19_8
private void pictureBox350_Click(object sender, EventArgs e)
{
this.pictureBox350.Image = usezi(ref zi19_8, 19, 8);
win();
}
//19_9
private void pictureBox351_Click(object sender, EventArgs e)
{
this.pictureBox351.Image = usezi(ref zi19_9, 19, 9);
win();
}
//19_10
private void pictureBox352_Click(object sender, EventArgs e)
{
this.pictureBox352.Image = usezi(ref zi19_10, 19, 10);
win();
}
//19_11
private void pictureBox353_Click(object sender, EventArgs e)
{
this.pictureBox353.Image = usezi(ref zi19_11, 19, 11);
win();
}
//19_12
private void pictureBox354_Click(object sender, EventArgs e)
{
this.pictureBox354.Image = usezi(ref zi19_12, 19, 12);
win();
}
//19_13
private void pictureBox355_Click(object sender, EventArgs e)
{
this.pictureBox355.Image = usezi(ref zi19_13, 19, 13);
win();
}
//19_14
private void pictureBox356_Click(object sender, EventArgs e)
{
this.pictureBox356.Image = usezi(ref zi19_14, 19, 14);
win();
}
//19_15
private void pictureBox357_Click(object sender, EventArgs e)
{
this.pictureBox357.Image = usezi(ref zi19_15, 19, 15);
win();
}
//19_16
private void pictureBox358_Click(object sender, EventArgs e)
{
this.pictureBox358.Image = usezi(ref zi19_16, 19, 16);
win();
}
//19_17
private void pictureBox359_Click(object sender, EventArgs e)
{
this.pictureBox359.Image = usezi(ref zi19_17, 19, 17);
win();
}
//19_18
private void pictureBox360_Click(object sender, EventArgs e)
{
this.pictureBox360.Image = usezi(ref zi19_18, 19, 18);
win();
}
//19_19
private void pictureBox361_Click(object sender, EventArgs e)
{
this.pictureBox361.Image = usezi(ref zi19_19, 19, 19);
win();
}
//悔棋按钮
private void button4_Click(object sender, EventArgs e)
{
if(hang == 0 || lie == 0)
{
MessageBox.Show("如果你看到了此对话框,说明你没按照要求玩五子棋。可能的原因如下:\n1.你在没有开始游戏的时候就按下了悔棋。\n2.你在已经悔过两次棋后再悔了一次棋。\n3.由于未知错误,使得hang变量与lie变量没有成功的赋值。");
return;
}
switch (hang)
{
case 1:
switch (lie)
{
case 1:
huiqi(ref zi1_1);
this.pictureBox1.Image = null;
break;
case 2:
huiqi(ref zi1_2);
this.pictureBox2.Image = null;
break;
case 3:
huiqi(ref zi1_3);
this.pictureBox3.Image = null;
break;
case 4:
huiqi(ref zi1_4);
this.pictureBox4.Image = null;
break;
case 5:
huiqi(ref zi1_5);
this.pictureBox5.Image = null;
break;
case 6:
huiqi(ref zi1_6);
this.pictureBox6.Image = null;
break;
case 7:
huiqi(ref zi1_7);
this.pictureBox7.Image = null;
break;
case 8:
huiqi(ref zi1_8);
this.pictureBox8.Image = null;
break;
case 9:
huiqi(ref zi1_9);
this.pictureBox9.Image = null;
break;
case 10:
huiqi(ref zi1_10);
this.pictureBox10.Image = null;
break;
case 11:
huiqi(ref zi1_11);
this.pictureBox11.Image = null;
break;
case 12:
huiqi(ref zi1_12);
this.pictureBox12.Image = null;
break;
case 13:
huiqi(ref zi1_13);
this.pictureBox13.Image = null;
break;
case 14:
huiqi(ref zi1_14);
this.pictureBox14.Image = null;
break;
case 15:
huiqi(ref zi1_15);
this.pictureBox15.Image = null;
break;
case 16:
huiqi(ref zi1_16);
this.pictureBox16.Image = null;
break;
case 17:
huiqi(ref zi1_17);
this.pictureBox17.Image = null;
break;
case 18:
huiqi(ref zi1_18);
this.pictureBox18.Image = null;
break;
case 19:
huiqi(ref zi1_19);
this.pictureBox19.Image = null;
break;
}
break;
case 2:
switch (lie)
{
case 1:
huiqi(ref zi2_1);
this.pictureBox20.Image = null;
break;
case 2:
huiqi(ref zi2_2);
this.pictureBox21.Image = null;
break;
case 3:
huiqi(ref zi2_3);
this.pictureBox22.Image = null;
break;
case 4:
huiqi(ref zi2_4);
this.pictureBox23.Image = null;
break;
case 5:
huiqi(ref zi2_5);
this.pictureBox24.Image = null;
break;
case 6:
huiqi(ref zi2_6);
this.pictureBox25.Image = null;
break;
case 7:
huiqi(ref zi2_7);
this.pictureBox26.Image = null;
break;
case 8:
huiqi(ref zi2_8);
this.pictureBox27.Image = null;
break;
case 9:
huiqi(ref zi2_9);
this.pictureBox28.Image = null;
break;
case 10:
huiqi(ref zi2_10);
this.pictureBox29.Image = null;
break;
case 11:
huiqi(ref zi2_11);
this.pictureBox30.Image = null;
break;
case 12:
huiqi(ref zi2_12);
this.pictureBox31.Image = null;
break;
case 13:
huiqi(ref zi2_13);
this.pictureBox32.Image = null;
break;
case 14:
huiqi(ref zi2_14);
this.pictureBox33.Image = null;
break;
case 15:
huiqi(ref zi2_15);
this.pictureBox34.Image = null;
break;
case 16:
huiqi(ref zi2_16);
this.pictureBox35.Image = null;
break;
case 17:
huiqi(ref zi2_17);
this.pictureBox36.Image = null;
break;
case 18:
huiqi(ref zi2_18);
this.pictureBox37.Image = null;
break;
case 19:
huiqi(ref zi2_19);
this.pictureBox38.Image = null;
break;
}
break;
case 3:
switch (lie)
{
case 1:
huiqi(ref zi3_1);
this.pictureBox39.Image = null;
break;
case 2:
huiqi(ref zi3_2);
this.pictureBox40.Image = null;
break;
case 3:
huiqi(ref zi3_3);
this.pictureBox41.Image = null;
break;
case 4:
huiqi(ref zi3_4);
this.pictureBox42.Image = null;
break;
case 5:
huiqi(ref zi3_5);
this.pictureBox43.Image = null;
break;
case 6:
huiqi(ref zi3_6);
this.pictureBox44.Image = null;
break;
case 7:
huiqi(ref zi3_7);
this.pictureBox45.Image = null;
break;
case 8:
huiqi(ref zi3_8);
this.pictureBox46.Image = null;
break;
case 9:
huiqi(ref zi3_9);
this.pictureBox47.Image = null;
break;
case 10:
huiqi(ref zi3_10);
this.pictureBox48.Image = null;
break;
case 11:
huiqi(ref zi3_11);
this.pictureBox49.Image = null;
break;
case 12:
huiqi(ref zi3_12);
this.pictureBox50.Image = null;
break;
case 13:
huiqi(ref zi3_13);
this.pictureBox51.Image = null;
break;
case 14:
huiqi(ref zi3_14);
this.pictureBox52.Image = null;
break;
case 15:
huiqi(ref zi3_15);
this.pictureBox53.Image = null;
break;
case 16:
huiqi(ref zi3_16);
this.pictureBox54.Image = null;
break;
case 17:
huiqi(ref zi3_17);
this.pictureBox55.Image = null;
break;
case 18:
huiqi(ref zi3_18);
this.pictureBox56.Image = null;
break;
case 19:
huiqi(ref zi3_19);
this.pictureBox57.Image = null;
break;
}
break;
case 4:
switch (lie)
{
case 1:
huiqi(ref zi4_1);
this.pictureBox58.Image = null;
break;
case 2:
huiqi(ref zi4_2);
this.pictureBox59.Image = null;
break;
case 3:
huiqi(ref zi4_3);
this.pictureBox60.Image = null;
break;
case 4:
huiqi(ref zi4_4);
this.pictureBox61.Image = null;
break;
case 5:
huiqi(ref zi4_5);
this.pictureBox62.Image = null;
break;
case 6:
huiqi(ref zi4_6);
this.pictureBox63.Image = null;
break;
case 7:
huiqi(ref zi4_7);
this.pictureBox64.Image = null;
break;
case 8:
huiqi(ref zi4_8);
this.pictureBox65.Image = null;
break;
case 9:
huiqi(ref zi4_9);
this.pictureBox66.Image = null;
break;
case 10:
huiqi(ref zi4_10);
this.pictureBox67.Image = null;
break;
case 11:
huiqi(ref zi4_11);
this.pictureBox68.Image = null;
break;
case 12:
huiqi(ref zi4_12);
this.pictureBox69.Image = null;
break;
case 13:
huiqi(ref zi4_13);
this.pictureBox70.Image = null;
break;
case 14:
huiqi(ref zi4_14);
this.pictureBox71.Image = null;
break;
case 15:
huiqi(ref zi4_15);
this.pictureBox72.Image = null;
break;
case 16:
huiqi(ref zi4_16);
this.pictureBox73.Image = null;
break;
case 17:
huiqi(ref zi4_17);
this.pictureBox74.Image = null;
break;
case 18:
huiqi(ref zi4_18);
this.pictureBox75.Image = null;
break;
case 19:
huiqi(ref zi4_19);
this.pictureBox76.Image = null;
break;
}
break;
case 5:
switch (lie)
{
case 1:
huiqi(ref zi5_1);
this.pictureBox77.Image = null;
break;
case 2:
huiqi(ref zi5_2);
this.pictureBox78.Image = null;
break;
case 3:
huiqi(ref zi5_3);
this.pictureBox79.Image = null;
break;
case 4:
huiqi(ref zi5_4);
this.pictureBox80.Image = null;
break;
case 5:
huiqi(ref zi5_5);
this.pictureBox81.Image = null;
break;
case 6:
huiqi(ref zi5_6);
this.pictureBox82.Image = null;
break;
case 7:
huiqi(ref zi5_7);
this.pictureBox83.Image = null;
break;
case 8:
huiqi(ref zi5_8);
this.pictureBox84.Image = null;
break;
case 9:
huiqi(ref zi5_9);
this.pictureBox85.Image = null;
break;
case 10:
huiqi(ref zi5_10);
this.pictureBox86.Image = null;
break;
case 11:
huiqi(ref zi5_11);
this.pictureBox87.Image = null;
break;
case 12:
huiqi(ref zi5_12);
this.pictureBox88.Image = null;
break;
case 13:
huiqi(ref zi5_13);
this.pictureBox89.Image = null;
break;
case 14:
huiqi(ref zi5_14);
this.pictureBox90.Image = null;
break;
case 15:
huiqi(ref zi5_15);
this.pictureBox91.Image = null;
break;
case 16:
huiqi(ref zi5_16);
this.pictureBox92.Image = null;
break;
case 17:
huiqi(ref zi5_17);
this.pictureBox93.Image = null;
break;
case 18:
huiqi(ref zi5_18);
this.pictureBox94.Image = null;
break;
case 19:
huiqi(ref zi5_19);
this.pictureBox95.Image = null;
break;
}
break;
case 6:
switch (lie)
{
case 1:
huiqi(ref zi6_1);
this.pictureBox96.Image = null;
break;
case 2:
huiqi(ref zi6_2);
this.pictureBox97.Image = null;
break;
case 3:
huiqi(ref zi6_3);
this.pictureBox98.Image = null;
break;
case 4:
huiqi(ref zi6_4);
this.pictureBox99.Image = null;
break;
case 5:
huiqi(ref zi6_5);
this.pictureBox100.Image = null;
break;
case 6:
huiqi(ref zi6_6);
this.pictureBox101.Image = null;
break;
case 7:
huiqi(ref zi6_7);
this.pictureBox102.Image = null;
break;
case 8:
huiqi(ref zi6_8);
this.pictureBox103.Image = null;
break;
case 9:
huiqi(ref zi6_9);
this.pictureBox104.Image = null;
break;
case 10:
huiqi(ref zi6_10);
this.pictureBox105.Image = null;
break;
case 11:
huiqi(ref zi6_11);
this.pictureBox106.Image = null;
break;
case 12:
huiqi(ref zi6_12);
this.pictureBox107.Image = null;
break;
case 13:
huiqi(ref zi6_13);
this.pictureBox108.Image = null;
break;
case 14:
huiqi(ref zi6_14);
this.pictureBox109.Image = null;
break;
case 15:
huiqi(ref zi6_15);
this.pictureBox110.Image = null;
break;
case 16:
huiqi(ref zi6_16);
this.pictureBox111.Image = null;
break;
case 17:
huiqi(ref zi6_17);
this.pictureBox112.Image = null;
break;
case 18:
huiqi(ref zi6_18);
this.pictureBox113.Image = null;
break;
case 19:
huiqi(ref zi6_19);
this.pictureBox114.Image = null;
break;
}
break;
case 7:
switch (lie)
{
case 1:
huiqi(ref zi7_1);
this.pictureBox115.Image = null;
break;
case 2:
huiqi(ref zi7_2);
this.pictureBox116.Image = null;
break;
case 3:
huiqi(ref zi7_3);
this.pictureBox117.Image = null;
break;
case 4:
huiqi(ref zi7_4);
this.pictureBox118.Image = null;
break;
case 5:
huiqi(ref zi7_5);
this.pictureBox119.Image = null;
break;
case 6:
huiqi(ref zi7_6);
this.pictureBox120.Image = null;
break;
case 7:
huiqi(ref zi7_7);
this.pictureBox121.Image = null;
break;
case 8:
huiqi(ref zi7_8);
this.pictureBox122.Image = null;
break;
case 9:
huiqi(ref zi7_9);
this.pictureBox123.Image = null;
break;
case 10:
huiqi(ref zi7_10);
this.pictureBox124.Image = null;
break;
case 11:
huiqi(ref zi7_11);
this.pictureBox125.Image = null;
break;
case 12:
huiqi(ref zi7_12);
this.pictureBox126.Image = null;
break;
case 13:
huiqi(ref zi7_13);
this.pictureBox127.Image = null;
break;
case 14:
huiqi(ref zi7_14);
this.pictureBox128.Image = null;
break;
case 15:
huiqi(ref zi7_15);
this.pictureBox129.Image = null;
break;
case 16:
huiqi(ref zi7_16);
this.pictureBox130.Image = null;
break;
case 17:
huiqi(ref zi7_17);
this.pictureBox131.Image = null;
break;
case 18:
huiqi(ref zi7_18);
this.pictureBox132.Image = null;
break;
case 19:
huiqi(ref zi7_19);
this.pictureBox133.Image = null;
break;
}
break;
case 8:
switch (lie)
{
case 1:
huiqi(ref zi8_1);
this.pictureBox134.Image = null;
break;
case 2:
huiqi(ref zi8_2);
this.pictureBox135.Image = null;
break;
case 3:
huiqi(ref zi8_3);
this.pictureBox136.Image = null;
break;
case 4:
huiqi(ref zi8_4);
this.pictureBox137.Image = null;
break;
case 5:
huiqi(ref zi8_5);
this.pictureBox138.Image = null;
break;
case 6:
huiqi(ref zi8_6);
this.pictureBox139.Image = null;
break;
case 7:
huiqi(ref zi8_7);
this.pictureBox140.Image = null;
break;
case 8:
huiqi(ref zi8_8);
this.pictureBox141.Image = null;
break;
case 9:
huiqi(ref zi8_9);
this.pictureBox142.Image = null;
break;
case 10:
huiqi(ref zi8_10);
this.pictureBox143.Image = null;
break;
case 11:
huiqi(ref zi8_11);
this.pictureBox144.Image = null;
break;
case 12:
huiqi(ref zi8_12);
this.pictureBox145.Image = null;
break;
case 13:
huiqi(ref zi8_13);
this.pictureBox146.Image = null;
break;
case 14:
huiqi(ref zi8_14);
this.pictureBox147.Image = null;
break;
case 15:
huiqi(ref zi8_15);
this.pictureBox148.Image = null;
break;
case 16:
huiqi(ref zi8_16);
this.pictureBox149.Image = null;
break;
case 17:
huiqi(ref zi8_17);
this.pictureBox150.Image = null;
break;
case 18:
huiqi(ref zi8_18);
this.pictureBox151.Image = null;
break;
case 19:
huiqi(ref zi8_19);
this.pictureBox152.Image = null;
break;
}
break;
case 9:
switch (lie)
{
case 1:
huiqi(ref zi9_1);
this.pictureBox153.Image = null;
break;
case 2:
huiqi(ref zi9_2);
this.pictureBox154.Image = null;
break;
case 3:
huiqi(ref zi9_3);
this.pictureBox155.Image = null;
break;
case 4:
huiqi(ref zi9_4);
this.pictureBox156.Image = null;
break;
case 5:
huiqi(ref zi9_5);
this.pictureBox157.Image = null;
break;
case 6:
huiqi(ref zi9_6);
this.pictureBox158.Image = null;
break;
case 7:
huiqi(ref zi9_7);
this.pictureBox159.Image = null;
break;
case 8:
huiqi(ref zi9_8);
this.pictureBox160.Image = null;
break;
case 9:
huiqi(ref zi9_9);
this.pictureBox161.Image = null;
break;
case 10:
huiqi(ref zi9_10);
this.pictureBox162.Image = null;
break;
case 11:
huiqi(ref zi9_11);
this.pictureBox163.Image = null;
break;
case 12:
huiqi(ref zi9_12);
this.pictureBox164.Image = null;
break;
case 13:
huiqi(ref zi9_13);
this.pictureBox165.Image = null;
break;
case 14:
huiqi(ref zi9_14);
this.pictureBox166.Image = null;
break;
case 15:
huiqi(ref zi9_15);
this.pictureBox167.Image = null;
break;
case 16:
huiqi(ref zi9_16);
this.pictureBox168.Image = null;
break;
case 17:
huiqi(ref zi9_17);
this.pictureBox169.Image = null;
break;
case 18:
huiqi(ref zi9_18);
this.pictureBox170.Image = null;
break;
case 19:
huiqi(ref zi9_19);
this.pictureBox171.Image = null;
break;
}
break;
case 10:
switch (lie)
{
case 1:
huiqi(ref zi10_1);
this.pictureBox172.Image = null;
break;
case 2:
huiqi(ref zi10_2);
this.pictureBox173.Image = null;
break;
case 3:
huiqi(ref zi10_3);
this.pictureBox174.Image = null;
break;
case 4:
huiqi(ref zi10_4);
this.pictureBox175.Image = null;
break;
case 5:
huiqi(ref zi10_5);
this.pictureBox176.Image = null;
break;
case 6:
huiqi(ref zi10_6);
this.pictureBox177.Image = null;
break;
case 7:
huiqi(ref zi10_7);
this.pictureBox178.Image = null;
break;
case 8:
huiqi(ref zi10_8);
this.pictureBox179.Image = null;
break;
case 9:
huiqi(ref zi10_9);
this.pictureBox180.Image = null;
break;
case 10:
huiqi(ref zi10_10);
this.pictureBox181.Image = null;
break;
case 11:
huiqi(ref zi10_11);
this.pictureBox182.Image = null;
break;
case 12:
huiqi(ref zi10_12);
this.pictureBox183.Image = null;
break;
case 13:
huiqi(ref zi10_13);
this.pictureBox184.Image = null;
break;
case 14:
huiqi(ref zi10_14);
this.pictureBox185.Image = null;
break;
case 15:
huiqi(ref zi10_15);
this.pictureBox186.Image = null;
break;
case 16:
huiqi(ref zi10_16);
this.pictureBox187.Image = null;
break;
case 17:
huiqi(ref zi10_17);
this.pictureBox188.Image = null;
break;
case 18:
huiqi(ref zi10_18);
this.pictureBox189.Image = null;
break;
case 19:
huiqi(ref zi10_19);
this.pictureBox190.Image = null;
break;
}
break;
case 11:
switch (lie)
{
case 1:
huiqi(ref zi11_1);
this.pictureBox191.Image = null;
break;
case 2:
huiqi(ref zi11_2);
this.pictureBox192.Image = null;
break;
case 3:
huiqi(ref zi11_3);
this.pictureBox193.Image = null;
break;
case 4:
huiqi(ref zi11_4);
this.pictureBox194.Image = null;
break;
case 5:
huiqi(ref zi11_5);
this.pictureBox195.Image = null;
break;
case 6:
huiqi(ref zi11_6);
this.pictureBox196.Image = null;
break;
case 7:
huiqi(ref zi11_7);
this.pictureBox197.Image = null;
break;
case 8:
huiqi(ref zi11_8);
this.pictureBox198.Image = null;
break;
case 9:
huiqi(ref zi11_9);
this.pictureBox199.Image = null;
break;
case 10:
huiqi(ref zi11_10);
this.pictureBox200.Image = null;
break;
case 11:
huiqi(ref zi11_11);
this.pictureBox201.Image = null;
break;
case 12:
huiqi(ref zi11_12);
this.pictureBox202.Image = null;
break;
case 13:
huiqi(ref zi11_13);
this.pictureBox203.Image = null;
break;
case 14:
huiqi(ref zi11_14);
this.pictureBox204.Image = null;
break;
case 15:
huiqi(ref zi11_15);
this.pictureBox205.Image = null;
break;
case 16:
huiqi(ref zi11_16);
this.pictureBox206.Image = null;
break;
case 17:
huiqi(ref zi11_17);
this.pictureBox207.Image = null;
break;
case 18:
huiqi(ref zi11_18);
this.pictureBox208.Image = null;
break;
case 19:
huiqi(ref zi11_19);
this.pictureBox209.Image = null;
break;
}
break;
case 12:
switch (lie)
{
case 1:
huiqi(ref zi12_1);
this.pictureBox210.Image = null;
break;
case 2:
huiqi(ref zi12_2);
this.pictureBox211.Image = null;
break;
case 3:
huiqi(ref zi12_3);
this.pictureBox212.Image = null;
break;
case 4:
huiqi(ref zi12_4);
this.pictureBox213.Image = null;
break;
case 5:
huiqi(ref zi12_5);
this.pictureBox214.Image = null;
break;
case 6:
huiqi(ref zi12_6);
this.pictureBox215.Image = null;
break;
case 7:
huiqi(ref zi12_7);
this.pictureBox216.Image = null;
break;
case 8:
huiqi(ref zi12_8);
this.pictureBox217.Image = null;
break;
case 9:
huiqi(ref zi12_9);
this.pictureBox218.Image = null;
break;
case 10:
huiqi(ref zi12_10);
this.pictureBox219.Image = null;
break;
case 11:
huiqi(ref zi12_11);
this.pictureBox220.Image = null;
break;
case 12:
huiqi(ref zi12_12);
this.pictureBox221.Image = null;
break;
case 13:
huiqi(ref zi12_13);
this.pictureBox222.Image = null;
break;
case 14:
huiqi(ref zi12_14);
this.pictureBox223.Image = null;
break;
case 15:
huiqi(ref zi12_15);
this.pictureBox224.Image = null;
break;
case 16:
huiqi(ref zi12_16);
this.pictureBox225.Image = null;
break;
case 17:
huiqi(ref zi12_17);
this.pictureBox226.Image = null;
break;
case 18:
huiqi(ref zi12_18);
this.pictureBox227.Image = null;
break;
case 19:
huiqi(ref zi12_19);
this.pictureBox228.Image = null;
break;
}
break;
case 13:
switch (lie)
{
case 1:
huiqi(ref zi13_1);
this.pictureBox229.Image = null;
break;
case 2:
huiqi(ref zi13_2);
this.pictureBox230.Image = null;
break;
case 3:
huiqi(ref zi13_3);
this.pictureBox231.Image = null;
break;
case 4:
huiqi(ref zi13_4);
this.pictureBox232.Image = null;
break;
case 5:
huiqi(ref zi13_5);
this.pictureBox233.Image = null;
break;
case 6:
huiqi(ref zi13_6);
this.pictureBox234.Image = null;
break;
case 7:
huiqi(ref zi13_7);
this.pictureBox235.Image = null;
break;
case 8:
huiqi(ref zi13_8);
this.pictureBox236.Image = null;
break;
case 9:
huiqi(ref zi13_9);
this.pictureBox237.Image = null;
break;
case 10:
huiqi(ref zi13_10);
this.pictureBox238.Image = null;
break;
case 11:
huiqi(ref zi13_11);
this.pictureBox239.Image = null;
break;
case 12:
huiqi(ref zi13_12);
this.pictureBox240.Image = null;
break;
case 13:
huiqi(ref zi13_13);
this.pictureBox241.Image = null;
break;
case 14:
huiqi(ref zi13_14);
this.pictureBox242.Image = null;
break;
case 15:
huiqi(ref zi13_15);
this.pictureBox243.Image = null;
break;
case 16:
huiqi(ref zi13_16);
this.pictureBox244.Image = null;
break;
case 17:
huiqi(ref zi13_17);
this.pictureBox245.Image = null;
break;
case 18:
huiqi(ref zi13_18);
this.pictureBox246.Image = null;
break;
case 19:
huiqi(ref zi13_19);
this.pictureBox247.Image = null;
break;
}
break;
case 14:
switch (lie)
{
case 1:
huiqi(ref zi14_1);
this.pictureBox248.Image = null;
break;
case 2:
huiqi(ref zi14_2);
this.pictureBox249.Image = null;
break;
case 3:
huiqi(ref zi14_3);
this.pictureBox250.Image = null;
break;
case 4:
huiqi(ref zi14_4);
this.pictureBox251.Image = null;
break;
case 5:
huiqi(ref zi14_5);
this.pictureBox252.Image = null;
break;
case 6:
huiqi(ref zi14_6);
this.pictureBox253.Image = null;
break;
case 7:
huiqi(ref zi14_7);
this.pictureBox254.Image = null;
break;
case 8:
huiqi(ref zi14_8);
this.pictureBox255.Image = null;
break;
case 9:
huiqi(ref zi14_9);
this.pictureBox256.Image = null;
break;
case 10:
huiqi(ref zi14_10);
this.pictureBox257.Image = null;
break;
case 11:
huiqi(ref zi14_11);
this.pictureBox258.Image = null;
break;
case 12:
huiqi(ref zi14_12);
this.pictureBox259.Image = null;
break;
case 13:
huiqi(ref zi14_13);
this.pictureBox260.Image = null;
break;
case 14:
huiqi(ref zi14_14);
this.pictureBox261.Image = null;
break;
case 15:
huiqi(ref zi14_15);
this.pictureBox262.Image = null;
break;
case 16:
huiqi(ref zi14_16);
this.pictureBox263.Image = null;
break;
case 17:
huiqi(ref zi14_17);
this.pictureBox264.Image = null;
break;
case 18:
huiqi(ref zi14_18);
this.pictureBox265.Image = null;
break;
case 19:
huiqi(ref zi14_19);
this.pictureBox266.Image = null;
break;
}
break;
case 15:
switch (lie)
{
case 1:
huiqi(ref zi15_1);
this.pictureBox267.Image = null;
break;
case 2:
huiqi(ref zi15_2);
this.pictureBox268.Image = null;
break;
case 3:
huiqi(ref zi15_3);
this.pictureBox269.Image = null;
break;
case 4:
huiqi(ref zi15_4);
this.pictureBox270.Image = null;
break;
case 5:
huiqi(ref zi15_5);
this.pictureBox271.Image = null;
break;
case 6:
huiqi(ref zi15_6);
this.pictureBox272.Image = null;
break;
case 7:
huiqi(ref zi15_7);
this.pictureBox273.Image = null;
break;
case 8:
huiqi(ref zi15_8);
this.pictureBox274.Image = null;
break;
case 9:
huiqi(ref zi15_9);
this.pictureBox275.Image = null;
break;
case 10:
huiqi(ref zi15_10);
this.pictureBox276.Image = null;
break;
case 11:
huiqi(ref zi15_11);
this.pictureBox277.Image = null;
break;
case 12:
huiqi(ref zi15_12);
this.pictureBox278.Image = null;
break;
case 13:
huiqi(ref zi15_13);
this.pictureBox279.Image = null;
break;
case 14:
huiqi(ref zi15_14);
this.pictureBox280.Image = null;
break;
case 15:
huiqi(ref zi15_15);
this.pictureBox281.Image = null;
break;
case 16:
huiqi(ref zi15_16);
this.pictureBox282.Image = null;
break;
case 17:
huiqi(ref zi15_17);
this.pictureBox283.Image = null;
break;
case 18:
huiqi(ref zi15_18);
this.pictureBox284.Image = null;
break;
case 19:
huiqi(ref zi15_19);
this.pictureBox285.Image = null;
break;
}
break;
case 16:
switch (lie)
{
case 1:
huiqi(ref zi16_1);
this.pictureBox286.Image = null;
break;
case 2:
huiqi(ref zi16_2);
this.pictureBox287.Image = null;
break;
case 3:
huiqi(ref zi16_3);
this.pictureBox288.Image = null;
break;
case 4:
huiqi(ref zi16_4);
this.pictureBox289.Image = null;
break;
case 5:
huiqi(ref zi16_5);
this.pictureBox290.Image = null;
break;
case 6:
huiqi(ref zi16_6);
this.pictureBox291.Image = null;
break;
case 7:
huiqi(ref zi16_7);
this.pictureBox292.Image = null;
break;
case 8:
huiqi(ref zi16_8);
this.pictureBox293.Image = null;
break;
case 9:
huiqi(ref zi16_9);
this.pictureBox294.Image = null;
break;
case 10:
huiqi(ref zi16_10);
this.pictureBox295.Image = null;
break;
case 11:
huiqi(ref zi16_11);
this.pictureBox296.Image = null;
break;
case 12:
huiqi(ref zi16_12);
this.pictureBox297.Image = null;
break;
case 13:
huiqi(ref zi16_13);
this.pictureBox298.Image = null;
break;
case 14:
huiqi(ref zi16_14);
this.pictureBox299.Image = null;
break;
case 15:
huiqi(ref zi16_15);
this.pictureBox300.Image = null;
break;
case 16:
huiqi(ref zi16_16);
this.pictureBox301.Image = null;
break;
case 17:
huiqi(ref zi16_17);
this.pictureBox302.Image = null;
break;
case 18:
huiqi(ref zi16_18);
this.pictureBox303.Image = null;
break;
case 19:
huiqi(ref zi16_19);
this.pictureBox304.Image = null;
break;
}
break;
case 17:
switch (lie)
{
case 1:
huiqi(ref zi17_1);
this.pictureBox305.Image = null;
break;
case 2:
huiqi(ref zi17_2);
this.pictureBox306.Image = null;
break;
case 3:
huiqi(ref zi17_3);
this.pictureBox307.Image = null;
break;
case 4:
huiqi(ref zi17_4);
this.pictureBox308.Image = null;
break;
case 5:
huiqi(ref zi17_5);
this.pictureBox309.Image = null;
break;
case 6:
huiqi(ref zi17_6);
this.pictureBox310.Image = null;
break;
case 7:
huiqi(ref zi17_7);
this.pictureBox311.Image = null;
break;
case 8:
huiqi(ref zi17_8);
this.pictureBox312.Image = null;
break;
case 9:
huiqi(ref zi17_9);
this.pictureBox313.Image = null;
break;
case 10:
huiqi(ref zi17_10);
this.pictureBox314.Image = null;
break;
case 11:
huiqi(ref zi17_11);
this.pictureBox315.Image = null;
break;
case 12:
huiqi(ref zi17_12);
this.pictureBox316.Image = null;
break;
case 13:
huiqi(ref zi17_13);
this.pictureBox317.Image = null;
break;
case 14:
huiqi(ref zi17_14);
this.pictureBox318.Image = null;
break;
case 15:
huiqi(ref zi17_15);
this.pictureBox319.Image = null;
break;
case 16:
huiqi(ref zi17_16);
this.pictureBox320.Image = null;
break;
case 17:
huiqi(ref zi17_17);
this.pictureBox321.Image = null;
break;
case 18:
huiqi(ref zi17_18);
this.pictureBox322.Image = null;
break;
case 19:
huiqi(ref zi17_19);
this.pictureBox323.Image = null;
break;
}
break;
case 18:
switch (lie)
{
case 1:
huiqi(ref zi18_1);
this.pictureBox324.Image = null;
break;
case 2:
huiqi(ref zi18_2);
this.pictureBox325.Image = null;
break;
case 3:
huiqi(ref zi18_3);
this.pictureBox326.Image = null;
break;
case 4:
huiqi(ref zi18_4);
this.pictureBox327.Image = null;
break;
case 5:
huiqi(ref zi18_5);
this.pictureBox328.Image = null;
break;
case 6:
huiqi(ref zi18_6);
this.pictureBox329.Image = null;
break;
case 7:
huiqi(ref zi18_7);
this.pictureBox330.Image = null;
break;
case 8:
huiqi(ref zi18_8);
this.pictureBox331.Image = null;
break;
case 9:
huiqi(ref zi18_9);
this.pictureBox332.Image = null;
break;
case 10:
huiqi(ref zi18_10);
this.pictureBox333.Image = null;
break;
case 11:
huiqi(ref zi18_11);
this.pictureBox334.Image = null;
break;
case 12:
huiqi(ref zi18_12);
this.pictureBox335.Image = null;
break;
case 13:
huiqi(ref zi18_13);
this.pictureBox336.Image = null;
break;
case 14:
huiqi(ref zi18_14);
this.pictureBox337.Image = null;
break;
case 15:
huiqi(ref zi18_15);
this.pictureBox338.Image = null;
break;
case 16:
huiqi(ref zi18_16);
this.pictureBox339.Image = null;
break;
case 17:
huiqi(ref zi18_17);
this.pictureBox340.Image = null;
break;
case 18:
huiqi(ref zi18_18);
this.pictureBox341.Image = null;
break;
case 19:
huiqi(ref zi18_19);
this.pictureBox342.Image = null;
break;
}
break;
case 19:
switch (lie)
{
case 1:
huiqi(ref zi19_1);
this.pictureBox343.Image = null;
break;
case 2:
huiqi(ref zi19_2);
this.pictureBox344.Image = null;
break;
case 3:
huiqi(ref zi19_3);
this.pictureBox345.Image = null;
break;
case 4:
huiqi(ref zi19_4);
this.pictureBox346.Image = null;
break;
case 5:
huiqi(ref zi19_5);
this.pictureBox347.Image = null;
break;
case 6:
huiqi(ref zi19_6);
this.pictureBox348.Image = null;
break;
case 7:
huiqi(ref zi19_7);
this.pictureBox349.Image = null;
break;
case 8:
huiqi(ref zi19_8);
this.pictureBox350.Image = null;
break;
case 9:
huiqi(ref zi19_9);
this.pictureBox351.Image = null;
break;
case 10:
huiqi(ref zi19_10);
this.pictureBox352.Image = null;
break;
case 11:
huiqi(ref zi19_11);
this.pictureBox353.Image = null;
break;
case 12:
huiqi(ref zi19_12);
this.pictureBox354.Image = null;
break;
case 13:
huiqi(ref zi19_13);
this.pictureBox355.Image = null;
break;
case 14:
huiqi(ref zi19_14);
this.pictureBox356.Image = null;
break;
case 15:
huiqi(ref zi19_15);
this.pictureBox357.Image = null;
break;
case 16:
huiqi(ref zi19_16);
this.pictureBox358.Image = null;
break;
case 17:
huiqi(ref zi19_17);
this.pictureBox359.Image = null;
break;
case 18:
huiqi(ref zi19_18);
this.pictureBox360.Image = null;
break;
case 19:
huiqi(ref zi19_19);
this.pictureBox361.Image = null;
break;
}
break;
}
hang = hang_temp;
lie = lie_temp;
hang_temp = 0;
lie_temp = 0;
}
//专用于悔棋的方法。
private void huiqi(ref int zi)
{
zi = 0;
this.hang = 0;
this.lie = 0;
if(lun == 1)
{
this.picturelun.Image = this.picturewhite.Image;
lun = -1;
}
else
{
this.picturelun.Image = this.pictureblack.Image;
lun = 1;
}
Release();
}
//方法,参数zi为传递格子位置数。
//当lun为1时是黑子走,lun为-1时是白子走
private Image usezi(ref int zi, int hang, int lie)
{
if(!panduan)
{
if (lun == 1)
{
if (zi == 0)
{
lun = -1;
zi = 1;
hang_temp = this.hang;
lie_temp = this.lie;
this.hang = hang;
this.lie = lie;
this.picturelun.Image = this.picturewhite.Image;
return this.pictureblack.Image;
}
else
{
MessageBox.Show("这个位置已经被走过了,请换个位置走吧!", "已被走过");
if (zi == 1)
{
return this.pictureblack.Image;
}
else
{
return this.picturewhite.Image;
}
}
}
else if(lun == -1)
{
if (zi == 0)
{
lun = 1;
zi = -1;
hang_temp = this.hang;
lie_temp = this.lie;
this.hang = hang;
this.lie = lie;
this.picturelun.Image = this.pictureblack.Image;
return this.picturewhite.Image;
}
else
{
MessageBox.Show("这个位置已经被走过了,请换个位置走吧!", "已被走过");
if (zi == 1)
{
return this.pictureblack.Image;
}
else
{
return this.picturewhite.Image;
}
}
}
else
{
MessageBox.Show("程序在判断下棋的位置出现错误,请立即将此错误报告给作者。", "出现错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
Application.Exit();
return null;
}
}
else
{
if (lun == 1)
{
if (zi == 0)
{
lun = -1;
zi = 1;
this.picturelun.Image = this.picturewhite.Image;
return this.pictureblack.Image;
}
else
{
zi = 0;
return null;
}
}
else if(lun == -1)
{
if (zi == 0)
{
lun = 1;
zi = -1;
this.picturelun.Image = this.pictureblack.Image;
return this.picturewhite.Image;
}
else
{
zi = 0;
return null;
}
}
else
{
MessageBox.Show("程序在判断下棋的位置出现错误,请立即将此错误报告给作者。", "出现错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
Application.Exit();
return null;
}
}
}
//判断是否胜利的方法
//内容中的lun指的是目前轮到哪个玩家走,-1是黑子,1是白子
private void win()
{
int[][] ds = { //获取对应子的数组
new int[] { zi1_1, zi1_2, zi1_3, zi1_4, zi1_5, zi1_6, zi1_7, zi1_8, zi1_9, zi1_10, zi1_11, zi1_12, zi1_13, zi1_14, zi1_15, zi1_16, zi1_17, zi1_18, zi1_19 },
new int[] { zi2_1, zi2_2, zi2_3, zi2_4, zi2_5, zi2_6, zi2_7, zi2_8, zi2_9, zi2_10, zi2_11, zi2_12, zi2_13, zi2_14, zi2_15, zi2_16, zi2_17, zi2_18, zi2_19 },
new int[] { zi3_1, zi3_2, zi3_3, zi3_4, zi3_5, zi3_6, zi3_7, zi3_8, zi3_9, zi3_10, zi3_11, zi3_12, zi3_13, zi3_14, zi3_15, zi3_16, zi3_17, zi3_18, zi3_19 },
new int[] { zi4_1, zi4_2, zi4_3, zi4_4, zi4_5, zi4_6, zi4_7, zi4_8, zi4_9, zi4_10, zi4_11, zi4_12, zi4_13, zi4_14, zi4_15, zi4_16, zi4_17, zi4_18, zi4_19 },
new int[] { zi5_1, zi5_2, zi5_3, zi5_4, zi5_5, zi5_6, zi5_7, zi5_8, zi5_9, zi5_10, zi5_11, zi5_12, zi5_13, zi5_14, zi5_15, zi5_16, zi5_17, zi5_18, zi5_19 },
new int[] { zi6_1, zi6_2, zi6_3, zi6_4, zi6_5, zi6_6, zi6_7, zi6_8, zi6_9, zi6_10, zi6_11, zi6_12, zi6_13, zi6_14, zi6_15, zi6_16, zi6_17, zi6_18, zi6_19 },
new int[] { zi7_1, zi7_2, zi7_3, zi7_4, zi7_5, zi7_6, zi7_7, zi7_8, zi7_9, zi7_10, zi7_11, zi7_12, zi7_13, zi7_14, zi7_15, zi7_16, zi7_17, zi7_18, zi7_19 },
new int[] { zi8_1, zi8_2, zi8_3, zi8_4, zi8_5, zi8_6, zi8_7, zi8_8, zi8_9, zi8_10, zi8_11, zi8_12, zi8_13, zi8_14, zi8_15, zi8_16, zi8_17, zi8_18, zi8_19 },
new int[] { zi9_1, zi9_2, zi9_3, zi9_4, zi9_5, zi9_6, zi9_7, zi9_8, zi9_9, zi9_10, zi9_11, zi9_12, zi9_13, zi9_14, zi9_15, zi9_16, zi9_17, zi9_18, zi9_19 },
new int[] { zi10_1, zi10_2, zi10_3, zi10_4, zi10_5, zi10_6, zi10_7, zi10_8, zi10_9, zi10_10, zi10_11, zi10_12, zi10_13, zi10_14, zi10_15, zi10_16, zi10_17, zi10_18, zi10_19 },
new int[] { zi11_1, zi11_2, zi11_3, zi11_4, zi11_5, zi11_6, zi11_7, zi11_8, zi11_9, zi11_10, zi11_11, zi11_12, zi11_13, zi11_14, zi11_15, zi11_16, zi11_17, zi11_18, zi11_19 },
new int[] { zi12_1, zi12_2, zi12_3, zi12_4, zi12_5, zi12_6, zi12_7, zi12_8, zi12_9, zi12_10, zi12_11, zi12_12, zi12_13, zi12_14, zi12_15, zi12_16, zi12_17, zi12_18, zi12_19 },
new int[] { zi13_1, zi13_2, zi13_3, zi13_4, zi13_5, zi13_6, zi13_7, zi13_8, zi13_9, zi13_10, zi13_11, zi13_12, zi13_13, zi13_14, zi13_15, zi13_16, zi13_17, zi13_18, zi13_19 },
new int[] { zi14_1, zi14_2, zi14_3, zi14_4, zi14_5, zi14_6, zi14_7, zi14_8, zi14_9, zi14_10, zi14_11, zi14_12, zi14_13, zi14_14, zi14_15, zi14_16, zi14_17, zi14_18, zi14_19 },
new int[] { zi15_1, zi15_2, zi15_3, zi15_4, zi15_5, zi15_6, zi15_7, zi15_8, zi15_9, zi15_10, zi15_11, zi15_12, zi15_13, zi15_14, zi15_15, zi15_16, zi15_17, zi15_18, zi15_19 },
new int[] { zi16_1, zi16_2, zi16_3, zi16_4, zi16_5, zi16_6, zi16_7, zi16_8, zi16_9, zi16_10, zi16_11, zi16_12, zi16_13, zi16_14, zi16_15, zi16_16, zi16_17, zi16_18, zi16_19 },
new int[] { zi17_1, zi17_2, zi17_3, zi17_4, zi17_5, zi17_6, zi17_7, zi17_8, zi17_9, zi17_10, zi17_11, zi17_12, zi17_13, zi17_14, zi17_15, zi17_16, zi17_17, zi17_18, zi17_19 },
new int[] { zi18_1, zi18_2, zi18_3, zi18_4, zi18_5, zi18_6, zi18_7, zi18_8, zi18_9, zi18_10, zi18_11, zi18_12, zi18_13, zi18_14, zi18_15, zi18_16, zi18_17, zi18_18, zi18_19 },
new int[] { zi19_1, zi19_2, zi19_3, zi19_4, zi19_5, zi19_6, zi19_7, zi19_8, zi19_9, zi19_10, zi19_11, zi19_12, zi19_13, zi19_14, zi19_15, zi19_16, zi19_17, zi19_18, zi19_19 }
};
if (!panduan)
{
bool db = false; //判断此时是否应该胜利//判断横竖的循环体
for (int t1 = 0; t1
{
for (int t2 = 0; t2
{
//横
if (ds[t1][t2] == -lun && ds[t1][t2 + 1] == -lun && ds[t1][t2 + 2] == -lun && ds[t1][t2 + 3] == -lun && ds[t1][t2 + 4] == -lun)
{
if (ds[t1][t2] == ds[t1][t2 + 1] && ds[t1][t2 + 1] == ds[t1][t2 + 2] && ds[t1][t2 + 2] == ds[t1][t2 + 3] && ds[t1][t2 + 3] == ds[t1][t2 + 4])
{
db = true;
goto ins;
}
}
//竖
if (ds[t2][t1] == -lun && ds[t2 + 1][t1] == -lun && ds[t2 + 2][t1] == -lun && ds[t2 + 3][t1] == -lun && ds[t2 + 4][t1] == -lun)
{
if (ds[t2][t1] == ds[t2 + 1][t1] && ds[t2 + 1][t1] == ds[t2 + 2][t1] && ds[t2 + 2][t1] == ds[t2 + 3][t1] && ds[t2 + 3][t1] == ds[t2 + 4][t1])
{
db = true;
goto ins;
}
}
}
}
//判断斜的循环体
for (int t1 = 0; t1
{
//右斜
for (int t2 = 0; t2
{
if (ds[t1][t2] == -lun && ds[t1 + 1][t2 + 1] == -lun && ds[t1 + 2][t2 + 2] == -lun && ds[t1 + 3][t2 + 3] == -lun && ds[t1 + 4][t2 + 4] == -lun)
{
if (ds[t1][t2] == ds[t1 + 1][t2 + 1] && ds[t1 + 1][t2 + 1] == ds[t1 + 2][t2 + 2] && ds[t1 + 2][t2 + 2] == ds[t1 + 3][t2 + 3] && ds[t1 + 3][t2 + 3] == ds[t1 + 4][t2 + 4])
{
db = true;
goto ins;
}
}
}
//左斜
for (int t2 = 18; t2 > 3; t2--)
{
if (ds[t1][t2] == -lun && ds[t1 + 1][t2 - 1] == -lun && ds[t1 + 2][t2 - 2] == -lun && ds[t1 + 3][t2 - 3] == -lun && ds[t1 + 4][t2 - 4] == -lun)
{
if (ds[t1][t2] == ds[t1 + 1][t2 - 1] && ds[t1 + 1][t2 - 1] == ds[t1 + 2][t2 - 2] && ds[t1 + 2][t2 - 2] == ds[t1 + 3][t2 - 3] && ds[t1 + 3][t2 - 3] == ds[t1 + 4][t2 - 4])
{
db = true;
goto ins;
}
}
}
}
ins:
if (db)
{
if (lun == 1)
{
MessageBox.Show("恭喜白棋赢了!", "恭喜胜利!");
LockUp();
return;
}
else if (lun == -1)
{
MessageBox.Show("恭喜黑棋赢了!", "恭喜胜利!");
LockUp();
return;
}
else
{
MessageBox.Show("程序在判断是否赢棋的位置出现错误,请立即将此错误报告给作者。", "出现错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
Application.Exit();
}
}
}
int jishu = 0;
foreach(int[] t1 in ds)
{
foreach(int t2 in t1)
{
if(t2 != 0)
{
jishu++;
}
}
}
if(jishu == 361)
{
MessageBox.Show("你已经下满了整个棋盘,和棋啦!", "和棋啦!");
LockUp();
}
}
//棋盘锁定
private void LockUp()
{
this.pictureBox1.Enabled = false;
this.pictureBox2.Enabled = false;
this.pictureBox3.Enabled = false;
this.pictureBox4.Enabled = false;
this.pictureBox5.Enabled = false;
this.pictureBox6.Enabled = false;
this.pictureBox7.Enabled = false;
this.pictureBox8.Enabled = false;
this.pictureBox9.Enabled = false;
this.pictureBox10.Enabled = false;
this.pictureBox11.Enabled = false;
this.pictureBox12.Enabled = false;
this.pictureBox13.Enabled = false;
this.pictureBox14.Enabled = false;
this.pictureBox15.Enabled = false;
this.pictureBox16.Enabled = false;
this.pictureBox17.Enabled = false;
this.pictureBox18.Enabled = false;
this.pictureBox19.Enabled = false;
this.pictureBox20.Enabled = false;
this.pictureBox21.Enabled = false;
this.pictureBox22.Enabled = false;
this.pictureBox23.Enabled = false;
this.pictureBox24.Enabled = false;
this.pictureBox25.Enabled = false;
this.pictureBox26.Enabled = false;
this.pictureBox27.Enabled = false;
this.pictureBox28.Enabled = false;
this.pictureBox29.Enabled = false;
this.pictureBox30.Enabled = false;
this.pictureBox31.Enabled = false;
this.pictureBox32.Enabled = false;
this.pictureBox33.Enabled = false;
this.pictureBox34.Enabled = false;
this.pictureBox35.Enabled = false;
this.pictureBox36.Enabled = false;
this.pictureBox37.Enabled = false;
this.pictureBox38.Enabled = false;
this.pictureBox39.Enabled = false;
this.pictureBox40.Enabled = false;
this.pictureBox41.Enabled = false;
this.pictureBox42.Enabled = false;
this.pictureBox43.Enabled = false;
this.pictureBox44.Enabled = false;
this.pictureBox45.Enabled = false;
this.pictureBox46.Enabled = false;
this.pictureBox47.Enabled = false;
this.pictureBox48.Enabled = false;
this.pictureBox49.Enabled = false;
this.pictureBox50.Enabled = false;
this.pictureBox51.Enabled = false;
this.pictureBox52.Enabled = false;
this.pictureBox53.Enabled = false;
this.pictureBox54.Enabled = false;
this.pictureBox55.Enabled = false;
this.pictureBox56.Enabled = false;
this.pictureBox57.Enabled = false;
this.pictureBox58.Enabled = false;
this.pictureBox59.Enabled = false;
this.pictureBox60.Enabled = false;
this.pictureBox61.Enabled = false;
this.pictureBox62.Enabled = false;
this.pictureBox63.Enabled = false;
this.pictureBox64.Enabled = false;
this.pictureBox65.Enabled = false;
this.pictureBox66.Enabled = false;
this.pictureBox67.Enabled = false;
this.pictureBox68.Enabled = false;
this.pictureBox69.Enabled = false;
this.pictureBox70.Enabled = false;
this.pictureBox71.Enabled = false;
this.pictureBox72.Enabled = false;
this.pictureBox73.Enabled = false;
this.pictureBox74.Enabled = false;
this.pictureBox75.Enabled = false;
this.pictureBox76.Enabled = false;
this.pictureBox77.Enabled = false;
this.pictureBox78.Enabled = false;
this.pictureBox79.Enabled = false;
this.pictureBox80.Enabled = false;
this.pictureBox81.Enabled = false;
this.pictureBox82.Enabled = false;
this.pictureBox83.Enabled = false;
this.pictureBox84.Enabled = false;
this.pictureBox85.Enabled = false;
this.pictureBox86.Enabled = false;
this.pictureBox87.Enabled = false;
this.pictureBox88.Enabled = false;
this.pictureBox89.Enabled = false;
this.pictureBox90.Enabled = false;
this.pictureBox91.Enabled = false;
this.pictureBox92.Enabled = false;
this.pictureBox93.Enabled = false;
this.pictureBox94.Enabled = false;
this.pictureBox95.Enabled = false;
this.pictureBox96.Enabled = false;
this.pictureBox97.Enabled = false;
this.pictureBox98.Enabled = false;
this.pictureBox99.Enabled = false;
this.pictureBox100.Enabled = false;
this.pictureBox101.Enabled = false;
this.pictureBox102.Enabled = false;
this.pictureBox103.Enabled = false;
this.pictureBox104.Enabled = false;
this.pictureBox105.Enabled = false;
this.pictureBox106.Enabled = false;
this.pictureBox107.Enabled = false;
this.pictureBox108.Enabled = false;
this.pictureBox109.Enabled = false;
this.pictureBox110.Enabled = false;
this.pictureBox111.Enabled = false;
this.pictureBox112.Enabled = false;
this.pictureBox113.Enabled = false;
this.pictureBox114.Enabled = false;
this.pictureBox115.Enabled = false;
this.pictureBox116.Enabled = false;
this.pictureBox117.Enabled = false;
this.pictureBox118.Enabled = false;
this.pictureBox119.Enabled = false;
this.pictureBox120.Enabled = false;
this.pictureBox121.Enabled = false;
this.pictureBox122.Enabled = false;
this.pictureBox123.Enabled = false;
this.pictureBox124.Enabled = false;
this.pictureBox125.Enabled = false;
this.pictureBox126.Enabled = false;
this.pictureBox127.Enabled = false;
this.pictureBox128.Enabled = false;
this.pictureBox129.Enabled = false;
this.pictureBox130.Enabled = false;
this.pictureBox131.Enabled = false;
this.pictureBox132.Enabled = false;
this.pictureBox133.Enabled = false;
this.pictureBox134.Enabled = false;
this.pictureBox135.Enabled = false;
this.pictureBox136.Enabled = false;
this.pictureBox137.Enabled = false;
this.pictureBox138.Enabled = false;
this.pictureBox139.Enabled = false;
this.pictureBox140.Enabled = false;
this.pictureBox141.Enabled = false;
this.pictureBox142.Enabled = false;
this.pictureBox143.Enabled = false;
this.pictureBox144.Enabled = false;
this.pictureBox145.Enabled = false;
this.pictureBox146.Enabled = false;
this.pictureBox147.Enabled = false;
this.pictureBox148.Enabled = false;
this.pictureBox149.Enabled = false;
this.pictureBox150.Enabled = false;
this.pictureBox151.Enabled = false;
this.pictureBox152.Enabled = false;
this.pictureBox153.Enabled = false;
this.pictureBox154.Enabled = false;
this.pictureBox155.Enabled = false;
this.pictureBox156.Enabled = false;
this.pictureBox157.Enabled = false;
this.pictureBox158.Enabled = false;
this.pictureBox159.Enabled = false;
this.pictureBox160.Enabled = false;
this.pictureBox161.Enabled = false;
this.pictureBox162.Enabled = false;
this.pictureBox163.Enabled = false;
this.pictureBox164.Enabled = false;
this.pictureBox165.Enabled = false;
this.pictureBox166.Enabled = false;
this.pictureBox167.Enabled = false;
this.pictureBox168.Enabled = false;
this.pictureBox169.Enabled = false;
this.pictureBox170.Enabled = false;
this.pictureBox171.Enabled = false;
this.pictureBox172.Enabled = false;
this.pictureBox173.Enabled = false;
this.pictureBox174.Enabled = false;
this.pictureBox175.Enabled = false;
this.pictureBox176.Enabled = false;
this.pictureBox177.Enabled = false;
this.pictureBox178.Enabled = false;
this.pictureBox179.Enabled = false;
this.pictureBox180.Enabled = false;
this.pictureBox181.Enabled = false;
this.pictureBox182.Enabled = false;
this.pictureBox183.Enabled = false;
this.pictureBox184.Enabled = false;
this.pictureBox185.Enabled = false;
this.pictureBox186.Enabled = false;
this.pictureBox187.Enabled = false;
this.pictureBox188.Enabled = false;
this.pictureBox189.Enabled = false;
this.pictureBox190.Enabled = false;
this.pictureBox191.Enabled = false;
this.pictureBox192.Enabled = false;
this.pictureBox193.Enabled = false;
this.pictureBox194.Enabled = false;
this.pictureBox195.Enabled = false;
this.pictureBox196.Enabled = false;
this.pictureBox197.Enabled = false;
this.pictureBox198.Enabled = false;
this.pictureBox199.Enabled = false;
this.pictureBox200.Enabled = false;
this.pictureBox201.Enabled = false;
this.pictureBox202.Enabled = false;
this.pictureBox203.Enabled = false;
this.pictureBox204.Enabled = false;
this.pictureBox205.Enabled = false;
this.pictureBox206.Enabled = false;
this.pictureBox207.Enabled = false;
this.pictureBox208.Enabled = false;
this.pictureBox209.Enabled = false;
this.pictureBox210.Enabled = false;
this.pictureBox211.Enabled = false;
this.pictureBox212.Enabled = false;
this.pictureBox213.Enabled = false;
this.pictureBox214.Enabled = false;
this.pictureBox215.Enabled = false;
this.pictureBox216.Enabled = false;
this.pictureBox217.Enabled = false;
this.pictureBox218.Enabled = false;
this.pictureBox219.Enabled = false;
this.pictureBox220.Enabled = false;
this.pictureBox221.Enabled = false;
this.pictureBox222.Enabled = false;
this.pictureBox223.Enabled = false;
this.pictureBox224.Enabled = false;
this.pictureBox225.Enabled = false;
this.pictureBox226.Enabled = false;
this.pictureBox227.Enabled = false;
this.pictureBox228.Enabled = false;
this.pictureBox229.Enabled = false;
this.pictureBox230.Enabled = false;
this.pictureBox231.Enabled = false;
this.pictureBox232.Enabled = false;
this.pictureBox233.Enabled = false;
this.pictureBox234.Enabled = false;
this.pictureBox235.Enabled = false;
this.pictureBox236.Enabled = false;
this.pictureBox237.Enabled = false;
this.pictureBox238.Enabled = false;
this.pictureBox239.Enabled = false;
this.pictureBox240.Enabled = false;
this.pictureBox241.Enabled = false;
this.pictureBox242.Enabled = false;
this.pictureBox243.Enabled = false;
this.pictureBox244.Enabled = false;
this.pictureBox245.Enabled = false;
this.pictureBox246.Enabled = false;
this.pictureBox247.Enabled = false;
this.pictureBox248.Enabled = false;
this.pictureBox249.Enabled = false;
this.pictureBox250.Enabled = false;
this.pictureBox251.Enabled = false;
this.pictureBox252.Enabled = false;
this.pictureBox253.Enabled = false;
this.pictureBox254.Enabled = false;
this.pictureBox255.Enabled = false;
this.pictureBox256.Enabled = false;
this.pictureBox257.Enabled = false;
this.pictureBox258.Enabled = false;
this.pictureBox259.Enabled = false;
this.pictureBox260.Enabled = false;
this.pictureBox261.Enabled = false;
this.pictureBox262.Enabled = false;
this.pictureBox263.Enabled = false;
this.pictureBox264.Enabled = false;
this.pictureBox265.Enabled = false;
this.pictureBox266.Enabled = false;
this.pictureBox267.Enabled = false;
this.pictureBox268.Enabled = false;
this.pictureBox269.Enabled = false;
this.pictureBox270.Enabled = false;
this.pictureBox271.Enabled = false;
this.pictureBox272.Enabled = false;
this.pictureBox273.Enabled = false;
this.pictureBox274.Enabled = false;
this.pictureBox275.Enabled = false;
this.pictureBox276.Enabled = false;
this.pictureBox277.Enabled = false;
this.pictureBox278.Enabled = false;
this.pictureBox279.Enabled = false;
this.pictureBox280.Enabled = false;
this.pictureBox281.Enabled = false;
this.pictureBox282.Enabled = false;
this.pictureBox283.Enabled = false;
this.pictureBox284.Enabled = false;
this.pictureBox285.Enabled = false;
this.pictureBox286.Enabled = false;
this.pictureBox287.Enabled = false;
this.pictureBox288.Enabled = false;
this.pictureBox289.Enabled = false;
this.pictureBox290.Enabled = false;
this.pictureBox291.Enabled = false;
this.pictureBox292.Enabled = false;
this.pictureBox293.Enabled = false;
this.pictureBox294.Enabled = false;
this.pictureBox295.Enabled = false;
this.pictureBox296.Enabled = false;
this.pictureBox297.Enabled = false;
this.pictureBox298.Enabled = false;
this.pictureBox299.Enabled = false;
this.pictureBox300.Enabled = false;
this.pictureBox301.Enabled = false;
this.pictureBox302.Enabled = false;
this.pictureBox303.Enabled = false;
this.pictureBox304.Enabled = false;
this.pictureBox305.Enabled = false;
this.pictureBox306.Enabled = false;
this.pictureBox307.Enabled = false;
this.pictureBox308.Enabled = false;
this.pictureBox309.Enabled = false;
this.pictureBox310.Enabled = false;
this.pictureBox311.Enabled = false;
this.pictureBox312.Enabled = false;
this.pictureBox313.Enabled = false;
this.pictureBox314.Enabled = false;
this.pictureBox315.Enabled = false;
this.pictureBox316.Enabled = false;
this.pictureBox317.Enabled = false;
this.pictureBox318.Enabled = false;
this.pictureBox319.Enabled = false;
this.pictureBox320.Enabled = false;
this.pictureBox321.Enabled = false;
this.pictureBox322.Enabled = false;
this.pictureBox323.Enabled = false;
this.pictureBox324.Enabled = false;
this.pictureBox325.Enabled = false;
this.pictureBox326.Enabled = false;
this.pictureBox327.Enabled = false;
this.pictureBox328.Enabled = false;
this.pictureBox329.Enabled = false;
this.pictureBox330.Enabled = false;
this.pictureBox331.Enabled = false;
this.pictureBox332.Enabled = false;
this.pictureBox333.Enabled = false;
this.pictureBox334.Enabled = false;
this.pictureBox335.Enabled = false;
this.pictureBox336.Enabled = false;
this.pictureBox337.Enabled = false;
this.pictureBox338.Enabled = false;
this.pictureBox339.Enabled = false;
this.pictureBox340.Enabled = false;
this.pictureBox341.Enabled = false;
this.pictureBox342.Enabled = false;
this.pictureBox343.Enabled = false;
this.pictureBox344.Enabled = false;
this.pictureBox345.Enabled = false;
this.pictureBox346.Enabled = false;
this.pictureBox347.Enabled = false;
this.pictureBox348.Enabled = false;
this.pictureBox349.Enabled = false;
this.pictureBox350.Enabled = false;
this.pictureBox351.Enabled = false;
this.pictureBox352.Enabled = false;
this.pictureBox353.Enabled = false;
this.pictureBox354.Enabled = false;
this.pictureBox355.Enabled = false;
this.pictureBox356.Enabled = false;
this.pictureBox357.Enabled = false;
this.pictureBox358.Enabled = false;
this.pictureBox359.Enabled = false;
this.pictureBox360.Enabled = false;
this.pictureBox361.Enabled = false;
}
//释放游戏棋盘锁定
private void Release()
{
this.pictureBox1.Enabled = true;
this.pictureBox2.Enabled = true;
this.pictureBox3.Enabled = true;
this.pictureBox4.Enabled = true;
this.pictureBox5.Enabled = true;
this.pictureBox6.Enabled = true;
this.pictureBox7.Enabled = true;
this.pictureBox8.Enabled = true;
this.pictureBox9.Enabled = true;
this.pictureBox10.Enabled = true;
this.pictureBox11.Enabled = true;
this.pictureBox12.Enabled = true;
this.pictureBox13.Enabled = true;
this.pictureBox14.Enabled = true;
this.pictureBox15.Enabled = true;
this.pictureBox16.Enabled = true;
this.pictureBox17.Enabled = true;
this.pictureBox18.Enabled = true;
this.pictureBox19.Enabled = true;
this.pictureBox20.Enabled = true;
this.pictureBox21.Enabled = true;
this.pictureBox22.Enabled = true;
this.pictureBox23.Enabled = true;
this.pictureBox24.Enabled = true;
this.pictureBox25.Enabled = true;
this.pictureBox26.Enabled = true;
this.pictureBox27.Enabled = true;
this.pictureBox28.Enabled = true;
this.pictureBox29.Enabled = true;
this.pictureBox30.Enabled = true;
this.pictureBox31.Enabled = true;
this.pictureBox32.Enabled = true;
this.pictureBox33.Enabled = true;
this.pictureBox34.Enabled = true;
this.pictureBox35.Enabled = true;
this.pictureBox36.Enabled = true;
this.pictureBox37.Enabled = true;
this.pictureBox38.Enabled = true;
this.pictureBox39.Enabled = true;
this.pictureBox40.Enabled = true;
this.pictureBox41.Enabled = true;
this.pictureBox42.Enabled = true;
this.pictureBox43.Enabled = true;
this.pictureBox44.Enabled = true;
this.pictureBox45.Enabled = true;
this.pictureBox46.Enabled = true;
this.pictureBox47.Enabled = true;
this.pictureBox48.Enabled = true;
this.pictureBox49.Enabled = true;
this.pictureBox50.Enabled = true;
this.pictureBox51.Enabled = true;
this.pictureBox52.Enabled = true;
this.pictureBox53.Enabled = true;
this.pictureBox54.Enabled = true;
this.pictureBox55.Enabled = true;
this.pictureBox56.Enabled = true;
this.pictureBox57.Enabled = true;
this.pictureBox58.Enabled = true;
this.pictureBox59.Enabled = true;
this.pictureBox60.Enabled = true;
this.pictureBox61.Enabled = true;
this.pictureBox62.Enabled = true;
this.pictureBox63.Enabled = true;
this.pictureBox64.Enabled = true;
this.pictureBox65.Enabled = true;
this.pictureBox66.Enabled = true;
this.pictureBox67.Enabled = true;
this.pictureBox68.Enabled = true;
this.pictureBox69.Enabled = true;
this.pictureBox70.Enabled = true;
this.pictureBox71.Enabled = true;
this.pictureBox72.Enabled = true;
this.pictureBox73.Enabled = true;
this.pictureBox74.Enabled = true;
this.pictureBox75.Enabled = true;
this.pictureBox76.Enabled = true;
this.pictureBox77.Enabled = true;
this.pictureBox78.Enabled = true;
this.pictureBox79.Enabled = true;
this.pictureBox80.Enabled = true;
this.pictureBox81.Enabled = true;
this.pictureBox82.Enabled = true;
this.pictureBox83.Enabled = true;
this.pictureBox84.Enabled = true;
this.pictureBox85.Enabled = true;
this.pictureBox86.Enabled = true;
this.pictureBox87.Enabled = true;
this.pictureBox88.Enabled = true;
this.pictureBox89.Enabled = true;
this.pictureBox90.Enabled = true;
this.pictureBox91.Enabled = true;
this.pictureBox92.Enabled = true;
this.pictureBox93.Enabled = true;
this.pictureBox94.Enabled = true;
this.pictureBox95.Enabled = true;
this.pictureBox96.Enabled = true;
this.pictureBox97.Enabled = true;
this.pictureBox98.Enabled = true;
this.pictureBox99.Enabled = true;
this.pictureBox100.Enabled = true;
this.pictureBox101.Enabled = true;
this.pictureBox102.Enabled = true;
this.pictureBox103.Enabled = true;
this.pictureBox104.Enabled = true;
this.pictureBox105.Enabled = true;
this.pictureBox106.Enabled = true;
this.pictureBox107.Enabled = true;
this.pictureBox108.Enabled = true;
this.pictureBox109.Enabled = true;
this.pictureBox110.Enabled = true;
this.pictureBox111.Enabled = true;
this.pictureBox112.Enabled = true;
this.pictureBox113.Enabled = true;
this.pictureBox114.Enabled = true;
this.pictureBox115.Enabled = true;
this.pictureBox116.Enabled = true;
this.pictureBox117.Enabled = true;
this.pictureBox118.Enabled = true;
this.pictureBox119.Enabled = true;
this.pictureBox120.Enabled = true;
this.pictureBox121.Enabled = true;
this.pictureBox122.Enabled = true;
this.pictureBox123.Enabled = true;
this.pictureBox124.Enabled = true;
this.pictureBox125.Enabled = true;
this.pictureBox126.Enabled = true;
this.pictureBox127.Enabled = true;
this.pictureBox128.Enabled = true;
this.pictureBox129.Enabled = true;
this.pictureBox130.Enabled = true;
this.pictureBox131.Enabled = true;
this.pictureBox132.Enabled = true;
this.pictureBox133.Enabled = true;
this.pictureBox134.Enabled = true;
this.pictureBox135.Enabled = true;
this.pictureBox136.Enabled = true;
this.pictureBox137.Enabled = true;
this.pictureBox138.Enabled = true;
this.pictureBox139.Enabled = true;
this.pictureBox140.Enabled = true;
this.pictureBox141.Enabled = true;
this.pictureBox142.Enabled = true;
this.pictureBox143.Enabled = true;
this.pictureBox144.Enabled = true;
this.pictureBox145.Enabled = true;
this.pictureBox146.Enabled = true;
this.pictureBox147.Enabled = true;
this.pictureBox148.Enabled = true;
this.pictureBox149.Enabled = true;
this.pictureBox150.Enabled = true;
this.pictureBox151.Enabled = true;
this.pictureBox152.Enabled = true;
this.pictureBox153.Enabled = true;
this.pictureBox154.Enabled = true;
this.pictureBox155.Enabled = true;
this.pictureBox156.Enabled = true;
this.pictureBox157.Enabled = true;
this.pictureBox158.Enabled = true;
this.pictureBox159.Enabled = true;
this.pictureBox160.Enabled = true;
this.pictureBox161.Enabled = true;
this.pictureBox162.Enabled = true;
this.pictureBox163.Enabled = true;
this.pictureBox164.Enabled = true;
this.pictureBox165.Enabled = true;
this.pictureBox166.Enabled = true;
this.pictureBox167.Enabled = true;
this.pictureBox168.Enabled = true;
this.pictureBox169.Enabled = true;
this.pictureBox170.Enabled = true;
this.pictureBox171.Enabled = true;
this.pictureBox172.Enabled = true;
this.pictureBox173.Enabled = true;
this.pictureBox174.Enabled = true;
this.pictureBox175.Enabled = true;
this.pictureBox176.Enabled = true;
this.pictureBox177.Enabled = true;
this.pictureBox178.Enabled = true;
this.pictureBox179.Enabled = true;
this.pictureBox180.Enabled = true;
this.pictureBox181.Enabled = true;
this.pictureBox182.Enabled = true;
this.pictureBox183.Enabled = true;
this.pictureBox184.Enabled = true;
this.pictureBox185.Enabled = true;
this.pictureBox186.Enabled = true;
this.pictureBox187.Enabled = true;
this.pictureBox188.Enabled = true;
this.pictureBox189.Enabled = true;
this.pictureBox190.Enabled = true;
this.pictureBox191.Enabled = true;
this.pictureBox192.Enabled = true;
this.pictureBox193.Enabled = true;
this.pictureBox194.Enabled = true;
this.pictureBox195.Enabled = true;
this.pictureBox196.Enabled = true;
this.pictureBox197.Enabled = true;
this.pictureBox198.Enabled = true;
this.pictureBox199.Enabled = true;
this.pictureBox200.Enabled = true;
this.pictureBox201.Enabled = true;
this.pictureBox202.Enabled = true;
this.pictureBox203.Enabled = true;
this.pictureBox204.Enabled = true;
this.pictureBox205.Enabled = true;
this.pictureBox206.Enabled = true;
this.pictureBox207.Enabled = true;
this.pictureBox208.Enabled = true;
this.pictureBox209.Enabled = true;
this.pictureBox210.Enabled = true;
this.pictureBox211.Enabled = true;
this.pictureBox212.Enabled = true;
this.pictureBox213.Enabled = true;
this.pictureBox214.Enabled = true;
this.pictureBox215.Enabled = true;
this.pictureBox216.Enabled = true;
this.pictureBox217.Enabled = true;
this.pictureBox218.Enabled = true;
this.pictureBox219.Enabled = true;
this.pictureBox220.Enabled = true;
this.pictureBox221.Enabled = true;
this.pictureBox222.Enabled = true;
this.pictureBox223.Enabled = true;
this.pictureBox224.Enabled = true;
this.pictureBox225.Enabled = true;
this.pictureBox226.Enabled = true;
this.pictureBox227.Enabled = true;
this.pictureBox228.Enabled = true;
this.pictureBox229.Enabled = true;
this.pictureBox230.Enabled = true;
this.pictureBox231.Enabled = true;
this.pictureBox232.Enabled = true;
this.pictureBox233.Enabled = true;
this.pictureBox234.Enabled = true;
this.pictureBox235.Enabled = true;
this.pictureBox236.Enabled = true;
this.pictureBox237.Enabled = true;
this.pictureBox238.Enabled = true;
this.pictureBox239.Enabled = true;
this.pictureBox240.Enabled = true;
this.pictureBox241.Enabled = true;
this.pictureBox242.Enabled = true;
this.pictureBox243.Enabled = true;
this.pictureBox244.Enabled = true;
this.pictureBox245.Enabled = true;
this.pictureBox246.Enabled = true;
this.pictureBox247.Enabled = true;
this.pictureBox248.Enabled = true;
this.pictureBox249.Enabled = true;
this.pictureBox250.Enabled = true;
this.pictureBox251.Enabled = true;
this.pictureBox252.Enabled = true;
this.pictureBox253.Enabled = true;
this.pictureBox254.Enabled = true;
this.pictureBox255.Enabled = true;
this.pictureBox256.Enabled = true;
this.pictureBox257.Enabled = true;
this.pictureBox258.Enabled = true;
this.pictureBox259.Enabled = true;
this.pictureBox260.Enabled = true;
this.pictureBox261.Enabled = true;
this.pictureBox262.Enabled = true;
this.pictureBox263.Enabled = true;
this.pictureBox264.Enabled = true;
this.pictureBox265.Enabled = true;
this.pictureBox266.Enabled = true;
this.pictureBox267.Enabled = true;
this.pictureBox268.Enabled = true;
this.pictureBox269.Enabled = true;
this.pictureBox270.Enabled = true;
this.pictureBox271.Enabled = true;
this.pictureBox272.Enabled = true;
this.pictureBox273.Enabled = true;
this.pictureBox274.Enabled = true;
this.pictureBox275.Enabled = true;
this.pictureBox276.Enabled = true;
this.pictureBox277.Enabled = true;
this.pictureBox278.Enabled = true;
this.pictureBox279.Enabled = true;
this.pictureBox280.Enabled = true;
this.pictureBox281.Enabled = true;
this.pictureBox282.Enabled = true;
this.pictureBox283.Enabled = true;
this.pictureBox284.Enabled = true;
this.pictureBox285.Enabled = true;
this.pictureBox286.Enabled = true;
this.pictureBox287.Enabled = true;
this.pictureBox288.Enabled = true;
this.pictureBox289.Enabled = true;
this.pictureBox290.Enabled = true;
this.pictureBox291.Enabled = true;
this.pictureBox292.Enabled = true;
this.pictureBox293.Enabled = true;
this.pictureBox294.Enabled = true;
this.pictureBox295.Enabled = true;
this.pictureBox296.Enabled = true;
this.pictureBox297.Enabled = true;
this.pictureBox298.Enabled = true;
this.pictureBox299.Enabled = true;
this.pictureBox300.Enabled = true;
this.pictureBox301.Enabled = true;
this.pictureBox302.Enabled = true;
this.pictureBox303.Enabled = true;
this.pictureBox304.Enabled = true;
this.pictureBox305.Enabled = true;
this.pictureBox306.Enabled = true;
this.pictureBox307.Enabled = true;
this.pictureBox308.Enabled = true;
this.pictureBox309.Enabled = true;
this.pictureBox310.Enabled = true;
this.pictureBox311.Enabled = true;
this.pictureBox312.Enabled = true;
this.pictureBox313.Enabled = true;
this.pictureBox314.Enabled = true;
this.pictureBox315.Enabled = true;
this.pictureBox316.Enabled = true;
this.pictureBox317.Enabled = true;
this.pictureBox318.Enabled = true;
this.pictureBox319.Enabled = true;
this.pictureBox320.Enabled = true;
this.pictureBox321.Enabled = true;
this.pictureBox322.Enabled = true;
this.pictureBox323.Enabled = true;
this.pictureBox324.Enabled = true;
this.pictureBox325.Enabled = true;
this.pictureBox326.Enabled = true;
this.pictureBox327.Enabled = true;
this.pictureBox328.Enabled = true;
this.pictureBox329.Enabled = true;
this.pictureBox330.Enabled = true;
this.pictureBox331.Enabled = true;
this.pictureBox332.Enabled = true;
this.pictureBox333.Enabled = true;
this.pictureBox334.Enabled = true;
this.pictureBox335.Enabled = true;
this.pictureBox336.Enabled = true;
this.pictureBox337.Enabled = true;
this.pictureBox338.Enabled = true;
this.pictureBox339.Enabled = true;
this.pictureBox340.Enabled = true;
this.pictureBox341.Enabled = true;
this.pictureBox342.Enabled = true;
this.pictureBox343.Enabled = true;
this.pictureBox344.Enabled = true;
this.pictureBox345.Enabled = true;
this.pictureBox346.Enabled = true;
this.pictureBox347.Enabled = true;
this.pictureBox348.Enabled = true;
this.pictureBox349.Enabled = true;
this.pictureBox350.Enabled = true;
this.pictureBox351.Enabled = true;
this.pictureBox352.Enabled = true;
this.pictureBox353.Enabled = true;
this.pictureBox354.Enabled = true;
this.pictureBox355.Enabled = true;
this.pictureBox356.Enabled = true;
this.pictureBox357.Enabled = true;
this.pictureBox358.Enabled = true;
this.pictureBox359.Enabled = true;
this.pictureBox360.Enabled = true;
this.pictureBox361.Enabled = true;
}
//重置游戏方法
private void reset()
{
lun = 0;
start = true;
zi1_1 = 0;
zi1_2 = 0;
zi1_3 = 0;
zi1_4 = 0;
zi1_5 = 0;
zi1_6 = 0;
zi1_7 = 0;
zi1_8 = 0;
zi1_9 = 0;
zi1_10 = 0;
zi1_11 = 0;
zi1_12 = 0;
zi1_13 = 0;
zi1_14 = 0;
zi1_15 = 0;
zi1_16 = 0;
zi1_17 = 0;
zi1_18 = 0;
zi1_19 = 0;
zi2_1 = 0;
zi2_2 = 0;
zi2_3 = 0;
zi2_4 = 0;
zi2_5 = 0;
zi2_6 = 0;
zi2_7 = 0;
zi2_8 = 0;
zi2_9 = 0;
zi2_10 = 0;
zi2_11 = 0;
zi2_12 = 0;
zi2_13 = 0;
zi2_14 = 0;
zi2_15 = 0;
zi2_16 = 0;
zi2_17 = 0;
zi2_18 = 0;
zi2_19 = 0;
zi3_1 = 0;
zi3_2 = 0;
zi3_3 = 0;
zi3_4 = 0;
zi3_5 = 0;
zi3_6 = 0;
zi3_7 = 0;
zi3_8 = 0;
zi3_9 = 0;
zi3_10 = 0;
zi3_11 = 0;
zi3_12 = 0;
zi3_13 = 0;
zi3_14 = 0;
zi3_15 = 0;
zi3_16 = 0;
zi3_17 = 0;
zi3_18 = 0;
zi3_19 = 0;
zi4_1 = 0;
zi4_2 = 0;
zi4_3 = 0;
zi4_4 = 0;
zi4_5 = 0;
zi4_6 = 0;
zi4_7 = 0;
zi4_8 = 0;
zi4_9 = 0;
zi4_10 = 0;
zi4_11 = 0;
zi4_12 = 0;
zi4_13 = 0;
zi4_14 = 0;
zi4_15 = 0;
zi4_16 = 0;
zi4_17 = 0;
zi4_18 = 0;
zi4_19 = 0;
zi5_1 = 0;
zi5_2 = 0;
zi5_3 = 0;
zi5_4 = 0;
zi5_5 = 0;
zi5_6 = 0;
zi5_7 = 0;
zi5_8 = 0;
zi5_9 = 0;
zi5_10 = 0;
zi5_11 = 0;
zi5_12 = 0;
zi5_13 = 0;
zi5_14 = 0;
zi5_15 = 0;
zi5_16 = 0;
zi5_17 = 0;
zi5_18 = 0;
zi5_19 = 0;
zi6_1 = 0;
zi6_2 = 0;
zi6_3 = 0;
zi6_4 = 0;
zi6_5 = 0;
zi6_6 = 0;
zi6_7 = 0;
zi6_8 = 0;
zi6_9 = 0;
zi6_10 = 0;
zi6_11 = 0;
zi6_12 = 0;
zi6_13 = 0;
zi6_14 = 0;
zi6_15 = 0;
zi6_16 = 0;
zi6_17 = 0;
zi6_18 = 0;
zi6_19 = 0;
zi7_1 = 0;
zi7_2 = 0;
zi7_3 = 0;
zi7_4 = 0;
zi7_5 = 0;
zi7_6 = 0;
zi7_7 = 0;
zi7_8 = 0;
zi7_9 = 0;
zi7_10 = 0;
zi7_11 = 0;
zi7_12 = 0;
zi7_13 = 0;
zi7_14 = 0;
zi7_15 = 0;
zi7_16 = 0;
zi7_17 = 0;
zi7_18 = 0;
zi7_19 = 0;
zi8_1 = 0;
zi8_2 = 0;
zi8_3 = 0;
zi8_4 = 0;
zi8_5 = 0;
zi8_6 = 0;
zi8_7 = 0;
zi8_8 = 0;
zi8_9 = 0;
zi8_10 = 0;
zi8_11 = 0;
zi8_12 = 0;
zi8_13 = 0;
zi8_14 = 0;
zi8_15 = 0;
zi8_16 = 0;
zi8_17 = 0;
zi8_18 = 0;
zi8_19 = 0;
zi9_1 = 0;
zi9_2 = 0;
zi9_3 = 0;
zi9_4 = 0;
zi9_5 = 0;
zi9_6 = 0;
zi9_7 = 0;
zi9_8 = 0;
zi9_9 = 0;
zi9_10 = 0;
zi9_11 = 0;
zi9_12 = 0;
zi9_13 = 0;
zi9_14 = 0;
zi9_15 = 0;
zi9_16 = 0;
zi9_17 = 0;
zi9_18 = 0;
zi9_19 = 0;
zi10_1 = 0;
zi10_2 = 0;
zi10_3 = 0;
zi10_4 = 0;
zi10_5 = 0;
zi10_6 = 0;
zi10_7 = 0;
zi10_8 = 0;
zi10_9 = 0;
zi10_10 = 0;
zi10_11 = 0;
zi10_12 = 0;
zi10_13 = 0;
zi10_14 = 0;
zi10_15 = 0;
zi10_16 = 0;
zi10_17 = 0;
zi10_18 = 0;
zi10_19 = 0;
zi11_1 = 0;
zi11_2 = 0;
zi11_3 = 0;
zi11_4 = 0;
zi11_5 = 0;
zi11_6 = 0;
zi11_7 = 0;
zi11_8 = 0;
zi11_9 = 0;
zi11_10 = 0;
zi11_11 = 0;
zi11_12 = 0;
zi11_13 = 0;
zi11_14 = 0;
zi11_15 = 0;
zi11_16 = 0;
zi11_17 = 0;
zi11_18 = 0;
zi11_19 = 0;
zi12_1 = 0;
zi12_2 = 0;
zi12_3 = 0;
zi12_4 = 0;
zi12_5 = 0;
zi12_6 = 0;
zi12_7 = 0;
zi12_8 = 0;
zi12_9 = 0;
zi12_10 = 0;
zi12_11 = 0;
zi12_12 = 0;
zi12_13 = 0;
zi12_14 = 0;
zi12_15 = 0;
zi12_16 = 0;
zi12_17 = 0;
zi12_18 = 0;
zi12_19 = 0;
zi13_1 = 0;
zi13_2 = 0;
zi13_3 = 0;
zi13_4 = 0;
zi13_5 = 0;
zi13_6 = 0;
zi13_7 = 0;
zi13_8 = 0;
zi13_9 = 0;
zi13_10 = 0;
zi13_11 = 0;
zi13_12 = 0;
zi13_13 = 0;
zi13_14 = 0;
zi13_15 = 0;
zi13_16 = 0;
zi13_17 = 0;
zi13_18 = 0;
zi13_19 = 0;
zi14_1 = 0;
zi14_2 = 0;
zi14_3 = 0;
zi14_4 = 0;
zi14_5 = 0;
zi14_6 = 0;
zi14_7 = 0;
zi14_8 = 0;
zi14_9 = 0;
zi14_10 = 0;
zi14_11 = 0;
zi14_12 = 0;
zi14_13 = 0;
zi14_14 = 0;
zi14_15 = 0;
zi14_16 = 0;
zi14_17 = 0;
zi14_18 = 0;
zi14_19 = 0;
zi15_1 = 0;
zi15_2 = 0;
zi15_3 = 0;
zi15_4 = 0;
zi15_5 = 0;
zi15_6 = 0;
zi15_7 = 0;
zi15_8 = 0;
zi15_9 = 0;
zi15_10 = 0;
zi15_11 = 0;
zi15_12 = 0;
zi15_13 = 0;
zi15_14 = 0;
zi15_15 = 0;
zi15_16 = 0;
zi15_17 = 0;
zi15_18 = 0;
zi15_19 = 0;
zi16_1 = 0;
zi16_2 = 0;
zi16_3 = 0;
zi16_4 = 0;
zi16_5 = 0;
zi16_6 = 0;
zi16_7 = 0;
zi16_8 = 0;
zi16_9 = 0;
zi16_10 = 0;
zi16_11 = 0;
zi16_12 = 0;
zi16_13 = 0;
zi16_14 = 0;
zi16_15 = 0;
zi16_16 = 0;
zi16_17 = 0;
zi16_18 = 0;
zi16_19 = 0;
zi17_1 = 0;
zi17_2 = 0;
zi17_3 = 0;
zi17_4 = 0;
zi17_5 = 0;
zi17_6 = 0;
zi17_7 = 0;
zi17_8 = 0;
zi17_9 = 0;
zi17_10 = 0;
zi17_11 = 0;
zi17_12 = 0;
zi17_13 = 0;
zi17_14 = 0;
zi17_15 = 0;
zi17_16 = 0;
zi17_17 = 0;
zi17_18 = 0;
zi17_19 = 0;
zi18_1 = 0;
zi18_2 = 0;
zi18_3 = 0;
zi18_4 = 0;
zi18_5 = 0;
zi18_6 = 0;
zi18_7 = 0;
zi18_8 = 0;
zi18_9 = 0;
zi18_10 = 0;
zi18_11 = 0;
zi18_12 = 0;
zi18_13 = 0;
zi18_14 = 0;
zi18_15 = 0;
zi18_16 = 0;
zi18_17 = 0;
zi18_18 = 0;
zi18_19 = 0;
zi19_1 = 0;
zi19_2 = 0;
zi19_3 = 0;
zi19_4 = 0;
zi19_5 = 0;
zi19_6 = 0;
zi19_7 = 0;
zi19_8 = 0;
zi19_9 = 0;
zi19_10 = 0;
zi19_11 = 0;
zi19_12 = 0;
zi19_13 = 0;
zi19_14 = 0;
zi19_15 = 0;
zi19_16 = 0;
zi19_17 = 0;
zi19_18 = 0;
zi19_19 = 0;
this.pictureBox1.Image = null;
this.pictureBox2.Image = null;
this.pictureBox3.Image = null;
this.pictureBox4.Image = null;
this.pictureBox5.Image = null;
this.pictureBox6.Image = null;
this.pictureBox7.Image = null;
this.pictureBox8.Image = null;
this.pictureBox9.Image = null;
this.pictureBox10.Image = null;
this.pictureBox11.Image = null;
this.pictureBox12.Image = null;
this.pictureBox13.Image = null;
this.pictureBox14.Image = null;
this.pictureBox15.Image = null;
this.pictureBox16.Image = null;
this.pictureBox17.Image = null;
this.pictureBox18.Image = null;
this.pictureBox19.Image = null;
this.pictureBox20.Image = null;
this.pictureBox21.Image = null;
this.pictureBox22.Image = null;
this.pictureBox23.Image = null;
this.pictureBox24.Image = null;
this.pictureBox25.Image = null;
this.pictureBox26.Image = null;
this.pictureBox27.Image = null;
this.pictureBox28.Image = null;
this.pictureBox29.Image = null;
this.pictureBox30.Image = null;
this.pictureBox31.Image = null;
this.pictureBox32.Image = null;
this.pictureBox33.Image = null;
this.pictureBox34.Image = null;
this.pictureBox35.Image = null;
this.pictureBox36.Image = null;
this.pictureBox37.Image = null;
this.pictureBox38.Image = null;
this.pictureBox39.Image = null;
this.pictureBox40.Image = null;
this.pictureBox41.Image = null;
this.pictureBox42.Image = null;
this.pictureBox43.Image = null;
this.pictureBox44.Image = null;
this.pictureBox45.Image = null;
this.pictureBox46.Image = null;
this.pictureBox47.Image = null;
this.pictureBox48.Image = null;
this.pictureBox49.Image = null;
this.pictureBox50.Image = null;
this.pictureBox51.Image = null;
this.pictureBox52.Image = null;
this.pictureBox53.Image = null;
this.pictureBox54.Image = null;
this.pictureBox55.Image = null;
this.pictureBox56.Image = null;
this.pictureBox57.Image = null;
this.pictureBox58.Image = null;
this.pictureBox59.Image = null;
this.pictureBox60.Image = null;
this.pictureBox61.Image = null;
this.pictureBox62.Image = null;
this.pictureBox63.Image = null;
this.pictureBox64.Image = null;
this.pictureBox65.Image = null;
this.pictureBox66.Image = null;
this.pictureBox67.Image = null;
this.pictureBox68.Image = null;
this.pictureBox69.Image = null;
this.pictureBox70.Image = null;
this.pictureBox71.Image = null;
this.pictureBox72.Image = null;
this.pictureBox73.Image = null;
this.pictureBox74.Image = null;
this.pictureBox75.Image = null;
this.pictureBox76.Image = null;
this.pictureBox77.Image = null;
this.pictureBox78.Image = null;
this.pictureBox79.Image = null;
this.pictureBox80.Image = null;
this.pictureBox81.Image = null;
this.pictureBox82.Image = null;
this.pictureBox83.Image = null;
this.pictureBox84.Image = null;
this.pictureBox85.Image = null;
this.pictureBox86.Image = null;
this.pictureBox87.Image = null;
this.pictureBox88.Image = null;
this.pictureBox89.Image = null;
this.pictureBox90.Image = null;
this.pictureBox91.Image = null;
this.pictureBox92.Image = null;
this.pictureBox93.Image = null;
this.pictureBox94.Image = null;
this.pictureBox95.Image = null;
this.pictureBox96.Image = null;
this.pictureBox97.Image = null;
this.pictureBox98.Image = null;
this.pictureBox99.Image = null;
this.pictureBox100.Image = null;
this.pictureBox101.Image = null;
this.pictureBox102.Image = null;
this.pictureBox103.Image = null;
this.pictureBox104.Image = null;
this.pictureBox105.Image = null;
this.pictureBox106.Image = null;
this.pictureBox107.Image = null;
this.pictureBox108.Image = null;
this.pictureBox109.Image = null;
this.pictureBox110.Image = null;
this.pictureBox111.Image = null;
this.pictureBox112.Image = null;
this.pictureBox113.Image = null;
this.pictureBox114.Image = null;
this.pictureBox115.Image = null;
this.pictureBox116.Image = null;
this.pictureBox117.Image = null;
this.pictureBox118.Image = null;
this.pictureBox119.Image = null;
this.pictureBox120.Image = null;
this.pictureBox121.Image = null;
this.pictureBox122.Image = null;
this.pictureBox123.Image = null;
this.pictureBox124.Image = null;
this.pictureBox125.Image = null;
this.pictureBox126.Image = null;
this.pictureBox127.Image = null;
this.pictureBox128.Image = null;
this.pictureBox129.Image = null;
this.pictureBox130.Image = null;
this.pictureBox131.Image = null;
this.pictureBox132.Image = null;
this.pictureBox133.Image = null;
this.pictureBox134.Image = null;
this.pictureBox135.Image = null;
this.pictureBox136.Image = null;
this.pictureBox137.Image = null;
this.pictureBox138.Image = null;
this.pictureBox139.Image = null;
this.pictureBox140.Image = null;
this.pictureBox141.Image = null;
this.pictureBox142.Image = null;
this.pictureBox143.Image = null;
this.pictureBox144.Image = null;
this.pictureBox145.Image = null;
this.pictureBox146.Image = null;
this.pictureBox147.Image = null;
this.pictureBox148.Image = null;
this.pictureBox149.Image = null;
this.pictureBox150.Image = null;
this.pictureBox151.Image = null;
this.pictureBox152.Image = null;
this.pictureBox153.Image = null;
this.pictureBox154.Image = null;
this.pictureBox155.Image = null;
this.pictureBox156.Image = null;
this.pictureBox157.Image = null;
this.pictureBox158.Image = null;
this.pictureBox159.Image = null;
this.pictureBox160.Image = null;
this.pictureBox161.Image = null;
this.pictureBox162.Image = null;
this.pictureBox163.Image = null;
this.pictureBox164.Image = null;
this.pictureBox165.Image = null;
this.pictureBox166.Image = null;
this.pictureBox167.Image = null;
this.pictureBox168.Image = null;
this.pictureBox169.Image = null;
this.pictureBox170.Image = null;
this.pictureBox171.Image = null;
this.pictureBox172.Image = null;
this.pictureBox173.Image = null;
this.pictureBox174.Image = null;
this.pictureBox175.Image = null;
this.pictureBox176.Image = null;
this.pictureBox177.Image = null;
this.pictureBox178.Image = null;
this.pictureBox179.Image = null;
this.pictureBox180.Image = null;
this.pictureBox181.Image = null;
this.pictureBox182.Image = null;
this.pictureBox183.Image = null;
this.pictureBox184.Image = null;
this.pictureBox185.Image = null;
this.pictureBox186.Image = null;
this.pictureBox187.Image = null;
this.pictureBox188.Image = null;
this.pictureBox189.Image = null;
this.pictureBox190.Image = null;
this.pictureBox191.Image = null;
this.pictureBox192.Image = null;
this.pictureBox193.Image = null;
this.pictureBox194.Image = null;
this.pictureBox195.Image = null;
this.pictureBox196.Image = null;
this.pictureBox197.Image = null;
this.pictureBox198.Image = null;
this.pictureBox199.Image = null;
this.pictureBox200.Image = null;
this.pictureBox201.Image = null;
this.pictureBox202.Image = null;
this.pictureBox203.Image = null;
this.pictureBox204.Image = null;
this.pictureBox205.Image = null;
this.pictureBox206.Image = null;
this.pictureBox207.Image = null;
this.pictureBox208.Image = null;
this.pictureBox209.Image = null;
this.pictureBox210.Image = null;
this.pictureBox211.Image = null;
this.pictureBox212.Image = null;
this.pictureBox213.Image = null;
this.pictureBox214.Image = null;
this.pictureBox215.Image = null;
this.pictureBox216.Image = null;
this.pictureBox217.Image = null;
this.pictureBox218.Image = null;
this.pictureBox219.Image = null;
this.pictureBox220.Image = null;
this.pictureBox221.Image = null;
this.pictureBox222.Image = null;
this.pictureBox223.Image = null;
this.pictureBox224.Image = null;
this.pictureBox225.Image = null;
this.pictureBox226.Image = null;
this.pictureBox227.Image = null;
this.pictureBox228.Image = null;
this.pictureBox229.Image = null;
this.pictureBox230.Image = null;
this.pictureBox231.Image = null;
this.pictureBox232.Image = null;
this.pictureBox233.Image = null;
this.pictureBox234.Image = null;
this.pictureBox235.Image = null;
this.pictureBox236.Image = null;
this.pictureBox237.Image = null;
this.pictureBox238.Image = null;
this.pictureBox239.Image = null;
this.pictureBox240.Image = null;
this.pictureBox241.Image = null;
this.pictureBox242.Image = null;
this.pictureBox243.Image = null;
this.pictureBox244.Image = null;
this.pictureBox245.Image = null;
this.pictureBox246.Image = null;
this.pictureBox247.Image = null;
this.pictureBox248.Image = null;
this.pictureBox249.Image = null;
this.pictureBox250.Image = null;
this.pictureBox251.Image = null;
this.pictureBox252.Image = null;
this.pictureBox253.Image = null;
this.pictureBox254.Image = null;
this.pictureBox255.Image = null;
this.pictureBox256.Image = null;
this.pictureBox257.Image = null;
this.pictureBox258.Image = null;
this.pictureBox259.Image = null;
this.pictureBox260.Image = null;
this.pictureBox261.Image = null;
this.pictureBox262.Image = null;
this.pictureBox263.Image = null;
this.pictureBox264.Image = null;
this.pictureBox265.Image = null;
this.pictureBox266.Image = null;
this.pictureBox267.Image = null;
this.pictureBox268.Image = null;
this.pictureBox269.Image = null;
this.pictureBox270.Image = null;
this.pictureBox271.Image = null;
this.pictureBox272.Image = null;
this.pictureBox273.Image = null;
this.pictureBox274.Image = null;
this.pictureBox275.Image = null;
this.pictureBox276.Image = null;
this.pictureBox277.Image = null;
this.pictureBox278.Image = null;
this.pictureBox279.Image = null;
this.pictureBox280.Image = null;
this.pictureBox281.Image = null;
this.pictureBox282.Image = null;
this.pictureBox283.Image = null;
this.pictureBox284.Image = null;
this.pictureBox285.Image = null;
this.pictureBox286.Image = null;
this.pictureBox287.Image = null;
this.pictureBox288.Image = null;
this.pictureBox289.Image = null;
this.pictureBox290.Image = null;
this.pictureBox291.Image = null;
this.pictureBox292.Image = null;
this.pictureBox293.Image = null;
this.pictureBox294.Image = null;
this.pictureBox295.Image = null;
this.pictureBox296.Image = null;
this.pictureBox297.Image = null;
this.pictureBox298.Image = null;
this.pictureBox299.Image = null;
this.pictureBox300.Image = null;
this.pictureBox301.Image = null;
this.pictureBox302.Image = null;
this.pictureBox303.Image = null;
this.pictureBox304.Image = null;
this.pictureBox305.Image = null;
this.pictureBox306.Image = null;
this.pictureBox307.Image = null;
this.pictureBox308.Image = null;
this.pictureBox309.Image = null;
this.pictureBox310.Image = null;
this.pictureBox311.Image = null;
this.pictureBox312.Image = null;
this.pictureBox313.Image = null;
this.pictureBox314.Image = null;
this.pictureBox315.Image = null;
this.pictureBox316.Image = null;
this.pictureBox317.Image = null;
this.pictureBox318.Image = null;
this.pictureBox319.Image = null;
this.pictureBox320.Image = null;
this.pictureBox321.Image = null;
this.pictureBox322.Image = null;
this.pictureBox323.Image = null;
this.pictureBox324.Image = null;
this.pictureBox325.Image = null;
this.pictureBox326.Image = null;
this.pictureBox327.Image = null;
this.pictureBox328.Image = null;
this.pictureBox329.Image = null;
this.pictureBox330.Image = null;
this.pictureBox331.Image = null;
this.pictureBox332.Image = null;
this.pictureBox333.Image = null;
this.pictureBox334.Image = null;
this.pictureBox335.Image = null;
this.pictureBox336.Image = null;
this.pictureBox337.Image = null;
this.pictureBox338.Image = null;
this.pictureBox339.Image = null;
this.pictureBox340.Image = null;
this.pictureBox341.Image = null;
this.pictureBox342.Image = null;
this.pictureBox343.Image = null;
this.pictureBox344.Image = null;
this.pictureBox345.Image = null;
this.pictureBox346.Image = null;
this.pictureBox347.Image = null;
this.pictureBox348.Image = null;
this.pictureBox349.Image = null;
this.pictureBox350.Image = null;
this.pictureBox351.Image = null;
this.pictureBox352.Image = null;
this.pictureBox353.Image = null;
this.pictureBox354.Image = null;
this.pictureBox355.Image = null;
this.pictureBox356.Image = null;
this.pictureBox357.Image = null;
this.pictureBox358.Image = null;
this.pictureBox359.Image = null;
this.pictureBox360.Image = null;
this.pictureBox361.Image = null;
picturelun.Image = null;
hang = 0;
lie = 0;
this.button5.Enabled = true;
}
//窗口关闭事件
private void FormGobang_FormClosed(object sender, FormClosedEventArgs e)
{
fm.Visible = true;
LockUp();
reset();
}
//不判断输赢
private void button5_Click(object sender, EventArgs e)
{
if (panduan)
{
if (MessageBox.Show("是否关闭不判断输赢?(这里是指如果关闭后,则就会按照五子棋开始判断输赢了。)", "是否关闭", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
this.panduan = false;
this.button4.Enabled = !this.panduan;
MessageBox.Show("已经关闭不判断输赢模式。");
}
}
else
{
if (MessageBox.Show("是否开启不判断输赢?(这里是指如果开启后,则就不会按照五子棋开始判断输赢了。)", "是否关闭", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
this.panduan = true;
this.button4.Enabled = !this.panduan;
MessageBox.Show("已经开启不判断输赢模式。");
}
}
fm.gobangpanduan = panduan;
gobangini.IniWriteValue("Settings", "JudgeWinOrLose", Convert.ToString(panduan));
}
//窗口加载事件
private void FormGobang_Load(object sender, EventArgs e)
{
this.button4.Enabled = !this.panduan;
}
}
}
复制代码
程序运行的效果大约如此:

然后嘛……代码设计文档……在我的仓库项目里:https://gitee.com/rechalow/games
这串代码已经保存到【bullshit-code】里面,请看我的commit:https://gitee.com/gitee-communit ... eae7bc091c006774669
想下载来游玩的,也可以进我的仓库项目里下载游玩。但是切记!由于当初的年少无知,我在程序的【千万别点】里有一个无限弹窗的代码,请尽量不要点击,如果你实在好奇点击了,请通过任务管理器强行退出该程序!本项目早已停更,懒得再去掉那个千万别点的代码了,因此请见谅!
你就说这个代码人类可不可以读,可以读就完了!
在程序里面点击棋类游戏即可进入我的代码!
如果各位想运行并且编辑该源码的,请pull我的仓库,并使用visual studio打开即可!