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

updateCSharp-Winform-update

于 2014-04-09 发布 文件大小:809KB
0 186
下载积分: 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 个回复

  • Visual C++视频音频开发实用工程案例精选
    这是《Visual C++视频/音频开发实用工程案例精选》一书的源代码。精选了大量的具有商用价值的工程案例,包括视频捕捉系统、视频会议系统和远程视频监控系统的开发技术;网络、多媒体技术的底层实现;MP3深入编程技术等。最后一章为基于IBM ViaVoice的语音识别系统在上位机和下位机之间的通信的架构及实现。(This is the "Visual C video/audio develop practical projects selected cases," a book source. Featured in a great deal of value to the business case works, including video capture systems, video conferencing systems and remote video surveillance systems development; Network, multi-media technology to achieve the bottom; MP3-depth programming skills. The final chapter of the IBM ViaVoice speech recognition system in the PC and the next crew of communication between the organization and realization.)
    2020-06-26 09:20:02下载
    积分:1
  • soc5
    soc cycloneV硬件压缩数据设计和参考源代码(soc hardware compression numerical software development and design reference)
    2014-02-11 00:00:51下载
    积分:1
  • gflags-master
    说明:  google gflags 源码文件,需要自行编译,测试可行。(google gflags llslsdjflskfpwjeonvk)
    2020-06-16 13:00:01下载
    积分:1
  • SWA2000
    国家环保总局污染源在线通讯协议的简化版,主要用于环保污染监测设备的数据上传(Sources of the State Environmental Protection Administration of the simplified version of online communication protocols, mainly for environmental pollution monitoring equipment, data upload)
    2009-04-12 15:38:36下载
    积分:1
  • font
    根据输入汉字生成点阵字体!用户可以自定义字体的大小!(Generated from the input character bitmap font! Users can customize the font size!)
    2010-12-06 15:09:37下载
    积分:1
  • RN7302 C语言计量参考程序v1.1
    国产电能计量芯片,可用于智能电表。是SPI接口,已经在使用(Domestic electric energy metering chip)
    2021-01-07 11:48:53下载
    积分:1
  • icmp_jiance
    利用ICMP实现网络状态监测系统,描述了系统架构,实现方法、优缺点等。(Use ICMP network status monitoring system, describes the system architecture, implementation methods, advantages and disadvantages.)
    2014-06-29 22:14:28下载
    积分:1
  • 3121211
    观察甚至直接,, 开发工具VB 提供者123 ·一个气象报文解报处理的 源程序(Even directly, the development tool VB provider 123 a source program for weather message interpretation)
    2019-04-07 17:02:16下载
    积分:1
  • backjump
    back jumping algorithm
    2009-05-05 22:41:07下载
    积分:1
  • QLdsPIC3
    QLdsPIC3开发板的用户手册,里面附带详细的电路原理图和模块说明(QLdsPIC3 development board user manual, which included the circuit principle diagram and modules in detail)
    2014-06-25 14:48:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载