随笔分类 -  C#

上一页 1 2 3 4 5 6 7 8 ··· 20 下一页

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

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

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

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

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

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

摘要:实现效果: 知识运用: InputLanguage类的CurrentInputLanguage public static InputLanguage CurrentInputLanguage { get; set;}; IstalledInputLanguage属性 public static I 阅读全文

posted @ 2019-01-24 13:56 努力成长静待花开 阅读(299) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: RegistryKey类的CreateSubKey和SetValue方法 实现代码: 阅读全文

posted @ 2019-01-24 12:30 努力成长静待花开 阅读(229) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: Process类的GetProcesses方法 //为本地计算机上的每一个进程资源创建一个新的Process组建对象 public static Process[] GetProcess() MainWindowTitle属性 //用来获取进程的主窗口标题 public st 阅读全文

posted @ 2019-01-23 23:53 努力成长静待花开 阅读(267) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: API函数FindWindowEx //在窗口列表中寻找与指定条件相符的第一个子窗口 实现代码: 阅读全文

posted @ 2019-01-23 21:39 努力成长静待花开 阅读(685) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: API函数FindWindow和ShowWindow 实现代码: 阅读全文

posted @ 2019-01-23 20:25 努力成长静待花开 阅读(436) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: API函数SetComputerName 实现代码: 阅读全文

posted @ 2019-01-23 16:39 努力成长静待花开 阅读(326) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: API函数SetSystemTime 实现代码: 阅读全文

posted @ 2019-01-23 16:07 努力成长静待花开 阅读(209) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: API函数SystemParametersInfo 实现代码: 阅读全文

posted @ 2019-01-23 14:54 努力成长静待花开 阅读(1391) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: RegistryKey类的OpenSubKey方法 //用来检索指定的子项 public RegistryKey OpenSubKey (string name,bool writable) //writable:如果需要项的写访问权限 设为true 实现代码: 阅读全文

posted @ 2019-01-23 10:14 努力成长静待花开 阅读(755) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: Reistry类的SetValue 实现代码: 阅读全文

posted @ 2019-01-23 09:38 努力成长静待花开 阅读(141) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: Registry类的SetValue方法 public static void SetValue (string keyName, string valueName, Object value) 实现代码: 阅读全文

posted @ 2019-01-22 22:23 努力成长静待花开 阅读(224) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: API函数SHFormatDrive //用于格式化磁盘 实现代码: 阅读全文

posted @ 2019-01-22 20:56 努力成长静待花开 阅读(412) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: Dos命令: "/c convert 盘符 /fs:ntfs" 实现代码: 阅读全文

posted @ 2019-01-22 20:07 努力成长静待花开 阅读(355) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: Graphics类中的FillPie方法 //用来填充由一对坐标 一个宽度 一个高度 两天射线指定的椭圆所定义的扇形的内部 public void FilePie (Brush brush ,float x, float y, float width,float height 阅读全文

posted @ 2019-01-22 18:41 努力成长静待花开 阅读(319) 评论(0) 推荐(0)

摘要:实现效果: 知识运用: DriveInfo类的IsReady属性 //获取一个指示驱动器是否已经准备好的值 public static bool IsReady (get;) 实现代码: 阅读全文

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

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

posted @ 2019-01-22 15:04 努力成长静待花开 阅读(250) 评论(0) 推荐(0)

摘要:实现代码: 知识运用: ConnectionOptions类 //指示生成WMI连接所需要的所有设置 其Username Passworr属性 ManagementScope类 //表示管理操作的范围 (命名空间) public ManagementScope (string path , Conn 阅读全文

posted @ 2019-01-22 14:17 努力成长静待花开 阅读(1067) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 20 下一页