• 大小: 0.08M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签:

资源简介

自定义实现Ip控件,带验证功能,比较完善

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Text.Regularexpressions;

namespace IpTextBoxExt
{
    public enum IPType : byte { A B C D E };

    public partial class IpTextBoxExt : UserControl
    {

        public IpTextBoxExt()
        {
            InitializeComponent();
            tb_ip1.GotFocus += new EventHandler(IpTextBox_GotFocus);
            tb_ip2.GotFocus += new EventHandler(IpTextBox_GotFocus);
            tb_ip3.GotFocus += new EventHandler(IpTextBox_GotFocus);
            tb_ip4.GotFocus += new EventHandler(IpTextBox_GotFocus);
        }

        private void IPv4TextBox_Key

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

     文件      11264  2017-07-25 22:34  IpControl\IpControl\bin\Debug\IpControl.dll

     文件      22016  2017-07-25 22:34  IpControl\IpControl\bin\Debug\IpControl.pdb

     文件       7454  2017-07-25 22:34  IpControl\IpControl\IpTextBoxExt.cs

     文件       2884  2017-07-21 00:35  IpControl\IpControl\IpTextBoxExt.csproj

     文件       8482  2017-07-21 01:32  IpControl\IpControl\IpTextBoxExt.Designer.cs

     文件       5817  2017-07-21 01:32  IpControl\IpControl\IpTextBoxExt.resx

     文件       4502  2017-07-20 22:49  IpControl\IpControl\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       5891  2017-07-25 22:34  IpControl\IpControl\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        114  2017-07-25 22:02  IpControl\IpControl\obj\Debug\GenerateResource.read.1.tlog

     文件        280  2017-07-25 22:02  IpControl\IpControl\obj\Debug\GenerateResource.write.1.tlog

     文件        488  2017-07-20 23:37  IpControl\IpControl\obj\Debug\IpControl.csproj.FileListAbsolute.txt

     文件      11264  2017-07-25 22:34  IpControl\IpControl\obj\Debug\IpControl.dll

     文件        180  2017-07-20 23:54  IpControl\IpControl\obj\Debug\IpControl.IpControl.resources

     文件      22016  2017-07-25 22:34  IpControl\IpControl\obj\Debug\IpControl.pdb

     文件       1084  2017-07-25 22:02  IpControl\IpControl\obj\Debug\IpTextBoxExt.csproj.FileListAbsolute.txt

     文件        180  2017-07-25 22:02  IpControl\IpControl\obj\Debug\IpTextBoxExt.IpTextBoxExt.resources

     文件       1374  2017-07-21 00:36  IpControl\IpControl\Properties\AssemblyInfo.cs

     文件       2578  2017-07-21 00:38  IpControl\IpControl.sln

    ..A..H.     39936  2017-07-25 22:37  IpControl\IpControl.suo

     文件      11264  2017-07-25 22:34  IpControl\IpControlTest\bin\Debug\IpControl.dll

     文件      22016  2017-07-25 22:34  IpControl\IpControlTest\bin\Debug\IpControl.pdb

     文件       9216  2017-07-25 22:37  IpControl\IpControlTest\bin\Debug\IpControlTest.exe

     文件      24064  2017-07-25 22:37  IpControl\IpControlTest\bin\Debug\IpControlTest.pdb

     文件      11600  2017-07-25 22:37  IpControl\IpControlTest\bin\Debug\IpControlTest.vshost.exe

     文件        490  2010-03-17 22:39  IpControl\IpControlTest\bin\Debug\IpControlTest.vshost.exe.manifest

     文件        666  2017-07-25 22:37  IpControl\IpControlTest\Form1.cs

     文件       2969  2017-07-21 01:35  IpControl\IpControlTest\Form1.Designer.cs

     文件       6460  2017-07-21 01:35  IpControl\IpControlTest\Form1.resx

     文件       3906  2017-07-21 00:35  IpControl\IpControlTest\IpTextBoxExtTest.csproj

     文件      14145  2017-07-21 01:34  IpControl\IpControlTest\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

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

评论

共有 条评论

相关资源