2010年3月6日

摘要: 1. System.Reflection.Emit.Opcodes //在MSDN中的类2. nop 大括号3. stloc.1 赋值变量数组下标为14. ret 结束5. call 调用函数6. clt 小于就赋值7. cgt 大于就赋值8. ceq 等于就赋值9. ldstr 字符串10.ldc 数字11.br.s 返回12.bytearray 含汉字的字符串13.add 加14.sub 减1... 阅读全文

posted @ 2010-03-06 18:01 七级糊涂 阅读(211) 评论(0) 推荐(0)

摘要: 1. @ 不显示命令2. > 输出到文件,覆盖以前的3. & 连接几条命令4. >> 输出到文件,不覆盖以前的5. :: 注释,相当于rem6. assoc 显示或修改文件扩展名关联。7. at 计划在计算机上运行的命令和程序。8. attrib 显示或更改文件属性。9. break 设置或清除扩展式 CTRL+C 检查。10. cacls 显示或修改文件的访问控制列表(... 阅读全文

posted @ 2010-03-06 17:55 七级糊涂 阅读(141) 评论(0) 推荐(0)


2010年3月4日

摘要: 1. using System.Collections; 有ArrayList;Hashtable;Stack;Queue;DictionaryEntry;等集合 2. using System.Reflection; 获取Assembly 的属性值 3. using System.Data; 访问和操作数据库等类 4. using System.Drawing; 图像,画笔,和gdi 5. u... 阅读全文

posted @ 2010-03-04 14:19 七级糊涂 阅读(709) 评论(1) 推荐(1)

摘要: 我们有许多时候,就想实现这样的功能,就是一个程序只能运行一个实例,下面是c#实现的程序单开using System.Threading;namespace WindowsApplication140{ static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static v... 阅读全文

posted @ 2010-03-04 14:15 七级糊涂 阅读(233) 评论(0) 推荐(0)

摘要: RegistryKey hklm = Registry.LocalMachine; //打开"SYSTEM"子键 RegistryKey sofeware = hklm.OpenSubKey("SYSTEM"); //打开"001"子键 RegistryKey no1 = sofeware.OpenSubKey("ControlSet001"); //打开"002"子键 RegistryKey n... 阅读全文

posted @ 2010-03-04 13:42 七级糊涂 阅读(202) 评论(0) 推荐(0)

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace WindowsApplication31{ public par... 阅读全文

posted @ 2010-03-04 13:39 七级糊涂 阅读(144) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3