摘要:
``` private byte[] FileContent(string fileName) { using (FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.R... 阅读全文
posted @ 2015-06-30 16:56
wardensky
阅读(7754)
评论(0)
推荐(2)
摘要:
在做winform程序的时候,有时候需要客户只能起一个进程,不能起多个进程,用如下代码可以实现。``` internal static class Program { private static Mutex onlyOne; /// /// ... 阅读全文
posted @ 2015-06-30 16:50
wardensky
阅读(570)
评论(0)
推荐(0)

浙公网安备 33010602011771号