- 博客(0)
- 资源 (7)
- 收藏
- 关注
C# 俄罗斯方块游戏
C#做的俄罗斯方块游戏using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Xml;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Runtime.Serialization.Formatters.Binary;
namespace RussiaBlock
{
public class MainForm : System.Windows.Forms.Form
{
#region 变量
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Timer timer1;
private Block block;
private Block nextBlock;
private int nextShapeNO;
private bool paused;
private DateTime atStart;
private DateTime atPause;
private TimeSpan pauseTime;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.TextBox textBox1;
private ControlForm sform;
private Keys[] keys;
private System.Windows.Forms.Label label4;
private int level;
private int startLevel;
private bool trans;
private int rowDelNum;
private bool failed;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.MainMenu mainMenu1;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.MenuItem menuItem4;
private System.Windows.Forms.MenuItem menuItem5;
private System.Windows.Forms.MenuItem menuItem6;
private AxWMPLib.AxWindowsMediaPlayer axMediaPlayer1;
private System.Windows.Forms.MenuItem menuItem7;
private System.ComponentModel.IContainer components;
#endregion
public MainForm()
{
InitializeComponent();
}
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(component
2011-07-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人