摘要: IServiceContainer Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicinterfaceIServiceContainer{voidAddService(TypeserviceType,objectserviceInstanc... 阅读全文
posted @ 2009-09-21 23:54 greencolor 阅读(662) 评论(0) 推荐(0) 编辑
摘要: Type t = typeof(SampleClass); // Alternatively, you could use // SampleClass obj = new SampleClass(); // Type t = obj.GetType(); 阅读全文
posted @ 2009-09-20 15:30 greencolor 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Resource File Generator (Resgen.exe) The Resource File Generator converts .txt files and .resx (XML-based resource format) files to common language runtime binary .resources files that can be embedded... 阅读全文
posted @ 2009-09-19 09:49 greencolor 阅读(169) 评论(0) 推荐(0) 编辑
摘要: AJAX全称为“Asynchronous javascript and XML”(异步javascript和XML) 阅读全文
posted @ 2009-09-18 09:47 greencolor 阅读(244) 评论(0) 推荐(0) 编辑
摘要: BLLDALModelDBOperater 阅读全文
posted @ 2009-09-16 23:52 greencolor 阅读(119) 评论(0) 推荐(0) 编辑
摘要: (Bitmap)Image.FromFile("..\\..\\res\\animal.bmp");File File1 File2 *.Exe res animal.bmp; 阅读全文
posted @ 2009-09-15 22:39 greencolor 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 是程序运行的入口点:[STAThread]staticvoidMain(){Application.EnableVisualStyles();Application.SetCompatibleTextRenderingDefault(false);Application.Run(newForm1());}单实例限制代码:[STAThread]staticvoidMain(){boolisAppRu... 阅读全文
posted @ 2009-09-15 21:43 greencolor 阅读(285) 评论(1) 推荐(0) 编辑
摘要: public enum Vista { aaa,bbb } private Vista style = Vista.aaa; // We set the initial value for style. public Vista Style { get { return style; } set { style = value; } }get 中使用关键词 return,set 中使用关键词 va... 阅读全文
posted @ 2009-09-12 23:13 greencolor 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Class, struct, or interfce method must have a return type 阅读全文
posted @ 2009-09-12 21:08 greencolor 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1): New a class, which can be used in the form1.Write following code in form1. private AxisLimits al; // This command will define a private variable al, this al // variable has the characteristic of ... 阅读全文
posted @ 2009-09-11 23:45 greencolor 阅读(219) 评论(0) 推荐(0) 编辑