• 大小: 296KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-22
  • 语言: C#
  • 标签: Undo  Redo  C#  模拟  

资源简介

这个是做实验时,简单基本的Undo、Redo的操作、在一个winForm中实现,并且可以设置Undo的最大次数。包中除了项目外,还附有报告.

资源截图

代码片段和文件信息

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

namespace UID5
{
    class code
    {
        private String id;
        private String name;
        private Boolean boy;
        private Boolean girl;
        private String college;
        private Boolean interest1;
        private Boolean interest2;
        private Boolean interest3;
        private Boolean interest4;
        private Boolean interest5;
        private Boolean interest6;
        private String focused;

        public code()
        { }
        public code(String id String name Boolean boy Boolean girl String college Boolean interest1 Boolean interest2
                    Boolean interest3 Boolean interest4 Boolean interest5 Boolean interest6 String focused)
        {
            this.id = id;
            this.name = name;
            this.boy = boy;
            this.girl = girl;
            this.college = college;
            this.interest1 = interest1;
            this.interest2 = interest2;
            this.interest3 = interest3;
            this.interest4 = interest4;
            this.interest5 = interest5;
            this.interest6 = interest6;
            this.focused = focused;
        }
        public String getId()
        {
            return this.id;
        }
        public String getName()
        {
            return this.name;
        }
        public Boolean getBoy()
        {
            return this.boy;
        }
        public Boolean getGirl()
        {
            return this.girl;
        }
        public String getCollege()
        {
            return this.college;
        }
        public Boolean getInterest1()
        {
            return this.interest1;
        }
        public Boolean getInterest2()
        {
            return this.interest2;
        }
        public Boolean getInterest3()
        {
            return this.interest3;
        }
        public Boolean getInterest4()
        {
            return this.interest4;
        }
        public Boolean getInterest5()
        {
            return this.interest5;
        }
        public Boolean getInterest6()
        {
            return this.interest6;
        }
        public String getFocused()
        {
            return this.focused;
        }

    }
}

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

     文件        187  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\App.config

     文件      19968  2012-11-09 23:07  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\bin\Debug\UID5.exe

     文件        187  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\bin\Debug\UID5.exe.config

     文件      42496  2012-11-09 23:07  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\bin\Debug\UID5.pdb

     文件      22984  2012-11-10 09:52  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\bin\Debug\UID5.vshost.exe

     文件        187  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\bin\Debug\UID5.vshost.exe.config

     文件        490  2012-06-06 02:06  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\bin\Debug\UID5.vshost.exe.manifest

     文件       2424  2012-11-09 21:24  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\code.cs

     文件       1308  2012-11-10 09:11  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6927  2012-11-10 09:52  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件        993  2012-11-10 09:52  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\UID5.csproj.FileListAbsolute.txt

     文件        974  2012-11-09 23:07  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\UID5.csproj.GenerateResource.Cache

     文件       2209  2012-11-09 20:20  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\UID5.csprojResolveAssemblyReference.cache

     文件      19968  2012-11-09 23:07  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\UID5.exe

     文件      42496  2012-11-09 23:07  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\UID5.pdb

     文件        180  2012-11-09 22:10  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\UID5.Properties.Resources.resources

     文件        180  2012-11-09 23:07  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\obj\Debug\UID5.UID5.resources

     文件        515  2012-11-09 19:54  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\Program.cs

     文件       1346  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\Properties\AssemblyInfo.cs

     文件       2860  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\Properties\Resources.Designer.cs

     文件       5612  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\Properties\Resources.resx

     文件       1091  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\Properties\Settings.Designer.cs

     文件        249  2012-11-09 19:53  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\Properties\Settings.settings

     文件       7287  2012-11-09 23:07  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\UID5.cs

     文件       3817  2012-11-09 22:10  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\UID5.csproj

     文件      22143  2012-11-09 23:06  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\UID5.Designer.cs

     文件       5817  2012-11-09 23:06  10本-UID实验5-220XXX\10本-UID实验5-220XXX\UID5\UID5\UID5.resx

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

评论

共有 条评论