C#游戏 拼拼乐

该游戏借鉴c#windows游戏设计课本 剔除了丑陋的memustrip 和 statusstrip 加入了大量button label 和flowlayoutpanel 加入了media player播放器来实现背景音乐和音效的同步播放 界面效果直接上图
开始页
开始页面难度
难度选择音效
游戏sounds设置
帮助与说明
帮助
图片选取方式
图片加载放法游戏等待观看图像
观看图片阶段  下面有时间进度条游戏开始
开始游戏 棕色为第一次选中 蓝色为鼠标位置emmm码着字游戏输了
码着字 游戏输了

上面的图像系统 声音系统这里就无法展示了(真的很爽)
下面附上我的代码

Form1

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;


namespace Jigsaw
{
    public partial class Form1 : Form
    {
        #region
        readonly Color COLOR_SELECT = Color.OrangeRed;//图片方块为被选中的边框颜色
        readonly Color COLOR_MOUSEMOVE = Color.MediumBlue;//鼠标移入方块的边框颜色
        int ALL = 100;
        int OldIGameState;
        int GameLevel = 0;//0--6
        readonly int[,] Difficulty = new int[,] {{ 3, 4 }, { 4, 6 },{ 5,6 },{ 5,7 },{ 6,8 } } ;//4,6//不同难度对应的行数和列数
        bool BPlaySound = true;//是否开启声音
        string[] GameState = new string[] { "等待", "运行", "胜利", "失败" };
        int IGameState = 5;//游戏状态 0对应等待 1运行 2 胜利 3 失败 4暂停 5开始界面
        //int IGameLeaveTime = 0; //游戏剩余时间
        bool BUseMyPicture = false;
        Bitmap[] BmpGrids = new Bitmap[63];//24

        int IWidth = 960, IHeight = 540;//图片尺寸 850 420
        Point PLeftTop = new Point(0, 0);
        Point PRightButton = new Point(1280, 697);

        int IRowCount = 3, IColCount = 4;//图片初始化被分成2*3
        string StrMyPicturePath = "";//自选图片的路径
        Bitmap BmpRate;//保存将原始图片缩放成960*540的位图
        Bitmap OldBmpRate;
        int[] NewIndex = new int[63];//
        int GameLeacveSeconds = 5;//游戏开始前有5秒钟观察图片

        int OldMouseIndex = -1;
        int NewMouseIndex = -1;

        int FirstSelectIndex = -1;
        int SecondSelectIndex = -1;

        string PictureName="";
        bool BGMFlag = true;

        int BWidth = 260, BHeight = 110;
        [DllImport("winmm")]
        public static extern bool PlaySound(string szSound, int hMod, int i);


        #endregion


        
        public Form1()
        {
            InitializeComponent();

            
            PLeftTop.X = 0;
            PLeftTop.Y = 0;
            PRightButton.X = ClientRectangle.Width;
            PRightButton.Y = ClientRectangle.Height - 12;
            IWidth = this.ClientRectangle.Width;//设置图片大小的尺寸
            IHeight = this.ClientRectangle.Height - 12;

            BWidth =  Convert.ToInt32(PRightButton.X / 4.923);
            BHeight = Convert.ToInt32(PRightButton.Y / 6.227);
            //开始界面
            this.button1.Size = new Size(BWidth, BHeight);
            this.button2.Size = new Size(BWidth, BHeight);
            this.button3.Size = new Size(BWidth, BHeight);
            this.button4.Size = new Size(BWidth, BHeight);
            //newgame
            this.button5.Size = new Size(BWidth, BHeight);
            this.button6.Size = new Size(BWidth, BHeight);
            this.button7.Size = new Size(BWidth, BHeight);
            //difficulty
            this.button8.Size = new Size(BWidth/10*7, BHeight/10*7);
            this.button9.Size = new Size(BWidth/10*7, BHeight/10*7);
            this.button10.Size = new Size(BWidth/10*7, BHeight/10*7);
            this.button11.Size = new Size(BWidth/10*7, BHeight/10*7);
            this.button12.Size = new Size(BWidth / 10 * 7, BHeight / 10 * 7);

            //setting
            this.flowLayoutPanel5.Size = new Size(BWidth, BHeight);
            this.flowLayoutPanel6.Size = new Size(BWidth/2, BHeight);
            this.flowLayoutPanel7.Size = new Size(BWidth, BHeight);
            this.flowLayoutPanel8.Size = new Size(BWidth / 2, BHeight);
            this.label1.Size = new Size(BWidth/3, BHeight);
            this.radioButton1.Size = new Size(BWidth / 3, BHeight / 3);
            this.radioButton2.Size = new Size(BWidth / 3, BHeight / 3);
            this.label2.Size = new Size(BWidth / 3, BHeight);
            this.radioButton3.Size = new Size(BWidth / 3, BHeight / 3);
            this.radioButton4.Size = new Size(BWidth / 3, BHeight / 3);
            this.button13.Size = new Size(BWidth, BHeight);

            //help
            this.label3.Size = new Size(BWidth, 3 * BHeight);
            this.button14.Size = new Size(BWidth, BHeight);





            this.flowLayoutPanel2.Location = new Point(PRightButton.X/10*7, PRightButton.Y/5);
            this.flowLayoutPanel2.Size = new Size(BWidth*2, BHeight * 5);

            this.flowLayoutPanel1.Location = new Point(PRightButton.X / 10 * 7, PRightButton.Y / 5);//新游戏
            this.flowLayoutPanel1.Size = new Size(BWidth * 2, BHeight * 5);
            this.flowLayoutPanel3.Location = new Point(PRightButton.X / 10 * 7, PRightButton.Y / 5);//难度
            this.flowLayoutPanel3.Size = new Size(BWidth , BHeight * 5);
            this.flowLayoutPanel4.Location = new Point(PRightButton.X / 10 * 7, PRightButton.Y / 5);//音效
            this.flowLayoutPanel4.Size = new Size(BWidth*2, BHeight * 4);
            this.flowLayoutPanel9.Location = new Point(PRightButton.X / 10 * 7, PRightButton.Y / 5);//help
            this.flowLayoutPanel9.Size = new Size(BWidth * 2, BHeight * 5);

   

            //底色进度条
            this.label4.Location = new Point(0, PRightButton.Y);
            this.label4.Size = new Size(PRightButton.X, 10);
            this.label5.Location = new Point(0, PRightButton.Y);
            this.label5.Size = new Size(200, 10);

            //暂停界面
            this.flowLayoutPanel10.Location = new Point(PRightButton.X / 10 * 7, PRightButton.Y / 5);
            this.flowLayoutPanel10.Size = new Size(BWidth * 2, BHeight * 5);
            this.button15.Size = new Size(BWidth, BHeight);
            this.button16.Size = new Size(BWidth, BHeight);
            this.button17.Size = new Size(BWidth, BHeight);
            this.button18.Size = new Size(BWidth, BHeight);

            //失败界面
            this.flowLayoutPanel11.Location = new Point((IWidth-BWidth)/2, PRightButton.Y / 5);
            this.flowLayoutPanel11.Size = new Size(BWidth +3, BHeight *4+11);
            this.button19.Size = new Size(BWidth, BHeight);
            this.button20.Size = new Size(BWidth, BHeight);
            this.button21.Size = new Size(BWidth, BHeight);
            this.label6.Size = new Size(BWidth,BHeight);

            //胜利界面
            this.flowLayoutPanel12.Location = new Point((IWidth - BWidth) / 2, PRightButton.Y / 5);
            this.flowLayoutPanel12.Size = new Size(BWidth + 3, BHeight * 4 + 11);
            this.button22.Size = new Size(BWidth, BHeight);
            this.button23.Size = new Size(BWidth, BHeight);
            this.button24.Size = new Size(BWidth, BHeight);
            this.label7.Size = new Size(BWidth, BHeight);
        }

  


        private void Form1_Load(object sender, EventArgs e)
        {
            this.KeyPreview = true;
            this.LoadPicture();
            this.InitGrids();
            this.GameTimer.Start();     
        }

        private void LoadPicture()
        {
            Bitmap BmpOriginal;

            if(IGameState==0)
            if (!BUseMyPicture)//系统随机自选图片
            {
                PictureName = GetRandom.GetRandonInt(28).ToString();
                BmpOriginal = LoadBitmap.LoadBmp(PictureName);//0-29
            }
            else
                BmpOriginal = new Bitmap(StrMyPicturePath);

           else
            {
                PictureName = "BGP";
                BmpOriginal = LoadBitmap.LoadBmp(PictureName);
            }
            BmpRate = new Bitmap(BmpOriginal, new Size(IWidth, IHeight+22));//缩放成屏幕大小
            if (IGameState == 0)
                OldBmpRate = BmpRate;
        }


        private void InitGrids()
        {
            IRowCount = Difficulty[GameLevel, 0];
            IColCount = Difficulty[GameLevel, 1];


            for (int row=0;row<IRowCount;row++)
            for(int col=0;col<IColCount;col++)
            {
                BmpGrids[col + row * IColCount] = BmpRate.Clone(new Rectangle(col * IWidth / IColCount, row * IHeight / IRowCount, IWidth / IColCount, IHeight / IRowCount), BmpRate.PixelFormat);

            }
            this.InitNewIndex();
            ALL = 5 + GameLevel * 2;
            GameLeacveSeconds=ALL;
            this.label5.BackColor = Color.Orange;
            if(IGameState==0)
                PlayMusic("Begin.mp3");
            if (IGameState == 5)
                PlayMusicWait("Wait.flac");
            if (!BGMFlag)
                axWindowsMediaPlayer1.Ctlcontrols.stop();
        }

        private void DrawGame(Graphics graphics)
        {

            //画网格和网格图或者  只花一张整体图
            if (IGameState == 0 || IGameState == 1 || IGameState == 2 || IGameState == 3)
            {
                for (int i = 0; i < IRowCount * IColCount; i++)
                {
                    graphics.DrawImage(BmpGrids[NewIndex[i]], PLeftTop.X + (i % IColCount) * IWidth / IColCount, PLeftTop.Y + (i / IColCount) * IHeight / IRowCount);
                }
                Pen PenWindow = new Pen(SystemColors.Window, 2);
                for (int row = 1; row < IRowCount; row++)
                {
                    graphics.DrawLine(PenWindow, PLeftTop.X, PLeftTop.Y + row * IHeight / IRowCount, PRightButton.X, PLeftTop.Y + row * IHeight / IRowCount);
                }
                for (int col = 1; col < IColCount; col++)
                {
                    graphics.DrawLine(PenWindow, PLeftTop.X + col * IWidth / IColCount, PLeftTop.Y, PLeftTop.X + col * IWidth / IColCount, PLeftTop.Y + IHeight);
                }
            }
            else
                graphics.DrawImage(BmpRate, PLeftTop.X, PLeftTop.Y);

            //画第一次选中
            if (IGameState == 1 || IGameState == 3)
                if (FirstSelectIndex >= 0)
                {
                    Pen PenMouseMove = new Pen(Color.DarkRed, 3);

                    Point PtSquareLT = new Point(FirstSelectIndex % IColCount * (IWidth) / IColCount, FirstSelectIndex / IColCount * (IHeight) / IRowCount);
                    Point PtSquareRT = new Point(PtSquareLT.X + (IWidth) / IColCount, PtSquareLT.Y);
                    Point PtSquareLB = new Point(PtSquareLT.X, PtSquareLT.Y + (IHeight) / IRowCount);
                    Point PtSquareRB = new Point(PtSquareRT.X, PtSquareLB.Y);

                    graphics.DrawLine(PenMouseMove, PtSquareLT, PtSquareRT);
                    graphics.DrawLine(PenMouseMove, PtSquareRT, PtSquareRB);
                    graphics.DrawLine(PenMouseMove, PtSquareRB, PtSquareLB);
                    graphics.DrawLine(PenMouseMove, PtSquareLB, PtSquareLT);
                }
            //画鼠标位置
            if (IGameState == 1)
                if (NewMouseIndex >= 0)
                {
                    Pen PenMouseMove = new Pen(COLOR_MOUSEMOVE, 3);

                    Point PtSquareLT = new Point(NewMouseIndex % IColCount * (IWidth) / IColCount, NewMouseIndex / IColCount * (IHeight) / IRowCount);
                    Point PtSquareRT = new Point(PtSquareLT.X + (IWidth) / IColCount, PtSquareLT.Y);
                    Point PtSquareLB = new Point(PtSquareLT.X, PtSquareLT.Y + (IHeight) / IRowCount);
                    Point PtSquareRB = new Point(PtSquareRT.X, PtSquareLB.Y);

                    graphics.DrawLine(PenMouseMove, PtSquareLT, PtSquareRT);
                    graphics.DrawLine(PenMouseMove, PtSquareRT, PtSquareRB);
                    graphics.DrawLine(PenMouseMove, PtSquareRB, PtSquareLB);
                    graphics.DrawLine(PenMouseMove, PtSquareLB, PtSquareLT);
                }

            if (IGameState == 2)
            {
                this.flowLayoutPanel12.Show();
            }
        }

        private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
        {
            this.axWindowsMediaPlayer2.Ctlcontrols.pause();
            IGameState = 0;
            StrMyPicturePath = openFileDialog1.FileName;
            this.LoadPicture();
            this.InitGrids();
            this.label4.Show();//底色
            this.label5.Show();//进度条颜色
            this.GameTimer.Start();
            this.flowLayoutPanel1.Hide();
            this.Invalidate();
        }

      

        protected override void OnPaint(PaintEventArgs e)
        {
            Bitmap BufferBmp = new Bitmap(this. ClientRectangle.Width - 1, this.ClientRectangle.Height - 1);
            Graphics g = Graphics.FromImage(BufferBmp);
            
            this.DrawGame(g);

            e.Graphics.DrawImage(BufferBmp, 0, 0);
            g.Dispose();
            base.OnPaint(e);
        }

        private void GameTimer_Tick(object sender, EventArgs e)
        {
            if (IGameState == 0 || IGameState == 1)
            {
                GameLeacveSeconds--;
                if((ALL - GameLeacveSeconds) * 1.0 / ALL>=0.9)
                    this.label5.BackColor = Color.Red;
                this.label5.Size = new Size(Convert.ToInt32(PRightButton.X * ((ALL - GameLeacveSeconds) * 1.0 / ALL)), 10);
            }
            if(GameLeacveSeconds==0)
            {
                if(IGameState==1)
                {
                    IGameState = 3;
                    OldMouseIndex = -1;
                    NewMouseIndex = -1;
                    FirstSelectIndex = -1;
                    SecondSelectIndex = -1;
                    this.axWindowsMediaPlayer1.Ctlcontrols.pause();
                    PlayMusic("Fail.flac");
                    if (!BPlaySound)
                    {
                        this.axWindowsMediaPlayer1.Ctlcontrols.stop();
                  
                    }
                    this.GameTimer.Stop();
                    this.flowLayoutPanel11.Show();
                    this.Invalidate();
                }
                
                if (IGameState==0)
                {
                    if (BGMFlag)
                    {
                        Play("Pause");
                    }
                    PlayMusic("BGM.flac");
                    if (!BGMFlag)
                    {
                        axWindowsMediaPlayer1.Ctlcontrols.stop();
                    }
                    IGameState = 1;
                    ALL = 40 + GameLevel * 50;
                    GameLeacveSeconds = ALL;
                    this.label5.BackColor = Color.Orange;
                    this.RandomNewIndex();
                    this.Invalidate();
                }
            }
        }

        private void InitNewIndex()
        {
            for (int i = 0; i < 63; i++)
                NewIndex[i] = i;
        }


        private void Form1_MouseMove(object sender, MouseEventArgs e)
        {
            if (IGameState != 1)
                return;
            NewMouseIndex = this.GetIndex(e);
            if (NewMouseIndex != OldMouseIndex)
                this.Invalidate();
            OldMouseIndex = NewMouseIndex;
        }

        private void Form1_MouseDown(object sender, MouseEventArgs e)
        {
            if(IGameState==1)
            if(e.Button==MouseButtons.Left)
            {
                if(FirstSelectIndex>=0&&SecondSelectIndex<0)
                {
                    SecondSelectIndex = NewMouseIndex;
                }
                if(FirstSelectIndex<0&&SecondSelectIndex<0&&NewMouseIndex>=0)
                {
                    FirstSelectIndex = NewMouseIndex;
                    if(BPlaySound)
                    {
                        Play("FirstClick");
                    }
                }

                if(FirstSelectIndex!=SecondSelectIndex&&FirstSelectIndex>=0&&SecondSelectIndex>=0)
                {
                    int temp = NewIndex[FirstSelectIndex];
                    NewIndex[FirstSelectIndex] = NewIndex[SecondSelectIndex];
                    NewIndex[SecondSelectIndex] = temp;
                    if(BPlaySound)
                    {
                        Play("Exchange");
                    }
                    if(IsVictory())
                    {
                        IGameState = 2;
                        OldMouseIndex = -1;
                        NewMouseIndex = -1;
                        FirstSelectIndex = -1;
                        SecondSelectIndex = -1;
                        if(BPlaySound)
                        {
                            this.axWindowsMediaPlayer1.Ctlcontrols.pause();
                            PlayMusic("Victory.wav");
                        }
                        this.GameTimer.Stop();
                    }
                    FirstSelectIndex = -1;
                    SecondSelectIndex = -1;
                    this.Invalidate();
                }
                //第一二次相同
                if(FirstSelectIndex==SecondSelectIndex&&FirstSelectIndex>=0&&SecondSelectIndex>=0)
                {
                    FirstSelectIndex = -1;
                    SecondSelectIndex = -1;
                    if(BPlaySound)
                    {
                        Play("Cancel");
                    }
                    this.Invalidate();
                }
            }
        }

        private void RandomNewIndex()
        {
            int nums = IRowCount * IColCount;
            while (nums > 1)
            {
                int index = GetRandom.GetRandonInt(nums);
                int temp = NewIndex[index];
                NewIndex[index] = NewIndex[nums - 1];
                NewIndex[nums - 1] = temp;
                nums--;
            }
        }

        int GetIndex(MouseEventArgs e)
        {

            System.Console.WriteLine((e.X - PLeftTop.X) / (this.ClientRectangle.Width / IColCount) + (e.Y - PLeftTop.Y) / (this.ClientRectangle.Height / IRowCount) * IColCount);
            if (e.X >= PLeftTop.X && e.X < PLeftTop.X + this.ClientRectangle.Width && e.Y >= PLeftTop.Y && e.Y < PLeftTop.Y + this.ClientRectangle.Height)
                return (e.X - PLeftTop.X) / (this.ClientRectangle.Width / IColCount) + (e.Y - PLeftTop.Y) / (this.ClientRectangle.Height / IRowCount) * IColCount;
            return -1;
        }

        private void axWindowsMediaPlayer1_Enter(object sender, EventArgs e)
        {

        }

        private void PlayMusic(string musicName)
        {
  
            this.axWindowsMediaPlayer1.URL = Application.StartupPath + "\\GameSounds\\" + musicName;
        }
        private void PlayMusicWait(string musicName)
        {

            this.axWindowsMediaPlayer2.URL = Application.StartupPath + "\\GameSounds\\" + musicName;
        }

      

        private void button1_Click(object sender, EventArgs e)
        {
            this.flowLayoutPanel2.Hide();
            this.flowLayoutPanel1.Show();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            this.axWindowsMediaPlayer2.Ctlcontrols.pause();
            IGameState = 0;
            this.label4.Show();//底色
            this.label5.Show();//进度条颜色
            this.flowLayoutPanel1.Hide();
            BUseMyPicture = false;
            this.LoadPicture();
            this.InitGrids();
            this.Invalidate();
            this.GameTimer.Start();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            flowLayoutPanel2.Hide();
            flowLayoutPanel3.Show();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.flowLayoutPanel2.Hide();
            this.flowLayoutPanel4.Show();
        }

        private void radioButton1_CheckedChanged(object sender, EventArgs e)
        {
            BGMFlag = true;
            this.axWindowsMediaPlayer2.Ctlcontrols.play();
        }

        private void button14_Click(object sender, EventArgs e)
        {
            this.flowLayoutPanel9.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void flowLayoutPanel5_Paint(object sender, PaintEventArgs e)
        {

        }

        private void radioButton3_CheckedChanged(object sender, EventArgs e)
        {
            BPlaySound = true;
        }

        private void flowLayoutPanel7_Paint(object sender, PaintEventArgs e)
        {

        }

        private void button13_Click(object sender, EventArgs e)
        {
            this.flowLayoutPanel4.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.flowLayoutPanel2.Hide();
            this.flowLayoutPanel9.Show();
        }

        private void button8_Click(object sender, EventArgs e)
        {
            GameLevel = 0;
            this.flowLayoutPanel3.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void button9_Click(object sender, EventArgs e)
        {
            GameLevel = 1;
            this.flowLayoutPanel3.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void button10_Click(object sender, EventArgs e)
        {
            GameLevel = 2;
            this.flowLayoutPanel3.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void button11_Click(object sender, EventArgs e)
        {
            GameLevel = 3;
            this.flowLayoutPanel3.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void button12_Click(object sender, EventArgs e)
        {
            GameLevel = 4;
            this.flowLayoutPanel3.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void button7_Click(object sender, EventArgs e)
        {
            this.flowLayoutPanel1.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void button6_Click(object sender, EventArgs e)
        {
            BUseMyPicture = true;
            this.axWindowsMediaPlayer1.Ctlcontrols.pause();
            openFileDialog1.Filter = "(*.bmp)|*.bmp|(*.jpg)|*.jpg";
            openFileDialog1.ShowDialog();
        }

        private void Form1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyData == Keys.P)
            {
               
                if (IGameState == 0 || IGameState == 1)
                {
                    OldIGameState = IGameState;
                    IGameState = 4;//变成暂停
                    this.axWindowsMediaPlayer1.Ctlcontrols.pause();
                    if(BGMFlag)
                    this.axWindowsMediaPlayer2.Ctlcontrols.play();
                    this.GameTimer.Stop();

                    //加载背景和控件
                    LoadPicture();
                    this.label4.Hide();
                    this.label5.Hide();
                    this.flowLayoutPanel10.Show();
                    this.Invalidate();
                    
                }
                else if(IGameState==4)
                {
                    this.axWindowsMediaPlayer2.Ctlcontrols.pause();
                    if(BGMFlag)
                    this.axWindowsMediaPlayer1.Ctlcontrols.play();
                    IGameState = OldIGameState;
                    this.flowLayoutPanel10.Hide();
                    this.label4.Show();
                    this.label5.Show();

                    this.Invalidate();
                    this.GameTimer.Start();
                }
            }

            if(e.KeyData==Keys.Escape)
            {
                System.Environment.Exit(0);
            }

            if(e.KeyData==Keys.Space)
            {
                e.Handled = true;
                if(IGameState==0)
                    GameLeacveSeconds = 1;
            }

        }

        private void button18_Click(object sender, EventArgs e)
        {
            System.Environment.Exit(0);
        }

        private void button15_Click(object sender, EventArgs e)
        {
            this.axWindowsMediaPlayer2.Ctlcontrols.pause();
            if(BGMFlag)
            this.axWindowsMediaPlayer1.Ctlcontrols.play();
            IGameState = OldIGameState;
            this.flowLayoutPanel10.Hide();
            this.label4.Show();
            this.label5.Show();
   
            this.Invalidate();
            this.GameTimer.Start();
            
        }

        private void button16_Click(object sender, EventArgs e)
        {
            this.axWindowsMediaPlayer2.Ctlcontrols.pause();
            this.axWindowsMediaPlayer1.Ctlcontrols.play();
            IGameState = 0;
            this.label4.Show();//底色
            this.label5.Show();//进度条颜色
            this.flowLayoutPanel10.Hide();
            BmpRate = OldBmpRate;
            this.InitGrids();
            this.Invalidate();
            this.GameTimer.Start();
        }

        private void button17_Click(object sender, EventArgs e)
        {
            this.axWindowsMediaPlayer1.Ctlcontrols.pause();
            IGameState = 5;
            this.flowLayoutPanel10.Hide();
            this.flowLayoutPanel2.Show();
        }

        private void button21_Click(object sender, EventArgs e)
        {
            System.Environment.Exit(0);
        }

        private void button24_Click(object sender, EventArgs e)
        {
            System.Environment.Exit(0);
        }

        private void button19_Click(object sender, EventArgs e)
        {
            this.axWindowsMediaPlayer2.Ctlcontrols.pause();
            IGameState = 0;
            this.label4.Show();//底色
            this.label5.Show();//进度条颜色
            this.flowLayoutPanel11.Hide();
            BmpRate = OldBmpRate;
            this.InitGrids();
            this.Invalidate();
            this.GameTimer.Start();
        }

        private void button20_Click(object sender, EventArgs e)
        {
            this.axWindowsMediaPlayer1.Ctlcontrols.stop();
            if(BGMFlag)
            this.axWindowsMediaPlayer2.Ctlcontrols.play();
            IGameState = 5;
            this.flowLayoutPanel11.Hide();
            this.label4.Hide();
            this.label5.Hide();
            LoadPicture();
            this.flowLayoutPanel2.Show();
            this.Invalidate();
        }

        private void button23_Click(object sender, EventArgs e)
        {
            this.axWindowsMediaPlayer1.Ctlcontrols.stop();
            if(BGMFlag)
            this.axWindowsMediaPlayer2.Ctlcontrols.play();
            this.label4.Hide();
            this.label5.Hide();
            IGameState = 5;
            this.flowLayoutPanel12.Hide();
            LoadPicture();
            this.flowLayoutPanel2.Show();
            this.Invalidate();
        }

        private void button22_Click(object sender, EventArgs e)
        {
            
            IGameState = 0;
            this.label4.Show();//底色
            this.label5.Show();//进度条颜色
            this.flowLayoutPanel12.Hide();
            BUseMyPicture = false;
            this.LoadPicture();
            this.InitGrids();
            this.Invalidate();
            this.GameTimer.Start();
        }

        private void axWindowsMediaPlayer2_StatusChange(object sender, EventArgs e)
        {
            if ((int)this.axWindowsMediaPlayer2.playState == 1)
            {
                System.Threading.Thread.Sleep(1000);
                axWindowsMediaPlayer2.Ctlcontrols.play();
            }
        }

        private void axWindowsMediaPlayer1_StatusChange(object sender, EventArgs e)
        {
            
            if((int)this.axWindowsMediaPlayer1.playState==1)
            {
                if (IGameState == 1)
                    this.axWindowsMediaPlayer1.Ctlcontrols.play();
            }
        }

        private void radioButton4_CheckedChanged(object sender, EventArgs e)
        {
            BPlaySound = false;
        }

        private void radioButton2_CheckedChanged(object sender, EventArgs e)
        {
            this.BGMFlag = false;
            this.axWindowsMediaPlayer2.Ctlcontrols.pause();
        }

        private void Play(string waveName)
        {
            PlaySound(Application.StartupPath + "\\GameSounds\\" + waveName + ".wav", 0, 1);
        }

        private bool IsVictory()
        {
            for(int row=0;row<IRowCount;row++)
                for(int col=0;col<IColCount;col++)
                {
                    if (NewIndex[col + row * IColCount] != col + row * IColCount)
                        return false;
                }
            return true;
        }
    }
}






Getrandom.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jigsaw
{
    class GetRandom
    {
        public static Random globalRandomCentor = GenerateNewRandomGenerator();
        public static Random GenerateNewRandomGenerator()
        {
      
            globalRandomCentor = new Random((int)DateTime.Now.Ticks);
            return globalRandomCentor;
        }

        public static int GetRandonInt()
        {
            return globalRandomCentor.Next(10);
        }

        public static int GetRandonInt(int max)
        {
            return globalRandomCentor.Next(max);
        }

        public static int GetRandonInt(int min,int max)
        {
            return globalRandomCentor.Next(max-min)+min;
        }

        public static float GetRandonInt(float min, float max)
        {
            return (float)globalRandomCentor.NextDouble()*(max-min) + min;
        }
    }
}


LoadBitMap
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Drawing;
using System.Windows.Forms;

namespace Jigsaw
{
    class LoadBitmap
    {
        public static Bitmap LoadBmp(string bmpFileName)
        {
            return new Bitmap(Application.StartupPath + "\\GamePictures\\" + bmpFileName+".bmp" );
        }

   
    }
}






控件和订阅事件designer

```csharp
namespace Jigsaw
{
    partial class Form1
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要修改
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.GameTimer = new System.Windows.Forms.Timer(this.components);
            this.axWindowsMediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
            this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.button3 = new System.Windows.Forms.Button();
            this.button4 = new System.Windows.Forms.Button();
            this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
            this.button5 = new System.Windows.Forms.Button();
            this.button6 = new System.Windows.Forms.Button();
            this.button7 = new System.Windows.Forms.Button();
            this.flowLayoutPanel3 = new System.Windows.Forms.FlowLayoutPanel();
            this.button8 = new System.Windows.Forms.Button();
            this.button9 = new System.Windows.Forms.Button();
            this.button10 = new System.Windows.Forms.Button();
            this.button11 = new System.Windows.Forms.Button();
            this.button12 = new System.Windows.Forms.Button();
            this.button13 = new System.Windows.Forms.Button();
            this.button14 = new System.Windows.Forms.Button();
            this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel();
            this.flowLayoutPanel5 = new System.Windows.Forms.FlowLayoutPanel();
            this.label1 = new System.Windows.Forms.Label();
            this.flowLayoutPanel6 = new System.Windows.Forms.FlowLayoutPanel();
            this.radioButton1 = new System.Windows.Forms.RadioButton();
            this.radioButton2 = new System.Windows.Forms.RadioButton();
            this.flowLayoutPanel7 = new System.Windows.Forms.FlowLayoutPanel();
            this.label2 = new System.Windows.Forms.Label();
            this.flowLayoutPanel8 = new System.Windows.Forms.FlowLayoutPanel();
            this.radioButton3 = new System.Windows.Forms.RadioButton();
            this.radioButton4 = new System.Windows.Forms.RadioButton();
            this.label3 = new System.Windows.Forms.Label();
            this.flowLayoutPanel9 = new System.Windows.Forms.FlowLayoutPanel();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.flowLayoutPanel10 = new System.Windows.Forms.FlowLayoutPanel();
            this.button15 = new System.Windows.Forms.Button();
            this.button16 = new System.Windows.Forms.Button();
            this.button17 = new System.Windows.Forms.Button();
            this.button18 = new System.Windows.Forms.Button();
            this.flowLayoutPanel11 = new System.Windows.Forms.FlowLayoutPanel();
            this.label6 = new System.Windows.Forms.Label();
            this.button19 = new System.Windows.Forms.Button();
            this.button20 = new System.Windows.Forms.Button();
            this.button21 = new System.Windows.Forms.Button();
            this.flowLayoutPanel12 = new System.Windows.Forms.FlowLayoutPanel();
            this.label7 = new System.Windows.Forms.Label();
            this.button22 = new System.Windows.Forms.Button();
            this.button23 = new System.Windows.Forms.Button();
            this.button24 = new System.Windows.Forms.Button();
            this.axWindowsMediaPlayer2 = new AxWMPLib.AxWindowsMediaPlayer();
            ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).BeginInit();
            this.flowLayoutPanel2.SuspendLayout();
            this.flowLayoutPanel1.SuspendLayout();
            this.flowLayoutPanel3.SuspendLayout();
            this.flowLayoutPanel4.SuspendLayout();
            this.flowLayoutPanel5.SuspendLayout();
            this.flowLayoutPanel6.SuspendLayout();
            this.flowLayoutPanel7.SuspendLayout();
            this.flowLayoutPanel8.SuspendLayout();
            this.flowLayoutPanel9.SuspendLayout();
            this.flowLayoutPanel10.SuspendLayout();
            this.flowLayoutPanel11.SuspendLayout();
            this.flowLayoutPanel12.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer2)).BeginInit();
            this.SuspendLayout();
            // 
            // openFileDialog1
            // 
            this.openFileDialog1.FileName = "openFileDialog1";
            this.openFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.openFileDialog1_FileOk);
            // 
            // GameTimer
            // 
            this.GameTimer.Interval = 1000;
            this.GameTimer.Tick += new System.EventHandler(this.GameTimer_Tick);
            // 
            // axWindowsMediaPlayer1
            // 
            this.axWindowsMediaPlayer1.Enabled = true;
            this.axWindowsMediaPlayer1.Location = new System.Drawing.Point(1001, 27);
            this.axWindowsMediaPlayer1.Name = "axWindowsMediaPlayer1";
            this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));
            this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(155, 30);
            this.axWindowsMediaPlayer1.TabIndex = 2;
            this.axWindowsMediaPlayer1.Visible = false;
            this.axWindowsMediaPlayer1.StatusChange += new System.EventHandler(this.axWindowsMediaPlayer1_StatusChange);
            this.axWindowsMediaPlayer1.Enter += new System.EventHandler(this.axWindowsMediaPlayer1_Enter);
            // 
            // flowLayoutPanel2
            // 
            this.flowLayoutPanel2.BackColor = System.Drawing.Color.Transparent;
            this.flowLayoutPanel2.Controls.Add(this.button1);
            this.flowLayoutPanel2.Controls.Add(this.button2);
            this.flowLayoutPanel2.Controls.Add(this.button3);
            this.flowLayoutPanel2.Controls.Add(this.button4);
            this.flowLayoutPanel2.Location = new System.Drawing.Point(386, 99);
            this.flowLayoutPanel2.Name = "flowLayoutPanel2";
            this.flowLayoutPanel2.Size = new System.Drawing.Size(128, 151);
            this.flowLayoutPanel2.TabIndex = 4;
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.Color.Transparent;
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor = System.Drawing.Color.LightPink;
            this.button1.Location = new System.Drawing.Point(3, 3);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(135, 36);
            this.button1.TabIndex = 0;
            this.button1.Text = "New Game";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.BackColor = System.Drawing.Color.Transparent;
            this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button2.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button2.ForeColor = System.Drawing.Color.LightPink;
            this.button2.Location = new System.Drawing.Point(3, 45);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(135, 30);
            this.button2.TabIndex = 1;
            this.button2.Text = "Difficulty";
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // button3
            // 
            this.button3.BackColor = System.Drawing.Color.Transparent;
            this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button3.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button3.ForeColor = System.Drawing.Color.LightPink;
            this.button3.Location = new System.Drawing.Point(3, 81);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(135, 15);
            this.button3.TabIndex = 2;
            this.button3.Text = "Setting";
            this.button3.UseVisualStyleBackColor = false;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // button4
            // 
            this.button4.BackColor = System.Drawing.Color.Transparent;
            this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button4.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button4.ForeColor = System.Drawing.Color.LightPink;
            this.button4.Location = new System.Drawing.Point(3, 102);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(135, 23);
            this.button4.TabIndex = 3;
            this.button4.Text = "Help";
            this.button4.UseVisualStyleBackColor = false;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            // 
            // flowLayoutPanel1
            // 
            this.flowLayoutPanel1.BackColor = System.Drawing.Color.Transparent;
            this.flowLayoutPanel1.Controls.Add(this.button5);
            this.flowLayoutPanel1.Controls.Add(this.button6);
            this.flowLayoutPanel1.Controls.Add(this.button7);
            this.flowLayoutPanel1.Location = new System.Drawing.Point(590, 24);
            this.flowLayoutPanel1.Name = "flowLayoutPanel1";
            this.flowLayoutPanel1.Size = new System.Drawing.Size(173, 200);
            this.flowLayoutPanel1.TabIndex = 5;
            this.flowLayoutPanel1.Visible = false;
            // 
            // button5
            // 
            this.button5.BackColor = System.Drawing.Color.Transparent;
            this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button5.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button5.ForeColor = System.Drawing.Color.LightPink;
            this.button5.Location = new System.Drawing.Point(3, 3);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(135, 51);
            this.button5.TabIndex = 1;
            this.button5.Text = "Default Picture";
            this.button5.UseVisualStyleBackColor = false;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            // 
            // button6
            // 
            this.button6.BackColor = System.Drawing.Color.Transparent;
            this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button6.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button6.ForeColor = System.Drawing.Color.LightPink;
            this.button6.Location = new System.Drawing.Point(3, 60);
            this.button6.Name = "button6";
            this.button6.Size = new System.Drawing.Size(135, 51);
            this.button6.TabIndex = 2;
            this.button6.Text = "My Picture";
            this.button6.UseVisualStyleBackColor = false;
            this.button6.Click += new System.EventHandler(this.button6_Click);
            // 
            // button7
            // 
            this.button7.BackColor = System.Drawing.Color.Transparent;
            this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button7.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button7.ForeColor = System.Drawing.Color.LightPink;
            this.button7.Location = new System.Drawing.Point(3, 117);
            this.button7.Name = "button7";
            this.button7.Size = new System.Drawing.Size(135, 51);
            this.button7.TabIndex = 0;
            this.button7.Text = "Back";
            this.button7.UseVisualStyleBackColor = false;
            this.button7.Click += new System.EventHandler(this.button7_Click);
            // 
            // flowLayoutPanel3
            // 
            this.flowLayoutPanel3.BackColor = System.Drawing.Color.Transparent;
            this.flowLayoutPanel3.Controls.Add(this.button8);
            this.flowLayoutPanel3.Controls.Add(this.button9);
            this.flowLayoutPanel3.Controls.Add(this.button10);
            this.flowLayoutPanel3.Controls.Add(this.button11);
            this.flowLayoutPanel3.Controls.Add(this.button12);
            this.flowLayoutPanel3.Location = new System.Drawing.Point(406, 350);
            this.flowLayoutPanel3.Name = "flowLayoutPanel3";
            this.flowLayoutPanel3.Size = new System.Drawing.Size(165, 267);
            this.flowLayoutPanel3.TabIndex = 6;
            this.flowLayoutPanel3.Visible = false;
            // 
            // button8
            // 
            this.button8.BackColor = System.Drawing.Color.Transparent;
            this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button8.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button8.ForeColor = System.Drawing.Color.LightPink;
            this.button8.Location = new System.Drawing.Point(3, 3);
            this.button8.Name = "button8";
            this.button8.Size = new System.Drawing.Size(138, 48);
            this.button8.TabIndex = 1;
            this.button8.Text = "Level 1";
            this.button8.UseVisualStyleBackColor = false;
            this.button8.Click += new System.EventHandler(this.button8_Click);
            // 
            // button9
            // 
            this.button9.BackColor = System.Drawing.Color.Transparent;
            this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button9.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button9.ForeColor = System.Drawing.Color.LightPink;
            this.button9.Location = new System.Drawing.Point(3, 57);
            this.button9.Name = "button9";
            this.button9.Size = new System.Drawing.Size(135, 48);
            this.button9.TabIndex = 2;
            this.button9.Text = "Level2";
            this.button9.UseVisualStyleBackColor = false;
            this.button9.Click += new System.EventHandler(this.button9_Click);
            // 
            // button10
            // 
            this.button10.BackColor = System.Drawing.Color.Transparent;
            this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button10.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button10.ForeColor = System.Drawing.Color.LightPink;
            this.button10.Location = new System.Drawing.Point(3, 111);
            this.button10.Name = "button10";
            this.button10.Size = new System.Drawing.Size(135, 47);
            this.button10.TabIndex = 3;
            this.button10.Text = "Level3";
            this.button10.UseVisualStyleBackColor = false;
            this.button10.Click += new System.EventHandler(this.button10_Click);
            // 
            // button11
            // 
            this.button11.BackColor = System.Drawing.Color.Transparent;
            this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button11.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button11.ForeColor = System.Drawing.Color.LightPink;
            this.button11.Location = new System.Drawing.Point(3, 164);
            this.button11.Name = "button11";
            this.button11.Size = new System.Drawing.Size(135, 47);
            this.button11.TabIndex = 4;
            this.button11.Text = "Level4";
            this.button11.UseVisualStyleBackColor = false;
            this.button11.Click += new System.EventHandler(this.button11_Click);
            // 
            // button12
            // 
            this.button12.BackColor = System.Drawing.Color.Transparent;
            this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button12.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button12.ForeColor = System.Drawing.Color.LightPink;
            this.button12.Location = new System.Drawing.Point(3, 217);
            this.button12.Name = "button12";
            this.button12.Size = new System.Drawing.Size(135, 35);
            this.button12.TabIndex = 5;
            this.button12.Text = "Level5";
            this.button12.UseVisualStyleBackColor = false;
            this.button12.Click += new System.EventHandler(this.button12_Click);
            // 
            // button13
            // 
            this.button13.BackColor = System.Drawing.Color.Transparent;
            this.button13.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button13.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button13.ForeColor = System.Drawing.Color.LightPink;
            this.button13.Location = new System.Drawing.Point(3, 358);
            this.button13.Name = "button13";
            this.button13.Size = new System.Drawing.Size(135, 51);
            this.button13.TabIndex = 6;
            this.button13.Text = "Back";
            this.button13.UseVisualStyleBackColor = false;
            this.button13.Click += new System.EventHandler(this.button13_Click);
            // 
            // button14
            // 
            this.button14.BackColor = System.Drawing.Color.Transparent;
            this.button14.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button14.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button14.ForeColor = System.Drawing.Color.LightPink;
            this.button14.Location = new System.Drawing.Point(3, 72);
            this.button14.Name = "button14";
            this.button14.Size = new System.Drawing.Size(135, 51);
            this.button14.TabIndex = 7;
            this.button14.Text = "Back";
            this.button14.UseVisualStyleBackColor = false;
            this.button14.Click += new System.EventHandler(this.button14_Click);
            // 
            // flowLayoutPanel4
            // 
            this.flowLayoutPanel4.BackColor = System.Drawing.Color.Transparent;
            this.flowLayoutPanel4.Controls.Add(this.flowLayoutPanel5);
            this.flowLayoutPanel4.Controls.Add(this.flowLayoutPanel7);
            this.flowLayoutPanel4.Controls.Add(this.button13);
            this.flowLayoutPanel4.Location = new System.Drawing.Point(12, 15);
            this.flowLayoutPanel4.Name = "flowLayoutPanel4";
            this.flowLayoutPanel4.Size = new System.Drawing.Size(257, 386);
            this.flowLayoutPanel4.TabIndex = 9;
            this.flowLayoutPanel4.Visible = false;
            // 
            // flowLayoutPanel5
            // 
            this.flowLayoutPanel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.flowLayoutPanel5.Controls.Add(this.label1);
            this.flowLayoutPanel5.Controls.Add(this.flowLayoutPanel6);
            this.flowLayoutPanel5.ForeColor = System.Drawing.Color.LightPink;
            this.flowLayoutPanel5.Location = new System.Drawing.Point(3, 3);
            this.flowLayoutPanel5.Name = "flowLayoutPanel5";
            this.flowLayoutPanel5.Size = new System.Drawing.Size(184, 160);
            this.flowLayoutPanel5.TabIndex = 0;
            this.flowLayoutPanel5.Paint += new System.Windows.Forms.PaintEventHandler(this.flowLayoutPanel5_Paint);
            // 
            // label1
            // 
            this.label1.Font = new System.Drawing.Font("Segoe Print", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.Color.LightPink;
            this.label1.Location = new System.Drawing.Point(3, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(86, 74);
            this.label1.TabIndex = 2;
            this.label1.Text = " Music";
            // 
            // flowLayoutPanel6
            // 
            this.flowLayoutPanel6.Controls.Add(this.radioButton1);
            this.flowLayoutPanel6.Controls.Add(this.radioButton2);
            this.flowLayoutPanel6.Location = new System.Drawing.Point(3, 77);
            this.flowLayoutPanel6.Name = "flowLayoutPanel6";
            this.flowLayoutPanel6.Size = new System.Drawing.Size(91, 97);
            this.flowLayoutPanel6.TabIndex = 1;
            // 
            // radioButton1
            // 
            this.radioButton1.Checked = true;
            this.radioButton1.Font = new System.Drawing.Font("Segoe Script", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radioButton1.ForeColor = System.Drawing.Color.LightPink;
            this.radioButton1.Location = new System.Drawing.Point(3, 3);
            this.radioButton1.Name = "radioButton1";
            this.radioButton1.Size = new System.Drawing.Size(104, 24);
            this.radioButton1.TabIndex = 0;
            this.radioButton1.TabStop = true;
            this.radioButton1.Text = "ON";
            this.radioButton1.UseVisualStyleBackColor = true;
            this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
            // 
            // radioButton2
            // 
            this.radioButton2.Font = new System.Drawing.Font("Segoe Script", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radioButton2.ForeColor = System.Drawing.Color.LightPink;
            this.radioButton2.Location = new System.Drawing.Point(3, 33);
            this.radioButton2.Name = "radioButton2";
            this.radioButton2.Size = new System.Drawing.Size(141, 22);
            this.radioButton2.TabIndex = 1;
            this.radioButton2.TabStop = true;
            this.radioButton2.Text = "OFF";
            this.radioButton2.UseVisualStyleBackColor = true;
            this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
            // 
            // flowLayoutPanel7
            // 
            this.flowLayoutPanel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.flowLayoutPanel7.Controls.Add(this.label2);
            this.flowLayoutPanel7.Controls.Add(this.flowLayoutPanel8);
            this.flowLayoutPanel7.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.flowLayoutPanel7.ForeColor = System.Drawing.Color.LightPink;
            this.flowLayoutPanel7.Location = new System.Drawing.Point(3, 169);
            this.flowLayoutPanel7.Name = "flowLayoutPanel7";
            this.flowLayoutPanel7.Size = new System.Drawing.Size(184, 183);
            this.flowLayoutPanel7.TabIndex = 7;
            this.flowLayoutPanel7.Paint += new System.Windows.Forms.PaintEventHandler(this.flowLayoutPanel7_Paint);
            // 
            // label2
            // 
            this.label2.Font = new System.Drawing.Font("Segoe Print", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.Color.LightPink;
            this.label2.Location = new System.Drawing.Point(3, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(62, 103);
            this.label2.TabIndex = 3;
            this.label2.Text = "Sound Effect";
            // 
            // flowLayoutPanel8
            // 
            this.flowLayoutPanel8.Controls.Add(this.radioButton3);
            this.flowLayoutPanel8.Controls.Add(this.radioButton4);
            this.flowLayoutPanel8.Location = new System.Drawing.Point(71, 3);
            this.flowLayoutPanel8.Name = "flowLayoutPanel8";
            this.flowLayoutPanel8.Size = new System.Drawing.Size(92, 100);
            this.flowLayoutPanel8.TabIndex = 0;
            // 
            // radioButton3
            // 
            this.radioButton3.Checked = true;
            this.radioButton3.Font = new System.Drawing.Font("Segoe Script", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radioButton3.ForeColor = System.Drawing.Color.LightPink;
            this.radioButton3.Location = new System.Drawing.Point(3, 3);
            this.radioButton3.Name = "radioButton3";
            this.radioButton3.Size = new System.Drawing.Size(141, 22);
            this.radioButton3.TabIndex = 1;
            this.radioButton3.TabStop = true;
            this.radioButton3.Text = "ON\r\n";
            this.radioButton3.UseVisualStyleBackColor = true;
            this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
            // 
            // radioButton4
            // 
            this.radioButton4.AutoSize = true;
            this.radioButton4.Font = new System.Drawing.Font("Segoe Script", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radioButton4.ForeColor = System.Drawing.Color.LightPink;
            this.radioButton4.Location = new System.Drawing.Point(3, 31);
            this.radioButton4.Name = "radioButton4";
            this.radioButton4.Size = new System.Drawing.Size(82, 37);
            this.radioButton4.TabIndex = 2;
            this.radioButton4.TabStop = true;
            this.radioButton4.Text = "OFF";
            this.radioButton4.UseVisualStyleBackColor = true;
            this.radioButton4.CheckedChanged += new System.EventHandler(this.radioButton4_CheckedChanged);
            // 
            // label3
            // 
            this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label3.Font = new System.Drawing.Font("Segoe Print", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.ForeColor = System.Drawing.Color.LightPink;
            this.label3.Location = new System.Drawing.Point(3, 0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(135, 69);
            this.label3.TabIndex = 10;
            this.label3.Text = "The secret to win the game is to put together the original by exchangeing differc" +
    "ent cards within a certain amount of time       You can use P to pause Esc to ex" +
    "it SpaceBar to game directly  ";
            // 
            // flowLayoutPanel9
            // 
            this.flowLayoutPanel9.BackColor = System.Drawing.Color.Transparent;
            this.flowLayoutPanel9.Controls.Add(this.label3);
            this.flowLayoutPanel9.Controls.Add(this.button14);
            this.flowLayoutPanel9.Location = new System.Drawing.Point(1067, 252);
            this.flowLayoutPanel9.Name = "flowLayoutPanel9";
            this.flowLayoutPanel9.Size = new System.Drawing.Size(148, 133);
            this.flowLayoutPanel9.TabIndex = 11;
            this.flowLayoutPanel9.Visible = false;
            // 
            // label4
            // 
            this.label4.BackColor = System.Drawing.Color.AntiqueWhite;
            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label4.Location = new System.Drawing.Point(406, 265);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(130, 16);
            this.label4.TabIndex = 13;
            this.label4.Visible = false;
            // 
            // label5
            // 
            this.label5.BackColor = System.Drawing.Color.Orange;
            this.label5.Location = new System.Drawing.Point(403, 290);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(100, 23);
            this.label5.TabIndex = 14;
            this.label5.Visible = false;
            // 
            // flowLayoutPanel10
            // 
            this.flowLayoutPanel10.BackColor = System.Drawing.Color.Transparent;
            this.flowLayoutPanel10.Controls.Add(this.button15);
            this.flowLayoutPanel10.Controls.Add(this.button16);
            this.flowLayoutPanel10.Controls.Add(this.button17);
            this.flowLayoutPanel10.Controls.Add(this.button18);
            this.flowLayoutPanel10.Location = new System.Drawing.Point(857, 61);
            this.flowLayoutPanel10.Name = "flowLayoutPanel10";
            this.flowLayoutPanel10.Size = new System.Drawing.Size(94, 189);
            this.flowLayoutPanel10.TabIndex = 15;
            this.flowLayoutPanel10.Visible = false;
            // 
            // button15
            // 
            this.button15.BackColor = System.Drawing.Color.Transparent;
            this.button15.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button15.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button15.ForeColor = System.Drawing.Color.LightPink;
            this.button15.Location = new System.Drawing.Point(3, 3);
            this.button15.Name = "button15";
            this.button15.Size = new System.Drawing.Size(135, 36);
            this.button15.TabIndex = 0;
            this.button15.Text = "Continue";
            this.button15.UseVisualStyleBackColor = false;
            this.button15.Click += new System.EventHandler(this.button15_Click);
            // 
            // button16
            // 
            this.button16.BackColor = System.Drawing.Color.Transparent;
            this.button16.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button16.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button16.ForeColor = System.Drawing.Color.LightPink;
            this.button16.Location = new System.Drawing.Point(3, 45);
            this.button16.Name = "button16";
            this.button16.Size = new System.Drawing.Size(135, 30);
            this.button16.TabIndex = 1;
            this.button16.Text = "Restart";
            this.button16.UseVisualStyleBackColor = false;
            this.button16.Click += new System.EventHandler(this.button16_Click);
            // 
            // button17
            // 
            this.button17.BackColor = System.Drawing.Color.Transparent;
            this.button17.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button17.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button17.ForeColor = System.Drawing.Color.LightPink;
            this.button17.Location = new System.Drawing.Point(3, 81);
            this.button17.Name = "button17";
            this.button17.Size = new System.Drawing.Size(135, 15);
            this.button17.TabIndex = 2;
            this.button17.Text = "Main Menu";
            this.button17.UseVisualStyleBackColor = false;
            this.button17.Click += new System.EventHandler(this.button17_Click);
            // 
            // button18
            // 
            this.button18.BackColor = System.Drawing.Color.Transparent;
            this.button18.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button18.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button18.ForeColor = System.Drawing.Color.LightPink;
            this.button18.Location = new System.Drawing.Point(3, 102);
            this.button18.Name = "button18";
            this.button18.Size = new System.Drawing.Size(135, 23);
            this.button18.TabIndex = 3;
            this.button18.Text = "Exit";
            this.button18.UseVisualStyleBackColor = false;
            this.button18.Click += new System.EventHandler(this.button18_Click);
            // 
            // flowLayoutPanel11
            // 
            this.flowLayoutPanel11.BackColor = System.Drawing.Color.SeaShell;
            this.flowLayoutPanel11.Controls.Add(this.label6);
            this.flowLayoutPanel11.Controls.Add(this.button19);
            this.flowLayoutPanel11.Controls.Add(this.button20);
            this.flowLayoutPanel11.Controls.Add(this.button21);
            this.flowLayoutPanel11.Location = new System.Drawing.Point(635, 322);
            this.flowLayoutPanel11.Name = "flowLayoutPanel11";
            this.flowLayoutPanel11.Size = new System.Drawing.Size(159, 219);
            this.flowLayoutPanel11.TabIndex = 16;
            this.flowLayoutPanel11.Visible = false;
            // 
            // label6
            // 
            this.label6.Font = new System.Drawing.Font("Segoe Print", 26F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.ForeColor = System.Drawing.Color.DimGray;
            this.label6.Location = new System.Drawing.Point(3, 0);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(135, 69);
            this.label6.TabIndex = 11;
            this.label6.Text = "YOU LOSE";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // button19
            // 
            this.button19.BackColor = System.Drawing.Color.Transparent;
            this.button19.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button19.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button19.ForeColor = System.Drawing.Color.LightPink;
            this.button19.Location = new System.Drawing.Point(3, 72);
            this.button19.Name = "button19";
            this.button19.Size = new System.Drawing.Size(135, 36);
            this.button19.TabIndex = 0;
            this.button19.Text = "Restart";
            this.button19.UseVisualStyleBackColor = false;
            this.button19.Click += new System.EventHandler(this.button19_Click);
            // 
            // button20
            // 
            this.button20.BackColor = System.Drawing.Color.Transparent;
            this.button20.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button20.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button20.ForeColor = System.Drawing.Color.LightPink;
            this.button20.Location = new System.Drawing.Point(3, 114);
            this.button20.Name = "button20";
            this.button20.Size = new System.Drawing.Size(135, 30);
            this.button20.TabIndex = 1;
            this.button20.Text = "Main Menu";
            this.button20.UseVisualStyleBackColor = false;
            this.button20.Click += new System.EventHandler(this.button20_Click);
            // 
            // button21
            // 
            this.button21.BackColor = System.Drawing.Color.Transparent;
            this.button21.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button21.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button21.ForeColor = System.Drawing.Color.LightPink;
            this.button21.Location = new System.Drawing.Point(3, 150);
            this.button21.Name = "button21";
            this.button21.Size = new System.Drawing.Size(135, 15);
            this.button21.TabIndex = 2;
            this.button21.Text = "Exit";
            this.button21.UseVisualStyleBackColor = false;
            this.button21.Click += new System.EventHandler(this.button21_Click);
            // 
            // flowLayoutPanel12
            // 
            this.flowLayoutPanel12.BackColor = System.Drawing.Color.SeaShell;
            this.flowLayoutPanel12.Controls.Add(this.label7);
            this.flowLayoutPanel12.Controls.Add(this.button22);
            this.flowLayoutPanel12.Controls.Add(this.button23);
            this.flowLayoutPanel12.Controls.Add(this.button24);
            this.flowLayoutPanel12.Location = new System.Drawing.Point(857, 322);
            this.flowLayoutPanel12.Name = "flowLayoutPanel12";
            this.flowLayoutPanel12.Size = new System.Drawing.Size(159, 219);
            this.flowLayoutPanel12.TabIndex = 17;
            this.flowLayoutPanel12.Visible = false;
            // 
            // label7
            // 
            this.label7.Font = new System.Drawing.Font("Segoe Print", 26F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.ForeColor = System.Drawing.Color.Tomato;
            this.label7.Location = new System.Drawing.Point(3, 0);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(135, 69);
            this.label7.TabIndex = 11;
            this.label7.Text = "YOU Win";
            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // button22
            // 
            this.button22.BackColor = System.Drawing.Color.Transparent;
            this.button22.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button22.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button22.ForeColor = System.Drawing.Color.LightPink;
            this.button22.Location = new System.Drawing.Point(3, 72);
            this.button22.Name = "button22";
            this.button22.Size = new System.Drawing.Size(135, 36);
            this.button22.TabIndex = 0;
            this.button22.Text = "Continue";
            this.button22.UseVisualStyleBackColor = false;
            this.button22.Click += new System.EventHandler(this.button22_Click);
            // 
            // button23
            // 
            this.button23.BackColor = System.Drawing.Color.Transparent;
            this.button23.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button23.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button23.ForeColor = System.Drawing.Color.LightPink;
            this.button23.Location = new System.Drawing.Point(3, 114);
            this.button23.Name = "button23";
            this.button23.Size = new System.Drawing.Size(135, 30);
            this.button23.TabIndex = 1;
            this.button23.Text = "Main Menu";
            this.button23.UseVisualStyleBackColor = false;
            this.button23.Click += new System.EventHandler(this.button23_Click);
            // 
            // button24
            // 
            this.button24.BackColor = System.Drawing.Color.Transparent;
            this.button24.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button24.Font = new System.Drawing.Font("Segoe Print", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button24.ForeColor = System.Drawing.Color.LightPink;
            this.button24.Location = new System.Drawing.Point(3, 150);
            this.button24.Name = "button24";
            this.button24.Size = new System.Drawing.Size(135, 47);
            this.button24.TabIndex = 2;
            this.button24.Text = "Exit";
            this.button24.UseVisualStyleBackColor = false;
            this.button24.Click += new System.EventHandler(this.button24_Click);
            // 
            // axWindowsMediaPlayer2
            // 
            this.axWindowsMediaPlayer2.Enabled = true;
            this.axWindowsMediaPlayer2.Location = new System.Drawing.Point(1042, 141);
            this.axWindowsMediaPlayer2.Name = "axWindowsMediaPlayer2";
            this.axWindowsMediaPlayer2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer2.OcxState")));
            this.axWindowsMediaPlayer2.Size = new System.Drawing.Size(75, 23);
            this.axWindowsMediaPlayer2.TabIndex = 18;
            this.axWindowsMediaPlayer2.Visible = false;
            this.axWindowsMediaPlayer2.StatusChange += new System.EventHandler(this.axWindowsMediaPlayer2_StatusChange);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1227, 743);
            this.Controls.Add(this.axWindowsMediaPlayer2);
            this.Controls.Add(this.flowLayoutPanel12);
            this.Controls.Add(this.flowLayoutPanel11);
            this.Controls.Add(this.flowLayoutPanel10);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.flowLayoutPanel9);
            this.Controls.Add(this.flowLayoutPanel4);
            this.Controls.Add(this.flowLayoutPanel3);
            this.Controls.Add(this.flowLayoutPanel1);
            this.Controls.Add(this.flowLayoutPanel2);
            this.Controls.Add(this.axWindowsMediaPlayer1);
            this.DoubleBuffered = true;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Form1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Jigsaw";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.Form1_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
            this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseDown);
            this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseMove);
            ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
            this.flowLayoutPanel2.ResumeLayout(false);
            this.flowLayoutPanel1.ResumeLayout(false);
            this.flowLayoutPanel3.ResumeLayout(false);
            this.flowLayoutPanel4.ResumeLayout(false);
            this.flowLayoutPanel5.ResumeLayout(false);
            this.flowLayoutPanel6.ResumeLayout(false);
            this.flowLayoutPanel7.ResumeLayout(false);
            this.flowLayoutPanel8.ResumeLayout(false);
            this.flowLayoutPanel8.PerformLayout();
            this.flowLayoutPanel9.ResumeLayout(false);
            this.flowLayoutPanel10.ResumeLayout(false);
            this.flowLayoutPanel11.ResumeLayout(false);
            this.flowLayoutPanel12.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer2)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion
        private System.Windows.Forms.OpenFileDialog openFileDialog1;
        private System.Windows.Forms.Timer GameTimer;
        private AxWMPLib.AxWindowsMediaPlayer axWindowsMediaPlayer1;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.Button button2;
        private System.Windows.Forms.Button button3;
        private System.Windows.Forms.Button button4;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
        private System.Windows.Forms.Button button5;
        private System.Windows.Forms.Button button6;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel3;
        private System.Windows.Forms.Button button7;
        private System.Windows.Forms.Button button8;
        private System.Windows.Forms.Button button9;
        private System.Windows.Forms.Button button10;
        private System.Windows.Forms.Button button11;
        private System.Windows.Forms.Button button12;
        private System.Windows.Forms.Button button13;
        private System.Windows.Forms.Button button14;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel4;
        private System.Windows.Forms.RadioButton radioButton2;
        private System.Windows.Forms.RadioButton radioButton1;
        private System.Windows.Forms.RadioButton radioButton4;
        private System.Windows.Forms.RadioButton radioButton3;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel5;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel6;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel7;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel8;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel9;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel10;
        private System.Windows.Forms.Button button15;
        private System.Windows.Forms.Button button16;
        private System.Windows.Forms.Button button17;
        private System.Windows.Forms.Button button18;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel11;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.Button button19;
        private System.Windows.Forms.Button button20;
        private System.Windows.Forms.Button button21;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel12;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Button button22;
        private System.Windows.Forms.Button button23;
        private System.Windows.Forms.Button button24;
        private AxWMPLib.AxWindowsMediaPlayer axWindowsMediaPlayer2;
    }
}


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值