04 2013 档案

TextBox 智能感应
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using System.Threading.Tasks; 9 using System.Windows.Forms;10 using System.Diagnostics;11 using System.Windows;12 13 namespace . 阅读全文

posted @ 2013-04-30 20:29 laymond 阅读(252) 评论(0) 推荐(0)

Process类:启动和停止本地系统进程
摘要:Process.Start 方法 (String, String)通过指定应用程序的名称和一组命令行参数来启动一个进程资源。(并将该资源与新的Process组件相关联)如果没有启动资源,则返回nullProcess.Start("d:\\0.jpg");Process.StartInfo 属性获取或设置要传递给Process的Start方法的属性。ProcessStartInfo.Arguments 属性获取或设置启动应用程序时要使用的一组命令行参数。ProcessStartInfo.FileName 属性获取或设置要启动的应用程序或文档。ProcessStartInfo. 阅读全文

posted @ 2013-04-29 11:31 laymond 阅读(524) 评论(0) 推荐(0)

自动关机命令
摘要:关闭计算机 shutdown –s 延迟3秒关闭计算机 shutdown –s –t 3取消关闭计算机 shutdown –a ShutDown命令详解 用法: shutdown [-i | -l | -s | -r | -a] [-f] [-m \computername] [-t xx] [-c "comment"] [-d up:xx:yy]没有参数 显示此消息(与 ? 相同)-i 显示 GUI 界面,必须是第一个选项-l 注销(不能与选项 -m 一起使用)-s... 阅读全文

posted @ 2013-04-29 10:28 laymond 阅读(238) 评论(0) 推荐(0)

Invalidate 重绘控件
摘要:涉及: Onpaint DataFormats数据格式 e.Data.GetData DragDropEffects:拖放操作的效果 e.Data.GetDataPresent(比较?) this.PointToClient e.Graphics.DrawImage 阅读全文

posted @ 2013-04-27 14:31 laymond 阅读(246) 评论(0) 推荐(0)

导航