SNF開發平臺WinForm-平板拍照及掃描二維碼功能

 在咱們作項目的時候,常常會有移動平板處理檢驗,審覈等,方便移動辦公。這時就須要在現場拍照上傳問題,把當場問題進行上傳,也有已經拍完照的圖片或加工過的圖片進行上傳。還有在車間現場一體機,工控機 這種產物,顯示的樣式跟PC上仍是有所差異的,須要放大一些,由於都是觸控屏的。方便操做。html

1、演示及使用效果前端

1.一、一體機,工控機spring

1.二、平板程序,拍照上傳,上傳附件數據庫

1.三、二維碼掃描識別json

 

2、調整方法跨域

  2.一、DEMO樣例服務器

 

2.二、樣例調用代碼:mvc

  public partial class QRCodeTest : Form
    {
        public QRCodeTest()
        {
            InitializeComponent();
        }

        private string barCode = string.Empty;

        private void Form1_Load(object sender, EventArgs e)
        {

        }
        FrmBarCode frmBarCodes = new FrmBarCode();

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            MessageBox.Show(frmBarCodes.BarCode);
        }

       

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            this.videoSourcePlayer.Stop();
            ////調用默認掃描
           
            //frmBarCode.ScanAnalysis(this.textEdit1);
        }

        private void simpleButton4_Click(object sender, EventArgs e)
        {
            this.videoSourcePlayer.Stop();
        }


        private void btn1_Click(object sender, EventArgs e)
        {
            //FrmBarCode frmBarCode = new FrmBarCode();
            //frmBarCode.ShowDialog();
            //this.textEdit1.Text = frmBarCode.BarCode;
            //調用默認掃描
            frmBarCodes = new FrmBarCode();
            this.textEdit1.Text = frmBarCodes.ScanAnalysis();
        }
        //一、傳個out string 獲取掃描值。
        private void button1_Click(object sender, EventArgs e)
        {
            string abc;
            frmBarCodes = new FrmBarCode();
            frmBarCodes.ScanAnalysis(out abc);
            this.textEdit1.Text = abc;
        }
        //二、傳入一個 textbox控件獲取掃描值。
        private void simpleButton3_Click(object sender, EventArgs e)
        {
            //調用默認掃描
            frmBarCodes = new FrmBarCode();
            frmBarCodes.ScanAnalysis(this.textEdit1);
        }
        //三、傳入一個視頻控件+out string 獲取掃描值。
        //四、傳入一個視頻控件+textbox控件獲取掃描值。
        private void btn_Click(object sender, EventArgs e)
        {
            //調用指定控件掃描,解析後的值存在控件的Text屬性中
            frmBarCodes.ScanAnalysis(videoSourcePlayer, this.textEdit1);
        }

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------框架

做者: 王金斗
出處: http://www.cnblogs.com/spring_wang/
Email: spring_best@yeah.net
QQ:903639067 
QQ羣:322581894

 這個系列教程文檔,歡迎轉載:asp.net

SNF快速開發平臺WinForm-CS甘特圖http://www.cnblogs.com/spring_wang/p/7418423.html

SNF快速開發平臺MVC-審覈流,審覈完成後會給下一個審覈人發郵件,下一個審覈人能夠不登陸系統,在郵件裏進行審覈處理http://www.cnblogs.com/spring_wang/p/7418402.html

SNF快速開發平臺MVC-名片管理(實際名片樣式) http://www.cnblogs.com/spring_wang/p/7416540.html

SNF快速開發平臺MVC-表格單元格合併組件http://www.cnblogs.com/spring_wang/p/7416368.html

SNF快速開發平臺MVC-單據狀態水印http://www.cnblogs.com/spring_wang/p/7416349.html

SNF快速開發平臺MVC-瀑布式分頁組件http://www.cnblogs.com/spring_wang/p/7411116.html

SNF快速開發平臺MVC-高級查詢組件http://www.cnblogs.com/spring_wang/p/7411113.html

SNF快速開發平臺MVC-自由排序組件http://www.cnblogs.com/spring_wang/p/7411090.html

SNF快速開發平臺MVC-各類級聯綁定方式,演示樣例程序(包含表單和表格控件)http://www.cnblogs.com/spring_wang/p/7405371.html

SNF快速開發平臺MVC-集成了百度開源項目echarshttp://www.cnblogs.com/spring_wang/p/7405171.html

SNF快速開發平臺WinForm-平板拍照及掃描二維碼功能http://www.cnblogs.com/spring_wang/p/7404600.html

SNF快速開發平臺WinForm規則引擎總體介紹及使用http://www.cnblogs.com/spring_wang/p/7404182.html

SNF快速開發平臺WinForm-Grid表格控件大全http://www.cnblogs.com/spring_wang/p/7403881.html

SNF快速開發平臺WinForm-表單驗證控件-通用http://www.cnblogs.com/spring_wang/p/7403750.html

SNF.CodeGenerator-升級生成BS頁面代碼-支持視圖-數據庫配置-快速開發者的利器http://www.cnblogs.com/spring_wang/p/7402612.html

SNF快速開發平臺WinForm-審覈流使用方法樣例http://www.cnblogs.com/spring_wang/p/7374176.html

SNF快速開發平臺WinForm-EasyQuery統計分析-效果-很是牛逼的報表查詢工具http://www.cnblogs.com/spring_wang/p/7366059.html

SNF快速開發平臺MVC-Grid++集成打印http://www.cnblogs.com/spring_wang/p/7365567.html

SNF快速開發平臺MVC-富文本控件集成了百度開源項目editorhttp://www.cnblogs.com/spring_wang/p/7365265.html

C#按回車Enter使輸入焦點自動跳到下一個TextBox的方法收集http://www.cnblogs.com/spring_wang/p/7216538.html

關於系統前端開發的那些事http://www.cnblogs.com/spring_wang/p/7092721.html

WebApi和MVC-controller層接收的json字符串的取值方法和調用後臺服務方法http://www.cnblogs.com/spring_wang/p/6740314.html

SNF快速開發平臺--規則引擎在程序當中如何調用http://www.cnblogs.com/spring_wang/p/6740490.html

SNF快速開發平臺--規則引擎介紹和使用文檔http://www.cnblogs.com/spring_wang/p/6740445.html

SNF快速開發平臺MVC-EasyUI3.9之-DataGrid表格控件如何增長右鍵菜單http://www.cnblogs.com/spring_wang/p/6740338.html

SNF快速開發平臺--多組織+多平臺+多系統處理方案http://www.cnblogs.com/spring_wang/p/6734654.html

SNF快速開發平臺MVC-EasyUI3.9之-Session過時處理和頁面請求篩選http://www.cnblogs.com/spring_wang/p/6733975.html

SNF快速開發平臺MVC-EasyUI3.9之-WebApi身份驗證問題解決方案http://www.cnblogs.com/spring_wang/p/6733814.html

SNF快速開發平臺MVC-EasyUI3.9之-WebApi跨域處理方案http://www.cnblogs.com/spring_wang/p/6733659.html

SNF快速開發平臺MVC-EasyUI3.9之-ueditor富文本編輯在 asp.net MVC下使用步驟http://www.cnblogs.com/spring_wang/p/6710351.html

SNF開發平臺WinForm之十五-時間軸控件使用-http://www.cnblogs.com/spring_wang/p/6285393.html

SNF開發平臺WinForm之十四-站內發送系統信息http://www.cnblogs.com/spring_wang/p/6140031.html

SNF開發平臺WinForm之十三-單獨從服務器上獲取PDF文件進行顯示http://www.cnblogs.com/spring_wang/p/6140025.html

SNF開發平臺WinForm之十二-發送手機短信功能調用http://www.cnblogs.com/spring_wang/p/6139829.html

SNF開發平臺WinForm之十一-程序打包http://www.cnblogs.com/spring_wang/p/6139827.html

SNF開發平臺WinForm之十-Excel導入http://www.cnblogs.com/spring_wang/p/6128604.html

SNF開發平臺WinForm之九-代碼生成器使用說明http://www.cnblogs.com/spring_wang/p/6128595.html

SNF開發平臺WinForm之八-自動升級程序部署使用說明http://www.cnblogs.com/spring_wang/p/6128570.html

SNF開發平臺WinForm之七-單據打印和使用說明http://www.cnblogs.com/spring_wang/p/6126016.html

SNF開發平臺WinForm之六-上傳下載組件使用http://www.cnblogs.com/spring_wang/p/6125929.html

SNF開發平臺WinForm之五-高級查詢使用說明-http://www.cnblogs.com/spring_wang/p/6116640.html

SNF開發平臺WinForm之四-開發-主細表管理頁面-http://www.cnblogs.com/spring_wang/p/6116626.html

SNF開發平臺WinForm之三-開發-單表選擇控件建立-http://www.cnblogs.com/spring_wang/p/6116592.html

SNF開發平臺WinForm之二-開發-單表表單管理頁面-http://www.cnblogs.com/spring_wang/p/6116572.html

SNF開發平臺WinForm之一-開發-單表表格編輯管理頁面-http://www.cnblogs.com/spring_wang/p/6116523.html

Winform開發框架之通用Windows攝像頭調用拍照http://www.cnblogs.com/spring_wang/p/6008674.html

Winform開發框架之圖表報表在線設計器2-圖表-SNF.EasyQuery項目--SNF快速開發平臺3.3-Spring.Net.Framework

Winform開發框架之圖表報表在線設計器-報表-SNF.EasyQuery項目--SNF快速開發平臺3.3-Spring.Net.Framework

Winform開發框架之通用附件管理模塊 --SNF快速開發平臺3.3-Spring.Net.Framework

SNFAutoupdater通用自動升級組件V2.0-WinForm

SNF快速開發平臺3.2之--.Net可擴展的單據編號生成器-SNF.CodeRule

SNF快速開發平臺3.1之--審覈流(3)低調奢華,簡單不凡,實例演示-SNF.WorkFlow

SNF快速開發平臺3.1之--審覈流(2)流程設計-SNF.WorkFlow功能使用說明

SNF快速開發平臺3.1之--審覈流(1)SNF.WorkFlow審覈流簡介

SNF快速開發平臺3.0之--完美的代碼生成器SNF.CodeGenerator-快速開發者的利器

基於MVC4+EasyUI的Web開發框架--Spring.Net.FrameworkV3.0整體介紹

SNF快速開發平臺3.0之--MVC 打印解決方案

SNF快速開發平臺3.0之--文件批量上傳-統一附件管理器-在線預覽文件(有互聯網和沒有兩種)

SNF快速開發平臺3.0之--asp.net mvc4 強大的導出和不須要上傳文件的批量導入EXCEL

SNF快速開發平臺3.0之MVC通用控件庫展現-Asp.net+MVC4.0+WebAPI+EasyUI+Knockout

SNF快速開發平臺3.0之BS頁面展現和九大優勢-部分頁面顯示效果-Asp.net+MVC4.0+WebAPI+EasyUI +Knockout

SNF快速開發平臺3.0之-界面個性化配置+10種皮膚+7種菜單-Asp.net+MVC4.0+WebAPI+EasyUI+Knockout

SNF快速開發平臺3.0之-CS頁面-Asp.net+Spring.Net.Framework

SNF快速開發平臺3.0之--系統裏廣播的做用--迅速及時、簡明扼要的把信息發送給接收者

相關文章
相關標籤/搜索