本文介绍了自动启动单击一次应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我希望我的点击一旦应用程序自动启动而不点击启动链接按钮。 请帮助! 谢谢, Chirag。解决方案 你没有描述你关于启动点击一次申请的标准.. 自动这个词不能接受...... 这里任何方式都是一些链接。 对您有用.. :) http://stackoverflow.com/questions/8744927/launching-a-clickonce-application-from-another-clickonce-application [ ^ ] http://stackoverflow.com/questions/1140473/auto-start-click-once-application-in-a-silent-mode [ ^ ] http://stackoverflow.com/questions/401816/how-can-i-make-a-click-once-deployed-app-run-at-startup [ ^ ] 您是否在寻找基于计时器的启动? 这里是代码 var timer = new 定时器(TimerTick, null ,TimeSpan.Zero, ne w TimeSpan( 0 , 0 , 0 , 1 )); int lastMinute = 1 ; void TimerTick( object state) { var minute = DateTime.Now.Minutes; if (分钟!= lastMinute&&分钟% 5 == 0 ) { lastMinute =分钟; // 做东西 } } 调用Process.Start函数并在其中提供应用程序的URL Hi,I want my click once application to get launched automatically without clicking on launch link button.Please help!Thanks,Chirag. 解决方案 you didn't describe your criteria about launch of click once application..automatically word didn't acceptable in this way...any way here are some link .may be useful to you..:)http://stackoverflow.com/questions/8744927/launching-a-clickonce-application-from-another-clickonce-application[^]http://stackoverflow.com/questions/1140473/auto-start-click-once-application-in-a-silent-mode[^]http://stackoverflow.com/questions/401816/how-can-i-make-a-click-once-deployed-app-run-at-startup[^]Are you looking for timer based launch ?here is the codevar timer = new Timer(TimerTick, null, TimeSpan.Zero, new TimeSpan(0, 0, 0, 1));int lastMinute = 1;void TimerTick(object state){ var minute = DateTime.Now.Minutes; if (minute != lastMinute && minute % 5 == 0) { lastMinute = minute; //do stuff }}Call Process.Start function and give URL of your application in it 这篇关于自动启动单击一次应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-29 20:18