p;                     pictureBox1.Invalidate();                     Random 随机 = new Random();//声明一个随即对象 r                     ArrayList 动态数组 = new ArrayList();//声明一个动态数组                     for (sbyte i = 0; i < (行 * 列); i++)                     {                         动态数组.Add(地图[i]);                     }                     for (sbyte i = 0; i < (行 * 列); i++)                     {                         int 变换 = 随机.Next() % 动态数组.Count;                         地图[i] = (int)动态数组[变换];                         动态数组.RemoveAt(变换);                     }                     生成界面();                                       }             }             catch (Exception ex)             {                 MessageBox.Show(ex.Message, "趙趑龍提示:",                     MessageBoxButtons.OK, MessageBoxIcon.Information);                         &n
 << 上一页  [31] [32] [33] [34] [35] [36] [37] 下一页