• 大小: 61KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-14
  • 语言: C#
  • 标签: 电子签名  

资源简介

基于GDI+的电子签名技术,才用c#编写,vs2012开发工具。签名生产jpg图片

资源截图

代码片段和文件信息

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 SignatureDemo
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }
        Bitmap bitmap;
        private void btnSignature_Click(object sender EventArgs e)
        {
            FrmSignature fm = new FrmSignature();
            if (fm.ShowDialog() == DialogResult.OK)
            {
                bitmap = fm.SavedBitmap;
                this.pictureBox1.Invalidate();
            }
        }

        private void pictureBox1_Paint(object sender PaintEventArgs e)
        {
            if (bitmap != null)
            {
               e.Graphics.DrawImage(bitmap 0 0 this.pictureBox1.Width this.pictureBox1.Height);
               this.pictureBox1.Image = bitmap;
            }
        }
    }
}

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

     文件        187  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\App.config

     文件      12288  2012-11-28 16:18  电子签名winform\SignatureDemo\SignatureDemo\bin\Debug\SignatureDemo.exe

     文件        187  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\bin\Debug\SignatureDemo.exe.config

     文件      34304  2012-11-28 16:18  电子签名winform\SignatureDemo\SignatureDemo\bin\Debug\SignatureDemo.pdb

     文件      22984  2012-11-28 15:47  电子签名winform\SignatureDemo\SignatureDemo\bin\Debug\SignatureDemo.vshost.exe

     文件        187  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\bin\Debug\SignatureDemo.vshost.exe.config

     文件       1047  2012-11-28 16:41  电子签名winform\SignatureDemo\SignatureDemo\FrmMain.cs

     文件       3716  2012-11-28 15:18  电子签名winform\SignatureDemo\SignatureDemo\FrmMain.Designer.cs

     文件       5817  2012-11-28 15:18  电子签名winform\SignatureDemo\SignatureDemo\FrmMain.resx

     文件       2600  2012-11-28 15:51  电子签名winform\SignatureDemo\SignatureDemo\FrmSignature.cs

     文件       5156  2012-11-28 14:33  电子签名winform\SignatureDemo\SignatureDemo\FrmSignature.Designer.cs

     文件       5817  2012-11-28 14:33  电子签名winform\SignatureDemo\SignatureDemo\FrmSignature.resx

     文件        863  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7007  2012-11-28 14:35  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        926  2012-11-28 15:47  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\SignatureDemo.csproj.FileListAbsolute.txt

     文件       1100  2012-11-28 15:19  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\SignatureDemo.csproj.GenerateResource.Cache

     文件       2209  2012-11-28 14:28  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\SignatureDemo.csprojResolveAssemblyReference.cache

     文件      12288  2012-11-28 16:18  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\SignatureDemo.exe

     文件        180  2012-11-28 15:19  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\SignatureDemo.FrmMain.resources

     文件        180  2012-11-28 14:44  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\SignatureDemo.FrmSignature.resources

     文件      34304  2012-11-28 16:18  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\SignatureDemo.pdb

     文件        180  2012-11-28 14:44  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\SignatureDemo.Properties.Resources.resources

     文件          0  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件        527  2012-11-28 14:35  电子签名winform\SignatureDemo\SignatureDemo\Program.cs

     文件       1346  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\Properties\AssemblyInfo.cs

     文件       2878  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\Properties\Resources.Designer.cs

     文件       5612  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\Properties\Resources.resx

     文件       1100  2012-11-28 14:20  电子签名winform\SignatureDemo\SignatureDemo\Properties\Settings.Designer.cs

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

评论

共有 条评论