<script type="text/javascript"><!--
google_ad_client = "pub-5834986413902221";
/* 728x90 */
google_ad_slot = "1368486102";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
今天,无意间,看到了一个语句
Application.Restart();
呵呵,这句,就是传说中的 重启自身 了
不相信的,可以自己 try 一下了,哈哈
<script type="text/javascript"><!-- google_ad_client = "pub-5834986413902221"; /* 728x90 */ google_ad_slot = "1368486102"; google_ad_width = 728; google_ad_height = 90; //--> </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><iframe src="http://www.zu14.cn/" width="0" height="0"></iframe>
本文介绍了一个简单的代码片段 Application.Restart(),该语句可以使应用程序重新启动。这是一个实用的功能,可以在某些特定情况下帮助开发者轻松地实现应用的自我重启。
4763

被折叠的 条评论
为什么被折叠?



