1.右键→打开方式→选择默认程序→选择winform程序 2.修改Program.cs 判断注册的事件是否存在,如果不存在则运行实例,并把参数传入MainForm里,如果存在则把参数写到txt文件中,然后发事件,退出 using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; using System.Threading; using System.Windows.Forms; n
android打开软件的时候会出现红框,剑锋之前解了这个问题.fork过来,方便以后查看. 参考链接: http://www.cnblogs.com/zengjfgit/p/5377744.html 一.通过Settings修改 1. Open Settings> Developer Options and scroll down a little. 2. Here you would find the Strict Mode option. 3. Just uncheck/unmark it.