摘要:
Rectangle bounds = Screen.GetBounds(Screen.GetBounds(Point.Empty)); using (Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height)) { ... 阅读全文
摘要:
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; ... 阅读全文
摘要:
protected override CreateParams CreateParams { get { const int WS_EX_APPWINDOW = 0x40000; const int WS_EX_TOOLWINDOW = 0x80; ... 阅读全文
摘要:
1. 添加数据 2.获取选择项的事件 3.移除某行 4.遍历并查找某项是否存在, 若存在高亮选择 阅读全文
摘要:
1. 在dos窗口中利用ping命令检测网络是否畅通。 2.设置文件和打印机共享服务。 3.确定访问端电脑跟共享端电脑在局域网内的同一工作组里并且查明共享主机名称 打开计算机-> 系统属性-> 查看共享计算机的名称、跟工作组 4.设置来宾“Guest”网络访问权限 运行命令“gpedit.msc”按 阅读全文
摘要:
/// /// 转换Image为Icon /// /// 要转换为图标的Image对象 /// 当image为null时是否返回null。false则抛空引用异常 /// public static Icon ConvertToIcon(Image image, bool nullTonull = false) { if (image == null) { ... 阅读全文
摘要:
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... 阅读全文
摘要:
using System; using System.Runtime.InteropServices; using System.Reflection; using System.Threading; using System.Windows.Forms; using System.Diagnostics; using System.Collections.Generic; namespace ... 阅读全文
摘要:
<html> <head> <title>not title</title> <script language="javascript" type="text/javascript" > function frameload(){ var str=location.href; str=str.sub 阅读全文
摘要:
//获得屏幕相关的辅助类public class ScreenUtils{ private ScreenUtils() { /* cannot be instantiated */ throw new UnsupportedOperationException("cannot be instanti 阅读全文