摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.IO; 6 using System.Runtime.Serialization... 阅读全文
posted @ 2015-05-12 23:29 wsenmin 阅读(700) 评论(0) 推荐(0) 编辑
摘要: http://files.cnblogs.com/files/jacd/%E8%B6%85%E9%80%9F%E6%9F%A5%E6%96%87%E4%BB%B6.zip速度奇快无比,体积奇小无比,要代码的留言附上参考资料绍: Everything(官网|中文主页|教程)是速度最快的文件搜索软件。其... 阅读全文
posted @ 2015-05-13 15:24 wsenmin 阅读(1112) 评论(18) 推荐(2) 编辑
摘要: 1 //让类能在FOREACH循环中使用 2 public class students 3 { 4 int i = -1; 5 6 student[] stus ; 7 public students() { 8 stus = new student[2]{ new student("xx"),new student("wsenmin") }; 9 }10 public IEnumerator GetEnumerator()11 {12 ... 阅读全文
posted @ 2013-05-27 19:57 wsenmin 阅读(264) 评论(0) 推荐(0) 编辑
摘要: CLR:公共语言运行库,一堆库类的集合。他可以运行C#,C++,vb.net。他是多语言开发的基础。CTS:一种规范,能在CLR上面运行的语言规范CLS:也是规范,能在CLR运行遵守的最小规范。程序集:包含程序的所有原始文件与一个清单,该清单包括程序集版本号,语言,发布者,导入类。应用程序域:规定了代码执行范围,多个应用程序域通信是困难的,所以它也能隔离错误。应用程序域与进程的区别 :在一个应用程序中出现的错误不会影响其他应用程序。因为类型安全的代码不会导致内存错误,所以使用应用程序域可以确保在一个域中运行的代码不会影响进程中的其他应用程序。能够在不停止整个进程的情况下停止单个应用程序。使用应 阅读全文
posted @ 2013-05-27 00:24 wsenmin 阅读(216) 评论(0) 推荐(0) 编辑
摘要: #region 多态继承 public abstract class animal { public void Eat() { Console.WriteLine("animal Eat"); } public virtual void Call() { Console.WriteLine("animal Call"); } public abstract void live(); } public class ca... 阅读全文
posted @ 2013-05-26 23:26 wsenmin 阅读(144) 评论(0) 推荐(0) 编辑
摘要: View Code usingSystem;usingSystem.Diagnostics;usingSystem.Collections;usingSystem.Data;usingSystem.Web;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingExcel;namespaceMaticsoft.Common{///<summary>///操作EXCEL导出数据报表的类///Copyright(C)Maticsoft///</summary>publicclassDataToExcel{publicDa 阅读全文
posted @ 2012-06-13 17:41 wsenmin 阅读(325) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;namespace Maticsoft.Common{ /// <summary> /// Rmb 的摘要说明。 /// </summary> public class Rmb { /// <summary> /// 转换人民币大小金额 /// </summary> /// <param name="num">金额</param> /// <returns>返回大写 阅读全文
posted @ 2012-06-13 17:38 wsenmin 阅读(312) 评论(0) 推荐(0) 编辑
摘要: #region 导出文件 private static void ImportPage(HttpContext Context, string app, string entity, string id) { #region 获取数据id AppEntity.App AppObj = AppEntity.GetApp(app); AppEntity.Entity En = AppObj.GetEntity(entity); #endregion string columns = Context.Request.Form["columns"]; string striphtm 阅读全文
posted @ 2012-06-13 15:16 wsenmin 阅读(907) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Drawing;using System.IO;using System.Web.UI.DataVisualization.Charting; namespace SBS.Common{ public class MSChartHelpe { #region Get { ChartControl || ChartArea || Series } 5-25 private System.Web.UI.DataVisualization.Charting.Chart GetChar 阅读全文
posted @ 2012-06-13 15:13 wsenmin 阅读(571) 评论(0) 推荐(0) 编辑
摘要: View Code usingSystem;usingSystem.Collections.Generic;usingSystem.Drawing;usingSystem.IO;usingSystem.Web.UI.DataVisualization.Charting;publicclassMSChartHelpe{#regionGet{ChartControl||ChartArea||Series}5-25privateSystem.Web.UI.DataVisualization.Charting.ChartGetChartControl(stringTableName,stringdat 阅读全文
posted @ 2012-06-01 18:02 wsenmin 阅读(1685) 评论(3) 推荐(0) 编辑