#region 定义变量
PictureBox[] pbox = new PictureBox[8];//存放8个picturebox
int[] Ran = new int[4];//先存放4张图片;
int[] newRan = new int[8];//存放8张图片到picturebox;
//int temp = new int[2];//存放用户点击的图片的tag编号
//int temp1 = new int[2];//存放用户点击的图片的文件名编号
Random ran = new Random();//随即函数声明;
int count = 0;//
#endregion int w
int k//循环次数
接下去要写一组算法对应开始按钮,将牌的位置打乱。。每按一次开始都是无序排法。。怎么写,初学者求教
PictureBox[] pbox = new PictureBox[8];//存放8个picturebox
int[] Ran = new int[4];//先存放4张图片;
int[] newRan = new int[8];//存放8张图片到picturebox;
//int temp = new int[2];//存放用户点击的图片的tag编号
//int temp1 = new int[2];//存放用户点击的图片的文件名编号
Random ran = new Random();//随即函数声明;
int count = 0;//
#endregion int w
int k//循环次数
接下去要写一组算法对应开始按钮,将牌的位置打乱。。每按一次开始都是无序排法。。怎么写,初学者求教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货