随笔分类 - c#开发
摘要:正试图在 os 加载程序锁内执行托管代码。不要尝试在 DllMain 或映像初始化函数内运行托管代码,这样做会导致应用程序挂起C# 正试图在 os 加载程序锁内执行托管代码。不要尝试在 DllMain 或映像初始化函数内运行托管代码,这样做会导致应用程序挂起。办法一把vs2005菜单的 调试->异常->Managed Debuggin Assistants->LoaderLock...
阅读全文
摘要:C#中使用GDI+实现饼状图和柱状图跟数据库联接显示数据的方法http://developer.51cto.com/art/200908/148464.htmhttp://www.cnblogs.com/todd/articles/1241308.htmlhttp://hi.baidu.com/417533880/blog/item/c740b00824f5183ae8248823.htmlhtt...
阅读全文
摘要:根据文件夹大小,删除文件夹 private void button1_Click(object sender, EventArgs e) { DirectoryInfo Dir = new DirectoryInfo("c:\\Program Files"); int i = 0; try { foreach (DirectoryInfo d in Dir.GetDirectories()) /...
阅读全文
摘要:http://www.cnblogs.com/idior/articles/864806.htmlhttp://www.cnblogs.com/xd125/archive/2007/12/12/992406.html线程-资源亲缘性 有名数据槽http://hi.baidu.com/wangjunwangjuna/blog/item/a8d47d8d8d70b81bb31bba8c.html
阅读全文

浙公网安备 33010602011771号