上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 69 下一页

2019年1月25日

摘要: 实现效果: 知识运用: KeyEventArgs类的KeyData属性 public Keys KeyData {get;} //获取KeyDown或KeyUp事件的键数据 控件的Focus方法 public bool Focus() // 为控件设置输入焦点 实现代码: 阅读全文

posted @ 2019-01-25 21:34 努力成长静待花开 阅读(311) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: API函数SendMessage向窗口发送消息 private static extern bool SendMessage(IntPtr hWnd, int wMsg,int wParam,int IParam) //hWnd: 窗口句柄 wMsg: 将要发送的消息 wPa 阅读全文

posted @ 2019-01-25 10:26 努力成长静待花开 阅读(252) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: Form类的ShowInTaskbar属性 //控制程序是否显示在任务栏中 public bool ShowInTaskbar {get; set;} 实现代码: 阅读全文

posted @ 2019-01-25 01:55 努力成长静待花开 阅读(229) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: TcpListener TcpClient 和 NetworkStream类 及 Timer组件 1> TcpListener类 //用来从Tcp网络客户端侦听连接 2> TcpClient类 //为Tcp网络服务提供客户端连接 public TcpClient(string 阅读全文

posted @ 2019-01-25 01:18 努力成长静待花开 阅读(274) 评论(0) 推荐(0) 编辑

2019年1月24日

摘要: 实现效果: 知识运用: Process类的Start方法 实现代码: 阅读全文

posted @ 2019-01-24 23:15 努力成长静待花开 阅读(181) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: ComputerInfo类的相关属性 (using Microsoft.VisualBasic.Devices;) 实现代码: 阅读全文

posted @ 2019-01-24 20:41 努力成长静待花开 阅读(348) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: Clipboard类的CantainsText和GetText方法 public static bool ContainsText() //指示剪切板中是否存在Text或UnicodeText格式的数据 public static string GetText (); //从 阅读全文

posted @ 2019-01-24 18:35 努力成长静待花开 阅读(162) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: SystemInformation类的BootMode属性 public static BootMode BootMode { get; } //获取一个BootMode值以指示系统的启动模式 实现代码: 阅读全文

posted @ 2019-01-24 18:10 努力成长静待花开 阅读(280) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: ServiceController类的ServiceName Status属性 public string ServiceName {get; set;} //对此ServiceController实例引用的服务进行标识的名称 public ServiceControlerS 阅读全文

posted @ 2019-01-24 17:32 努力成长静待花开 阅读(442) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: RegistryKey类的GetValueNames public string[] GetValueName () //检索包含与此项关联的所有值名称的字符串数组 GetValue方法 public Object GetValue (string name) //检索与指定 阅读全文

posted @ 2019-01-24 15:31 努力成长静待花开 阅读(191) 评论(0) 推荐(0) 编辑

上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 69 下一页