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

资源简介


资源截图

代码片段和文件信息

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

namespace yanzhengma
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        ValidCode validCode;//声明验证码对象
       
        private void linkLabel1_linkClicked(object sender linkLabellinkClickedEventArgs e)
        {
            //创建验证码对象
            validCode = new ValidCode(5 ValidCode.CodeType.Alphas);
            //把验证码显示到图片中
            this.pictureBox1.Image = Bitmap.FromStream(validCode.CreateCheckCodeImage());
        }

        private void Form1_Load(object sender 

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

     文件        187  2014-07-19 16:45  验证码实例\yanzhengma\App.config

     文件      13312  2014-07-19 17:00  验证码实例\yanzhengma\bin\Debug\yanzhengma.exe

     文件        187  2014-07-19 16:45  验证码实例\yanzhengma\bin\Debug\yanzhengma.exe.config

     文件      34304  2014-07-19 17:00  验证码实例\yanzhengma\bin\Debug\yanzhengma.pdb

     文件      22984  2014-07-19 17:00  验证码实例\yanzhengma\bin\Debug\yanzhengma.vshost.exe

     文件        187  2014-07-19 16:45  验证码实例\yanzhengma\bin\Debug\yanzhengma.vshost.exe.config

     文件        490  2012-06-06 02:06  验证码实例\yanzhengma\bin\Debug\yanzhengma.vshost.exe.manifest

     文件       1756  2014-07-19 17:00  验证码实例\yanzhengma\Form1.cs

     文件       4777  2014-07-19 16:59  验证码实例\yanzhengma\Form1.Designer.cs

     文件       5817  2014-07-19 16:59  验证码实例\yanzhengma\Form1.resx

     文件        863  2014-07-19 16:45  验证码实例\yanzhengma\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7015  2014-07-19 16:47  验证码实例\yanzhengma\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2014-07-19 16:45  验证码实例\yanzhengma\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2014-07-19 16:45  验证码实例\yanzhengma\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2014-07-19 16:45  验证码实例\yanzhengma\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件        816  2014-07-19 17:00  验证码实例\yanzhengma\obj\Debug\yanzhengma.csproj.FileListAbsolute.txt

     文件        975  2014-07-19 16:59  验证码实例\yanzhengma\obj\Debug\yanzhengma.csproj.GenerateResource.Cache

     文件       2209  2014-07-19 16:56  验证码实例\yanzhengma\obj\Debug\yanzhengma.csprojResolveAssemblyReference.cache

     文件      13312  2014-07-19 17:00  验证码实例\yanzhengma\obj\Debug\yanzhengma.exe

     文件        180  2014-07-19 16:59  验证码实例\yanzhengma\obj\Debug\yanzhengma.Form1.resources

     文件      34304  2014-07-19 17:00  验证码实例\yanzhengma\obj\Debug\yanzhengma.pdb

     文件        180  2014-07-19 16:56  验证码实例\yanzhengma\obj\Debug\yanzhengma.Properties.Resources.resources

     文件        522  2014-07-19 16:45  验证码实例\yanzhengma\Program.cs

     文件       1358  2014-07-19 16:45  验证码实例\yanzhengma\Properties\AssemblyInfo.cs

     文件       2872  2014-07-19 16:45  验证码实例\yanzhengma\Properties\Resources.Designer.cs

     文件       5612  2014-07-19 16:45  验证码实例\yanzhengma\Properties\Resources.resx

     文件       1097  2014-07-19 16:45  验证码实例\yanzhengma\Properties\Settings.Designer.cs

     文件        249  2014-07-19 16:45  验证码实例\yanzhengma\Properties\Settings.settings

     文件       8020  2014-07-19 16:48  验证码实例\yanzhengma\ValidCode.cs

     文件       3839  2014-07-19 16:56  验证码实例\yanzhengma\yanzhengma.csproj

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

评论

共有 条评论