会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Chuck Lu
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
347
348
349
350
351
352
353
354
355
···
399
下一页
2015年10月16日
default parameter value for ‘color’ must be a compile-time constant
摘要: 定义了一个函数,函数有一个参数是Color类型的可选参数,想要设置其默认值为Color.Blackhttp://stackoverflow.com/questions/2804395/c-sharp-4-0-can-i-use-a-color-as-an-optional-parameter-wit...
阅读全文
posted @ 2015-10-16 10:31 ChuckLu
阅读(798)
评论(0)
推荐(0)
2015年10月14日
C#中this在构造函数时的使用
摘要: 今天编程的时候,想要用this来处理构造函数,想了半天没有想起来后来找了自己以前记录的http://www.cnblogs.com/chucklu/p/4842766.htmlpublic Cube(int s) { SetSide(s); } public Cube() : ...
阅读全文
posted @ 2015-10-14 09:14 ChuckLu
阅读(390)
评论(0)
推荐(0)
Monitor vs WaitHandle
摘要: http://stackoverflow.com/questions/1355398/monitor-vs-waithandle-based-thread-sync A problem with Monitor.Pulse/Wait is that the signal may get lost.
阅读全文
posted @ 2015-10-14 08:49 ChuckLu
阅读(401)
评论(0)
推荐(0)
2015年10月13日
开源项目
摘要: 截图工具https://github.com/ShareX/ShareXhttps://github.com/aspnet/EntityFrameworkhttps://github.com/mono/monohttps://github.com/dotnet/corefxhttps://githu...
阅读全文
posted @ 2015-10-13 08:52 ChuckLu
阅读(244)
评论(0)
推荐(0)
2015年9月30日
C#中的Marshal
摘要: Const.MaxLengthOfBufferd的长度固定为0x2000 也就是8192private bool SendMessage(int messageType, string ip, string port, int length, byte[] messageBytes) ...
阅读全文
posted @ 2015-09-30 10:55 ChuckLu
阅读(11303)
评论(0)
推荐(0)
2015年9月29日
给枚举加上Description,必要时,可以直接获取枚举类型代表的中文
摘要: http://www.cnblogs.com/lyl6796910/p/3958768.html
阅读全文
posted @ 2015-09-29 18:40 ChuckLu
阅读(280)
评论(0)
推荐(0)
word使用技巧
摘要: word文档左侧显示目录 word2007 选择word的视图,然后选择文档结构图 View-->Navigation pane word中插入当前文档名称或者文档编辑时间 https://stackoverflow.com/questions/3921275/add-a-filename-fiel
阅读全文
posted @ 2015-09-29 18:16 ChuckLu
阅读(429)
评论(0)
推荐(0)
C#调用C++的dll
摘要: 在项目里面新建一个文件夹Dll然后把这个文件夹复制到输出路径在项目的生成事件中,添加生成后的事件,将文件夹中的dll,复制到上一层目录
阅读全文
posted @ 2015-09-29 15:40 ChuckLu
阅读(242)
评论(0)
推荐(0)
2015年9月28日
让Outlook一直保持开启
摘要: 1.将OutLook.exe注册为服务,让其一直保持开启状态 类似于TaobaoProtect.exe是由TBSecSvc服务启动的 http://stackoverflow.com/questions/3582108/create-windows-service-from-executable#
阅读全文
posted @ 2015-09-28 15:10 ChuckLu
阅读(1615)
评论(0)
推荐(0)
2015年9月27日
积分
摘要: http://www.codewars.com/kata/55d32bff0cc60b2e7f000173/solutions/csharp1年前自学考试,高等数学(工专),考了80多分。满分100的卷子.[2014年04月的时候]尼玛,坑爹了。今天遇到这个题目,刚开始没看仔细,以为是计算整数int...
阅读全文
posted @ 2015-09-27 23:20 ChuckLu
阅读(275)
评论(0)
推荐(0)
上一页
1
···
347
348
349
350
351
352
353
354
355
···
399
下一页
公告