Form1.cs
(开头部分) 20KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.Threading;
namespace Lianliankan
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private Bitmap Allmaplist;//图片集
private int mapheight = 50;//图片边长
private int size = 10;//大小 个数
private bool isChoise = false;//是否选中
private int x1, x2, y1, y2;//选中两个点坐标
public Point z1, z2;//折点坐标
private int line = 10, row = 10;//行,列
private int[] map = new int[12 * 12];//一维数组存地图
public sbyte flash = new sbyte();//刷新
private int isend = 25;//消除
public int a1, a2, b1, b2;//存临时节点坐标
public sbyte iswin = 0;//是否成功
public enum LinkType { line0, line1, line2 };
LinkType linklink = new LinkType();
// 下载于www.51aspx.com
private void Form1_Load(object sender, EventArgs e)
{
loadgame();//初始化游戏
this.CenterToScreen();
}
private void loadgame()
{
flash = 3;
this.pictureBox1.Cursor = Cursors.Hand;
this.pictureBox1.Height=mapheight*(line+2) ;
this.pictureBox1.Width=mapheight*(row+2);
//form设置
this.Height = this.pictureBox1.Height + (this.Height - this.ClientRectangle.Height)
+ this.menuStrip1.Height;
this.Width = this.pictureBox1.Width + (this.Width - this.ClientRectangle.Width);
//游戏设计
maparrang();//游戏排列
mapview(); //游戏显示
}
private void maparrang()
后面还有 595 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。