登录
首页 » C# » updateCSharp-Winform-update

updateCSharp-Winform-update

于 2014-04-09 发布 文件大小:809KB
0 132
下载积分: 1 下载次数: 11

代码说明:

  C# Winform 实现软件自动更新升级,我们将登录窗口单独做成一个可执行文件,用户登录时,从网上检测是否有新的主程序,如果有,则从后台下载并覆盖老的版本,用户输入正确的用户名和密码后,通过参数将必要的信息(如用户名、密码等)传递给主程序,实现登录。   由于本项目涉及到不止一个程序,为保证运行正确,需要将编译后的可执行文件放到同一个文件夹,尽管我们可以编译后再将文件复制到同一个文件夹中,但每次都手工复制比较费事,这里采取一个简单的办法。先在硬盘中创建一个文件夹,如D:output,选择菜单“项目”→“属性”,会弹出一个对话框,在配置(C)后面选择“所有配置”,选择配置属性的生成项,在输出路径中输入“D:output”,再编译时输出的可执行文件乖乖地跑到D:output下面了(C# software Winform y las actualizaciones automáticas de actualización, vamos a hacer un archivo de la ventana de inicio de sesión ejecutable independiente, cuando el usuario se conecta, a través de Internet para detectar si hay un nuevo programa principal, si las hubiere, de los antecedentes de descarga y sobrescribir la versión anterior, el usuario introduce la correcta Después de que el nombre de usuario y contraseñ a a través de los parámetros de la información necesaria (como nombres de usuario, contraseñ as, etc) pasa al programa principal, el inicio de sesión realización. Dado que el proyecto involucra a más de un programa, con el fin de garantizar un funcionamiento correcto, es necesario compilar el archivo ejecutable en la misma carpeta, a pesar de que podemos compilar y luego copiar el archivo en la misma carpeta, pero cada mano Copie relativamente problemas, aquí tomar un enfoque simple. En primer lugar crear una carpeta en su disco duro, por ejemplo, D: salida , )

文件列表:

updateC# Winform update
.......................\Login

.......................\.....\AssemblyInfo.cs,1859,2004-02-04
.......................\.....\bin
.......................\.....\...\Debug
.......................\.....\Form1.cs,11624,2013-09-21
.......................\.....\Form1.resx,9804,2004-02-04
.......................\.....\Login.csproj,4646,2004-02-04
.......................\.....\Login.csproj.user,1803,2004-02-04
.......................\.....\obj
.......................\.....\...\Debug
.......................\.....\...\.....\Login.exe,28672,2004-02-04
.......................\.....\...\.....\Login.Form1.resources,6466,2004-02-04
.......................\.....\...\.....\Login.pdb,19968,2004-02-04
.......................\.....\...\.....\temp
.......................\.....\...\.....\TempPE
.......................\MainPro

.......................\.......\AssemblyInfo.cs,1859,2004-02-04
.......................\.......\bin
.......................\.......\...\Debug
.......................\.......\...\.....\MainPro.exe,16384,2004-02-04
.......................\.......\...\.....\MainPro.pdb,13824,2004-02-04
.......................\.......\Form1.cs,1955,2004-02-04
.......................\.......\Form1.resx,6432,2004-02-04
.......................\.......\MainPro.csproj,4650,2004-02-04
.......................\.......\MainPro.csproj.user,1803,2004-02-04
.......................\.......\MainPro.sln,1902,2004-02-04
.......................\.......\obj
.......................\.......\...\Debug
.......................\.......\...\.....\MainPro.exe,20480,2004-02-04
.......................\.......\...\.....\MainPro.Form1.resources,3304,2004-02-04
.......................\.......\...\.....\MainPro.pdb,13824,2004-02-04
.......................\.......\...\.....\temp
.......................\.......\...\.....\TempPE
.......................\mydatabase.mdb,3076096,2004-02-04
.......................\UpLoad

.......................\......\AssemblyInfo.cs,1859,2004-02-04
.......................\......\bin
.......................\......\...\Debug
.......................\......\Form1.cs,9167,2013-09-21
.......................\......\Form1.resx,10367,2004-02-04
.......................\......\obj
.......................\......\...\Debug
.......................\......\...\.....\temp
.......................\......\...\.....\TempPE
.......................\......\...\.....\UpLoad.exe,28672,2004-02-04
.......................\......\...\.....\UpLoad.Form1.resources,6995,2004-02-04
.......................\......\...\.....\UpLoad.pdb,17920,2004-02-04
.......................\......\UpLoad.csproj,4648,2004-02-04
.......................\......\UpLoad.csproj.user,1803,2004-02-04
.......................\在C#中实现软件自动升级.doc,1100288,2013-09-21

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • HUELLAS
    program windows show files open
    2015-08-30 14:44:24下载
    积分:1
  • RFID
    在分析射频识别"Wc+/#基本原理和特点基础上!重点讨论了基于Wc+/ 的Y.WF/b.W-室内定位系统!然后在此基础上提出了一种最近邻居改进算法和基于误差多级处理的数据融合定位方法$仿真结果表明!改进后的最近邻居算法比已有的最近邻居算法的定位精度更好(In the analysis of radio frequency identification "Wc+ /# based on the basic principles and features! focused on Wc+ / s Y.WF/bW- indoor positioning system! then puts forward an improved algorithm and the nearest neighbor multi-level error Positioning method of data fusion processing simulation results show that the $! improved nearest neighbor method nearest neighbor algorithm than the existing positioning accuracy of better)
    2011-01-08 15:24:07下载
    积分:1
  • 多项式
    说明:  用链表实现多项式的加减乘除以及多项式的打印显示(Addition, subtraction, multiplication, division and display of polynomials by linked list)
    2019-05-19 08:17:30下载
    积分:1
  • duoxianchengshizhong
    多线程写的时钟例子,界面用的贴图方法贴上去的(The clock to write multi-threaded example, the interface method with the paste up map)
    2011-12-02 17:05:18下载
    积分:1
  • impj
    impinj的5个demo程序代码,对于初学入门者来说,非常好用哦(5 demos of impinj)
    2016-06-17 10:31:17下载
    积分:1
  • Linux
    网络编程不得不看的两本神书,涵盖了所有Linux接口函数的详细介绍和Linux内核解读,两书在手,编程无忧。(Network programming has to read two books of God, covering all the detailed introduction of Linux interface functions and Linux kernel interpretation, two books in hand, programming worry free.)
    2018-06-25 01:20:47下载
    积分:1
  • CSharp-checkbox-deleted-picture
    C#winfrom在窗体中怎么实现勾选checkbox删除图片(C# winfrom in the form how to achieve tick checkbox delete pictures)
    2013-10-18 09:59:54下载
    积分:1
  • C#
    汉王人脸通FaceID C# SDK开发包示例程序源代码,包含中英文版本。(Hanvon FaceID SDK, CN and EN demo source code included.)
    2020-06-16 20:40:02下载
    积分:1
  • fftw3.3.5
    已编译好lib的32位与64位fftw库,解压后可针对32应用程序或64位应用程序直接使用里面的dll、lib等文件。(The 32-bit and 64-bit fftw libraries of Lib have been compiled. After decompression, DLL and lib files can be directly used for 32 or 64-bit applications.)
    2020-08-13 15:48:29下载
    积分:1
  • TreeEditor
    VC TreeView树控件的应用(拖放、删除、添加、重命名),精选学习源码,很好的参考资料。(Application of VC TreeView tree controls (drag and drop, add, delete, rename), select learning source code, a good reference.)
    2013-12-25 10:29:49下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载