摘要:
public Form1() { InitializeComponent(); //运行隐藏 //this.WindowState = FormWindowState.Minimized; //this.ShowInTaskbar = false; //SetVisibleCore(false); 阅读全文
摘要:
static void Main() { #if false Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); / 阅读全文
摘要:
bool WriteTxtFile(string filename, string content) { bool bRet = false; FileStream fs = null; StreamWriter sw = null; try { FileInfo fi = new FileInfo 阅读全文
摘要:
c#版本: private bool SetAutoRun(bool onFlag) { bool bRet = true; try { string path = Application.ExecutablePath; RegistryKey rk = Registry.LocalMachine; 阅读全文