• 大小: 0.25M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签:

资源简介


资源截图

代码片段和文件信息

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;

namespace IDcardbirthday
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private bool CheckCard18(string CardId)//CheckCard18方法用于检查18位身份证号码的合法性
        {
            long n = 0;
            bool flag = false;
            if (long.TryParse(CardId.Remove(17) out n) == false || n < Math.Pow(10 16) || long.TryParse(CardId.Replace(‘x‘ ‘0‘).Replace(‘X‘ ‘0‘) out n) == false)
                return false;//数字验证
            string[] Myaddress = new string[]{ “11““22““35““44““53““12“
                “23““36““45““54““13““31““37““46““61““14““32““41“
                “50““62““15““33““42““51““63““21““34““43““52““64“
                “65““71““81““82““91“};
            for (

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         932  2009-02-10 10:17  sj\01\IDcardbirthday\IDcardbirthday.sln
     文件       15360  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday.suo
     文件        6354  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\Form1.cs
     文件        4099  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\Form1.Designer.cs
     文件        5814  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\Form1.resx
     文件        3774  2009-02-10 10:18  sj\01\IDcardbirthday\IDcardbirthday\IDcardbirthday.csproj
     文件         495  2009-02-10 10:17  sj\01\IDcardbirthday\IDcardbirthday\Program.cs
     文件       12288  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\bin\Debug\IDcardbirthday.exe
     文件       28160  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\bin\Debug\IDcardbirthday.pdb
     文件       14328  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\bin\Debug\IDcardbirthday.vshost.exe
     文件         490  2007-07-21 01:33  sj\01\IDcardbirthday\IDcardbirthday\bin\Debug\IDcardbirthday.vshost.exe.manifest
     文件         709  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\obj\Debug\IDcardbirthday.csproj.FileListAbsolute.txt
     文件         847  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\obj\Debug\IDcardbirthday.csproj.GenerateResource.Cache
     文件       12288  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\obj\Debug\IDcardbirthday.exe
     文件         180  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\obj\Debug\IDcardbirthday.Form1.resources
     文件       28160  2009-02-10 10:25  sj\01\IDcardbirthday\IDcardbirthday\obj\Debug\IDcardbirthday.pdb
     文件         180  2009-02-10 10:22  sj\01\IDcardbirthday\IDcardbirthday\obj\Debug\IDcardbirthday.Properties.Resources.resources
     文件        1360  2009-02-10 10:17  sj\01\IDcardbirthday\IDcardbirthday\Properties\AssemblyInfo.cs
     文件        2878  2009-02-10 10:17  sj\01\IDcardbirthday\IDcardbirthday\Properties\Resources.Designer.cs
     文件        5612  2009-02-10 10:17  sj\01\IDcardbirthday\IDcardbirthday\Properties\Resources.resx
     文件        1099  2009-02-10 10:17  sj\01\IDcardbirthday\IDcardbirthday\Properties\Settings.Designer.cs
     文件         249  2009-02-10 10:17  sj\01\IDcardbirthday\IDcardbirthday\Properties\Settings.settings
     文件         917  2009-02-10 10:25  sj\02\IDcardSex\IDcardSex.sln
     文件       15360  2009-02-10 10:28  sj\02\IDcardSex\IDcardSex.suo
     文件        7145  2009-02-10 10:28  sj\02\IDcardSex\IDcardSex\Form1.cs
     文件        4047  2009-02-10 10:27  sj\02\IDcardSex\IDcardSex\Form1.Designer.cs
     文件        5814  2009-02-10 10:27  sj\02\IDcardSex\IDcardSex\Form1.resx
     文件        3764  2009-02-10 10:27  sj\02\IDcardSex\IDcardSex\IDcardSex.csproj
     文件         490  2009-02-10 10:25  sj\02\IDcardSex\IDcardSex\Program.cs
     文件       12288  2009-02-10 10:28  sj\02\IDcardSex\IDcardSex\bin\Debug\IDcardSex.exe
     文件       26112  2009-02-10 10:28  sj\02\IDcardSex\IDcardSex\bin\Debug\IDcardSex.pdb
............此处省略36个文件信息

评论

共有 条评论