摘要: 1.查看系统版本 cat /proc/version cat /etc/issue2.查看IPifconfig3.重启 shutdown -r now4.更多 http://wenku.baidu.com/view/b3472f96daef5ef7ba0d3cbc.html5.查看libc版本apt... 阅读全文
posted @ 2014-07-09 13:00 b̶i̶n̶g̶.̶ 阅读(184) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Threading; 3 using System.Windows; 4 using System.Windows.Controls; 5 using WangCai.Common; 6 7 namespace Wang... 阅读全文
posted @ 2014-07-07 18:59 b̶i̶n̶g̶.̶ 阅读(1157) 评论(0) 推荐(0)
摘要: private const int INTERNET_CONNECTION_MODEM = 1; private const int INTERNET_CONNECTION_LAN = 2; private const int INTERNET_CONNE... 阅读全文
posted @ 2014-07-07 18:57 b̶i̶n̶g̶.̶ 阅读(1491) 评论(0) 推荐(0)
摘要: 解决方案:手动添加Handler,因为e.Handled这个属性是用在路由事件中的,当某个控件得到一个RoutedEvent,就会检测Handled是否为true,为true则忽略该事件。//手动注册 this.AddHandler(MouseLeftButtonUpEvent, new Mouse... 阅读全文
posted @ 2014-07-07 18:53 b̶i̶n̶g̶.̶ 阅读(411) 评论(0) 推荐(0)
摘要: 1 #region 打开键盘的键 2 const uint KEYEVENTF_EXTENDEDKEY = 0x1; 3 const uint KEYEVENTF_KEYUP = 0x2; 4 5 [DllImport("user3... 阅读全文
posted @ 2014-07-07 11:21 b̶i̶n̶g̶.̶ 阅读(444) 评论(0) 推荐(0)
摘要: [DllImport("user32.dll")] static extern bool GetLastInputInfo(ref LASTINPUTINFO plii); public static long GetIdleTick() {... 阅读全文
posted @ 2014-07-03 11:29 b̶i̶n̶g̶.̶ 阅读(387) 评论(0) 推荐(0)
摘要: .NET技术交流群 199281001 .欢迎加入。 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Windows; ... 阅读全文
posted @ 2014-07-03 10:52 b̶i̶n̶g̶.̶ 阅读(1106) 评论(1) 推荐(0)
摘要: 1、删除所有表use 数据库declare @tname varchar(8000)set @tname=''select @tname=@tname + Name + ',' from sysobjects where xtype='U'select @tname='drop table ' + ... 阅读全文
posted @ 2014-07-01 14:53 b̶i̶n̶g̶.̶ 阅读(187) 评论(0) 推荐(0)
摘要: DECLARE c1 cursor for select 'alter table ['+ object_name(parent_obj) + '] drop constraint ['+name+']; ' from sysobjects where xtype = 'F'ope... 阅读全文
posted @ 2014-07-01 14:51 b̶i̶n̶g̶.̶ 阅读(496) 评论(0) 推荐(0)
摘要: http://www.doc88.com/p-125261828912.html 阅读全文
posted @ 2014-07-01 14:48 b̶i̶n̶g̶.̶ 阅读(151) 评论(0) 推荐(0)