看得破的人,处处都是生机;

看不破的人,处处都是困境;

拿得起的人,处处都是担当;

拿不起的人,处处都是疏忽;

放得下的人,处处都是大道;

放不下的人,处处都是迷茫;

想得开的人,处处都是春天;

想不开的人,处处都是凋枯;

做何人,在自己;

小自我,大天地;

摘要: Rectangle bounds = Screen.GetBounds(Screen.GetBounds(Point.Empty)); using (Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height)) { ... 阅读全文
posted @ 2017-05-24 22:51 心电心 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: const short WM_CAP = 1024; const int WM_CAP_DRIVER_CONNECT = WM_CAP + 10; const int WM_CAP_DRIVER_DISCONNECT = WM_CAP + 11; const int WM_CAP_EDIT_COPY = WM_CAP + 30; ... 阅读全文
posted @ 2017-04-24 02:52 心电心 阅读(2829) 评论(0) 推荐(0) 编辑
摘要: protected override CreateParams CreateParams { get { const int WS_EX_APPWINDOW = 0x40000; const int WS_EX_TOOLWINDOW = 0x80; ... 阅读全文
posted @ 2017-04-18 10:40 心电心 阅读(1197) 评论(1) 推荐(0) 编辑
摘要: 1. 添加数据 2.获取选择项的事件 3.移除某行 4.遍历并查找某项是否存在, 若存在高亮选择 阅读全文
posted @ 2017-04-17 11:22 心电心 阅读(3732) 评论(0) 推荐(0) 编辑
摘要: 1. 在dos窗口中利用ping命令检测网络是否畅通。 2.设置文件和打印机共享服务。 3.确定访问端电脑跟共享端电脑在局域网内的同一工作组里并且查明共享主机名称 打开计算机-> 系统属性-> 查看共享计算机的名称、跟工作组 4.设置来宾“Guest”网络访问权限 运行命令“gpedit.msc”按 阅读全文
posted @ 2017-04-09 23:02 心电心 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: /// /// 转换Image为Icon /// /// 要转换为图标的Image对象 /// 当image为null时是否返回null。false则抛空引用异常 /// public static Icon ConvertToIcon(Image image, bool nullTonull = false) { if (image == null) { ... 阅读全文
posted @ 2017-04-08 16:07 心电心 阅读(2152) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.Threading; using System.Collections; namespace moniopter { public stat... 阅读全文
posted @ 2017-04-05 11:24 心电心 阅读(257) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Runtime.InteropServices; using System.Reflection; using System.Threading; using System.Windows.Forms; using System.Diagnostics; using System.Collections.Generic; namespace ... 阅读全文
posted @ 2017-04-03 11:26 心电心 阅读(384) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <title>not title</title> <script language="javascript" type="text/javascript" > function frameload(){ var str=location.href; str=str.sub 阅读全文
posted @ 2017-03-20 23:00 心电心 阅读(138) 评论(0) 推荐(0) 编辑
摘要: //获得屏幕相关的辅助类public class ScreenUtils{ private ScreenUtils() { /* cannot be instantiated */ throw new UnsupportedOperationException("cannot be instanti 阅读全文
posted @ 2017-03-18 22:36 心电心 阅读(119) 评论(0) 推荐(0) 编辑