runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 68 下一页

2014年3月3日

摘要: 换生成名:- 阅读全文
posted @ 2014-03-03 15:44 runliuv 阅读(658) 评论(0) 推荐(0) 编辑

2014年1月2日

摘要: from:http://stackoverflow.com/questions/1381821/how-to-toggle-switch-windows-taskbar-from-show-to-auto-hide-and-vice-versa[DllImport("user32.dll", CharSet = CharSet.Auto)] public static extern IntPtr FindWindow(string strClassName, string strWindowName);[DllImport("shell32.dll")] 阅读全文
posted @ 2014-01-02 13:51 runliuv 阅读(3859) 评论(0) 推荐(0) 编辑

摘要: private void FrmMyShow_Load(object sender, EventArgs e) { Rectangle r = Screen.GetWorkingArea(this); //this.Location = new Point(r.Right - this.Width, r.Bottom - this.Height); //右下 //this.Location = new Point(0, r.Bottom - this.Height); //左下 ... 阅读全文
posted @ 2014-01-02 10:17 runliuv 阅读(648) 评论(0) 推荐(0) 编辑

2013年12月27日

摘要: from:http://hi.baidu.com/guicomeon/item/c0957c373972fbc52f8ec26e先说明一点,要注意区分当前所使用的系统,中文系统和英文系统是有区别的。@echo offcall :getFileName7z a D:\Projects\%varname% D:\Projects\TestProject\*goto :end:getFileName set vardate=%date:~6,4%-%date:~0,2%-%date:~3,2% set vartime=%time:~0,2%-%time:~3,2% set varname=[%... 阅读全文
posted @ 2013-12-27 16:23 runliuv 阅读(1034) 评论(0) 推荐(0) 编辑

摘要: 1.正则,以“this.Name”开头,以“;”结尾 string regex="this\\.Name(.*?);"; string regex="this\\.Name(.*?);"; 以size开头,以数字结尾。 string input="size0"; string regex = "si 阅读全文
posted @ 2013-12-27 15:13 runliuv 阅读(297) 评论(0) 推荐(0) 编辑

2013年12月24日

摘要: 无论是修改注册表方式(System\ControlSet001\Control\Session Manager\Environment"),还是用Environment.SetEnvironmentVariable() 方法,其实最后只差一步。通知。否则,只能重启操作系统生效。网上一般这样调用的SendMessageTimeout( new IntPtr(HWND_BROADCAST), WM_SETTINGCHANGE, IntPtr.Zero, ... 阅读全文
posted @ 2013-12-24 17:25 runliuv 阅读(4932) 评论(0) 推荐(0) 编辑

摘要: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem 阅读全文
posted @ 2013-12-24 16:55 runliuv 阅读(683) 评论(0) 推荐(0) 编辑

2013年12月22日

摘要: 控件 AllowDrop属性改为true,并实现它的DragEnter、DragDrop这两个事件。private void lbFilePath_DragEnter(object sender, DragEventArgs e) { if (e.Data.GetDataPresent(DataFormats.FileDrop)) { e.Effect = DragDropEffects.All; } else { ... 阅读全文
posted @ 2013-12-22 13:53 runliuv 阅读(1879) 评论(0) 推荐(0) 编辑

2013年12月21日

摘要: string mutexName = System.Environment.UserName + "nono"; bool runone; System.Threading.Mutex run = new System.Threading.Mutex(true, mutexName, out runone); if (runone) { run.ReleaseMutex(); Application.EnableVisualStyles(); ... 阅读全文
posted @ 2013-12-21 18:41 runliuv 阅读(210) 评论(0) 推荐(0) 编辑

摘要: echo "放在JDK目录下,win xp需要下载SETX.EXE"setx /m Java_Home "%cd%"setx /m ClassPath ".;%%JAVA_HOME%%\lib\tools.jar;%%JAVA_HOME%%\lib\dt.jar;%%JAVA_HOME%%\jre\lib\rt.jar"setx /m Path "%Path%;%%JAVA_HOME%%\bin;%%JAVA_HOME%%\jre\bin"echo "完成"pause第一行,%cd%表示当前目录 阅读全文
posted @ 2013-12-21 16:57 runliuv 阅读(381) 评论(0) 推荐(0) 编辑

上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 68 下一页