posted @ 2015-01-07 11:42
01 2015 档案
摘要:要点有两个:1. 要使用全路径,不要使用映射的网络驱动器。2. 路径之间用斜杠/,不要用反斜杠\。Alias /weili.mobile "//vmware-host/Shared Folders/X/dev/weili.mobile" Order allow,deny Allow fr...
阅读全文
摘要:private void companyToolStripMenuItem1_Click(object sender, EventArgs e){ Master.CompanyMasterForm cmpnymasterform = null; bool isFormOpen = IsA...
阅读全文
posted @ 2015-01-06 08:37
摘要:private void Form1_Load(object sender, EventArgs e){ if (!IsWin7()) { Application.Exit(); }}bool IsWin7(){ return Environment.OSVer...
阅读全文
posted @ 2015-01-06 08:15
摘要:private void SetKey(bool enableTaskManager){ using ( var mKey = Registry.CurrentUser.CreateSubKey("Software\\Microsoft\\Windows\\Curre...
阅读全文
posted @ 2015-01-05 16:50
摘要:方法一:if (System.Diagnostics.Process.GetCurrentProcess().ProcessName == "devenv")//...Then Continue方法二:if(System.ComponentModel.LicenseManager.UsageMode...
阅读全文
posted @ 2015-01-05 16:32
摘要:1. Microsoft Enterprise Library 5.0 系列教程(一) Caching Application Block (初级)2. Microsoft Enterprise Library 5.0 系列教程(一) Caching Application Block (高级)3....
阅读全文
posted @ 2015-01-03 09:19