文件名称:WindowsFormsApplication1
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-05-21
- 文件大小:
- 838kb
- 下载次数:
- 0次
- 提 供 者:
- zpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
C#生成二维码示例,今天整了一下前段时间做二维码的一些资料,顺便共享一下。本程序是基于ThoughtWorks.QRCode.DLL的二度处理和封装,希望能给初学者带来帮助!
二维码第三方的控件我进行了二次封装,方便大家使用。
CreateTwoCode中有三个方法
一个是对图片二值化处理的方法 ctc.BitmapTo2Bpp()
一个是原始的生成二维码方法,建议对二位相关概念比较熟悉的朋友使用 (调用这个方法时 建议用二值化处理一下,便于识别) ctc.CreateCode()
一个是新的生成二维码方法,建议只是为了生成二维码的朋友使用 (这个方法不需要再调用二值化处理方法) ctc.CreateNewCode()-C# generate a two-dimensional code example, today the whole time does some of the information of the two-dimensional code, the way shared. This procedure is based on the second ThoughtWorks.QRCode.DLL processing and packaging, to help bring hope to give beginners! Third-party control of the two-dimensional code packaging the second, to facilitate use. There are three ways CreateTwoCode a the picture after binarization processing ctc.BitmapTo2Bpp () a the original generate two-dimensional code method, it is recommended to use the more familiar friends of the two related concepts (call this method proposed with two binarization processing, ease of identification) ctc.CreateCode () is a new method of generating two-dimensional code, it is recommended only in order to generate a two-dimensional code of friends using binarization processing method (this method does not require re-call) ctc.CreateNewCode ( )
二维码第三方的控件我进行了二次封装,方便大家使用。
CreateTwoCode中有三个方法
一个是对图片二值化处理的方法 ctc.BitmapTo2Bpp()
一个是原始的生成二维码方法,建议对二位相关概念比较熟悉的朋友使用 (调用这个方法时 建议用二值化处理一下,便于识别) ctc.CreateCode()
一个是新的生成二维码方法,建议只是为了生成二维码的朋友使用 (这个方法不需要再调用二值化处理方法) ctc.CreateNewCode()-C# generate a two-dimensional code example, today the whole time does some of the information of the two-dimensional code, the way shared. This procedure is based on the second ThoughtWorks.QRCode.DLL processing and packaging, to help bring hope to give beginners! Third-party control of the two-dimensional code packaging the second, to facilitate use. There are three ways CreateTwoCode a the picture after binarization processing ctc.BitmapTo2Bpp () a the original generate two-dimensional code method, it is recommended to use the more familiar friends of the two related concepts (call this method proposed with two binarization processing, ease of identification) ctc.CreateCode () is a new method of generating two-dimensional code, it is recommended only in order to generate a two-dimensional code of friends using binarization processing method (this method does not require re-call) ctc.CreateNewCode ( )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\QuickMark.dll
........................\........................\...\.....\ThoughtWorks.QRCode.dll
........................\........................\...\.....\未命名.jpg
........................\........................\Form1.cs
........................\........................\Form1.Designer.cs
........................\........................\Form1.resx
........................\........................\obj\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt
........................\........................\...\.....\WindowsFormsApplication1.csproj.GenerateResource.Cache
........................\........................\...\.....\WindowsFormsApplication1.exe
........................\........................\...\.....\WindowsFormsApplication1.Form1.resources
........................\........................\...\.....\WindowsFormsApplication1.pdb
........................\........................\...\.....\WindowsFormsApplication1.Properties.Resources.resources
........................\........................\Program.cs
........................\........................\...perties\AssemblyInfo.cs
........................\........................\..........\Resources.Designer.cs
........................\........................\..........\Resources.resx
........................\........................\..........\Settings.Designer.cs
........................\........................\..........\Settings.settings
........................\........................\WindowsFormsApplication1.csproj
........................\WindowsFormsApplication1.sln
........................\WindowsFormsApplication1.suo
........................\........................\obj\Debug\TempPE
........................\........................\bin\Debug
........................\........................\obj\Debug
........................\........................\bin
........................\........................\obj
........................\........................\Properties
........................\WindowsFormsApplication1
WindowsFormsApplication1