• 大小: 0.07M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 标签:

资源简介

手机号过滤


----------新增“导出”功能--OK

把过滤手机号码的软件,选择改为导入,增加一个导出号码导出为TXT文本文件,写入的格式是1行1个号码
导出的路径为根目录,记事本文件名默认是过滤号码.txt


------------增加状态栏--OK

加一个状态栏,分别显示如下
共导入:0个号码,过滤成功:0个号码,版权:拾足汇


------------验证手机号-ok

针对导入的号码要检测号码前部或者后部或号码中存在空格的情况以及号码中是否存在空行的情况,如果有空格或空行则在导入的时候就进行空格空行处理;
再检测号码文件中是否存在非法字符比如存在字母,特殊符号如@¥..也就是说号码文件中只能存在数字,如存在非数字的字符都称为非法字符,这样的话就弹出提示,您导入的号码文件中存在非法字符,请检查!
(自己测试前 制造测试条件,自己加空格)

------------软件标题:拾足汇手机号码过滤重复工具V1.0---OK

------------退出提示-ok

在软件中点击退出后提示提示框,分为3个点击事项
是,否,进入论坛
提示内容:您是否确定退出程序,点击是则退出,否 则不退出,进入论坛后打开bbs.shizuhui.com 

且退出程序



-------进入拾足汇--ok
红色的地方,一个文本标签 名字:进入拾足汇,点击后就跳转到bbs.shizuhui
就这些


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Text.Regularexpressions;


namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        /// 
        /// 导入字符串
        /// 

        /// 
        /// 
        private void button1_Click(object sender EventArgs e)
        {
            OpenFileDialog filename = new OpenFileDialog(); //定义打开文件  
            filename.InitialDirectory = Application.StartupPath; //初始路径这里设置的是程序的起始位置,可自由设置  
            filename.Filter = “All files(*.*)|*.*|txt files(*.txt)|*.txt“;//设置打开类型设置个*.*和*.txt就行了  
            filename.FilterIndex = 2;                  /

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         962  2017-11-16 14:47  WindowsForms2012Tele\WindowsForms2012Tele.sln
     文件       49152  2017-11-17 13:12  WindowsForms2012Tele\WindowsForms2012Tele.v11.suo
     目录           0  2017-11-17 12:50  WindowsForms2012Tele\WindowsFormsApplication1\
     文件         187  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\App.config
     目录           0  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\bin\
     目录           0  2017-11-16 21:21  WindowsForms2012Tele\WindowsFormsApplication1\bin\Debug\
     文件       16384  2017-11-17 13:12  WindowsForms2012Tele\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
     文件         187  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
     文件       36352  2017-11-17 13:12  WindowsForms2012Tele\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
     文件       22984  2017-11-17 13:12  WindowsForms2012Tele\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
     文件         187  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.config
     文件         490  2014-01-13 21:31  WindowsForms2012Tele\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
     文件         360  2017-11-17 07:37  WindowsForms2012Tele\WindowsFormsApplication1\bin\Debug\过滤号码.txt
     文件        7805  2017-11-17 13:09  WindowsForms2012Tele\WindowsFormsApplication1\Form1.cs
     文件       11405  2017-11-16 23:21  WindowsForms2012Tele\WindowsFormsApplication1\Form1.Designer.cs
     文件        6020  2017-11-16 23:21  WindowsForms2012Tele\WindowsFormsApplication1\Form1.resx
     文件        1330  2017-11-17 13:11  WindowsForms2012Tele\WindowsFormsApplication1\Form2.cs
     文件        3883  2017-11-17 13:11  WindowsForms2012Tele\WindowsFormsApplication1\Form2.Designer.cs
     文件        5817  2017-11-17 13:11  WindowsForms2012Tele\WindowsFormsApplication1\Form2.resx
     目录           0  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\obj\
     目录           0  2017-11-17 13:12  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\
     文件        1308  2017-11-16 17:47  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7116  2017-11-17 12:50  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件           0  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2017-11-16 14:32  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\TempPE\
     文件        2320  2017-11-17 13:12  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt
     文件        1033  2017-11-17 13:12  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.GenerateResource.Cache
     文件        2209  2017-11-16 14:47  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csprojResolveAssemblyReference.cache
     文件       16384  2017-11-17 13:12  WindowsForms2012Tele\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.exe
............此处省略13个文件信息

评论

共有 条评论

相关资源