控件開發基礎

博客园 首页 新随笔 联系 订阅 管理

05 2017 档案

摘要:Func<int> longTimeAction = new Func<int>(LongTimeMethod); //这里使用了一个lambda表达式,省了不少力啊 IAsyncResult asynResult = longTimeAction.BeginInvoke((result) => { 阅读全文
posted @ 2017-05-16 23:55 ada 阅读(172) 评论(0) 推荐(0)

摘要:在使用PowerDesigner做为MySQL数据库建模的时候,总是有这样的问题,例如我需要一个字段 createTime 类型是 Timestamp,要求这个字段默认值为系统当前时间,于是我给这个字段指定了一个默认值为 CURRENT_TIMESTAMP。 但是当生成建库脚本的时候,PowerDe 阅读全文
posted @ 2017-05-16 00:03 ada 阅读(273) 评论(0) 推荐(0)

摘要:iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --setiptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m re 阅读全文
posted @ 2017-05-02 19:34 ada 阅读(437) 评论(0) 推荐(0)