摘要: 为了测试方便,我们加入新的3列,格式分别是数据,时间,字符串。代码增加下列部分:[csharp]view plaincopy//格式增加dt.Columns.Add("数据",typeof(decimal));dt.Columns.Add("时间",typeof(DateTime));dt.Columns.Add("自定义",typeof(string));dt.Rows.Add(newobject[]{1,"张三",1,"东大街6号","看书","",- 阅读全文
posted @ 2013-08-06 22:56 永远的菜鸟@me 阅读(2205) 评论(0) 推荐(0) 编辑
摘要: 代码来源于网上。首先创建解决方案,类using System;using System.Windows.Forms;using System.Drawing;using MyRichTextBox.Properties;namespace MyRichTextBox{ public class MyRichTextBox : RichTextBox { private System.ComponentModel.IContainer components = null; protected override void Dispose(bool dispo... 阅读全文
posted @ 2013-08-06 16:36 永远的菜鸟@me 阅读(2423) 评论(0) 推荐(0) 编辑