• 大小: 1.45MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-31
  • 语言: C#
  • 标签:

资源简介

C#拼图游戏源代码,拼图游戏,C#拼图游戏

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace Puzzel
{
    public partial class inputForm : Form
    {
        int step;
        public inputForm(int step)
        {
            InitializeComponent();
            this.step = step;
        }

        private void button1_Click(object sender EventArgs e)
        {
            if (textBox1.Text.Trim() == ““)
            {
                MessageBox.Show(“输入错误“ “提示“ MessageBoxButtons.OK MessageBoxIcon.Stop);
                textBox1.Focus();
                return;
            }
            if (!File.Exists(“.\\puz.dll“))
            {
                StreamWriter sw = File.CreateText(“.\\puz.dll“);
                sw.WriteLine(textBox1.Text + “ “ + step);
                sw.Close();
            }
            else
            {
                StreamWriter swA = File.AppendText(“.\\puz.dll“);
                swA.WriteLine(textBox1.Text + “ “ + step);
                swA.Close();
            }
            this.Close();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件         64  2011-07-12 08:54  Puzzel\Puzzel\bin\Debug\puz.dll

     文件     405504  2009-07-19 09:04  Puzzel\Puzzel\bin\Debug\Puzzel.exe

     文件      50688  2009-07-19 09:04  Puzzel\Puzzel\bin\Debug\Puzzel.pdb

     文件       5632  2005-11-11 22:25  Puzzel\Puzzel\bin\Debug\Puzzel.vshost.exe

     文件          0  2011-07-12 09:09  Puzzel\Puzzel\bin\Debug\新建 文本文档.txt

     文件        766  2007-12-20 09:07  Puzzel\Puzzel\ctxmgr.ico

     文件       1196  2009-07-19 08:59  Puzzel\Puzzel\inputForm.cs

     文件       2897  2007-12-25 08:45  Puzzel\Puzzel\inputForm.Designer.cs

     文件       5814  2007-12-25 08:45  Puzzel\Puzzel\inputForm.resx

     文件       1397  2009-07-19 09:03  Puzzel\Puzzel\obj\Debug\Puzzel.csproj.GenerateResource.Cache

     文件     405504  2009-07-19 09:04  Puzzel\Puzzel\obj\Debug\Puzzel.exe

     文件        180  2009-07-19 09:03  Puzzel\Puzzel\obj\Debug\Puzzel.inputForm.resources

     文件      50688  2009-07-19 09:04  Puzzel\Puzzel\obj\Debug\Puzzel.pdb

     文件     367652  2009-07-19 09:03  Puzzel\Puzzel\obj\Debug\Puzzel.Properties.Resources.resources

     文件       1332  2009-07-19 09:03  Puzzel\Puzzel\obj\Debug\Puzzel.PuzzFrm.resources

     文件        180  2009-07-19 09:03  Puzzel\Puzzel\obj\Debug\Puzzel.ScoreForm.resources

     文件       5632  2008-03-10 17:05  Puzzel\Puzzel\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        339  2011-07-12 09:12  Puzzel\Puzzel\obj\Puzzel.csproj.FileList.txt

     文件        958  2009-06-30 23:45  Puzzel\Puzzel\obj\Puzzel.csproj.FileListAbsolute.txt

     文件        467  2007-12-25 10:07  Puzzel\Puzzel\Program.cs

     文件       1193  2009-07-19 09:01  Puzzel\Puzzel\Properties\AssemblyInfo.cs

     文件       5761  2007-12-20 11:31  Puzzel\Puzzel\Properties\Resources.Designer.cs

     文件       8767  2007-12-20 11:31  Puzzel\Puzzel\Properties\Resources.resx

     文件       1089  2008-03-10 15:11  Puzzel\Puzzel\Properties\Settings.Designer.cs

     文件        249  2008-03-10 15:11  Puzzel\Puzzel\Properties\Settings.settings

     文件       4918  2007-12-25 08:32  Puzzel\Puzzel\Puzzel.csproj

     文件      15094  2009-07-19 09:04  Puzzel\Puzzel\PuzzFrm.cs

     文件      17880  2009-07-18 01:21  Puzzel\Puzzel\PuzzFrm.Designer.cs

     文件      10654  2009-07-19 09:03  Puzzel\Puzzel\PuzzFrm.resx

     文件      15223  2008-03-10 15:34  Puzzel\Puzzel\Resources\1.png

............此处省略29个文件信息

评论

共有 条评论