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

updateCSharp-Winform-update

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

  • cal-diameter
    计算网络静态参数的直径c程序(其中的数据是具体的可换成其他的数据)。(computing network diameter of the static parameters c (which is specific data can be replaced by other data).)
    2007-01-02 14:49:19下载
    积分:1
  • chartdir_cpp_win32
    mfc 各种曲线 chartdirect所有的例程,其中徐线动态库为破解版,支持英文,注释清楚(mfc various curves chartdirect all the routines, which Xu line dynamic library crack version, support for English)
    2014-08-18 22:12:05下载
    积分:1
  • C2A4E2_StorageMap5D.h
    Storage Map 5D using macros
    2016-05-12 07:35:37下载
    积分:1
  • 99miao-dao-ji-shi
    说明:  99秒倒计时器fhajkhflkaj glkajgl hkk (99 miao dao ji shi dakljgn fdkfja fa jflka gaklg )
    2011-03-17 18:39:09下载
    积分:1
  • UDP_Lost_test2
    这是一个测试UDP数据包的丢包率的程序,包含程序源码,已经验证成功(This is a test UDP packet loss rate of the program, including program source code, has been successfully verified)
    2013-12-30 11:10:56下载
    积分:1
  • CAN单向发送
    说明:  A、B两块开发板上电,按开发板A上的按键S1—S4,A板将通过CAN总线向B板发送按键数字信息,B板接收到该信息后通过数码管显示出A版相应的按键值。(A, B two development board power, press the development board A button s1-s4, A board will send key digital information through CAN bus to B board, B board received the information through the digital tube display A corresponding key value.)
    2020-06-20 09:40:01下载
    积分:1
  • SunCal
    用C#写的进行太阳高度角,太阳倾角,以及日照时数的计算的程序,通过输入经度和纬度,以及时间,即可得出需要的精确的地理用科学计算数字!(written in C# for the angle of the sun, the sun angle, and sunshine hours in the calculation process, through the importation of longitude and latitude and time can be obtained by the precise geographical scientific calculations!)
    2005-07-07 12:57:39下载
    积分:1
  • superCMS
    vs2005+access 网站建站系统(vs2005+ access Web Station system)
    2010-02-09 09:29:44下载
    积分:1
  • hb12864
    利用MSP430f149控制12864液晶显示,程序测试通过(To utilize MSP430f149 control the 12864 LCD program testing by)
    2013-04-06 19:49:59下载
    积分:1
  • 10序和原理图
    说明:  伺服电机驱动器的原理图和DSP程序,是原厂的一手技术资料,成熟方案,对于研究伺服驱动器的有重大研究价值。(The schematic diagram and DSP program of the servo motor driver are the first-hand technical data of the original factory. The mature scheme is of great research value for the research of the servo motor driver.)
    2020-06-18 21:58:00下载
    积分:1
  • 696516资源总数
  • 106641会员总数
  • 4今日下载