摘要: void textBox2_TextChanged(object sender, EventArgs e) { this.textBox2.SelectionStart = this.textBox2.TextLength; this.textBox2.SelectionLength = 0; this.textBox2.ScrollToCaret(); } 阅读全文
posted @ 2013-11-19 13:33 JasonGu0 阅读(339) 评论(0) 推荐(0)
摘要: 先自定义一个类 继承DataGridViewTextBoxCellusing System;using System.Collections.Generic;using System.Text;using System.Windows.Forms;using System.Drawing;namespace com.Threes.CustomControl{ public class DataGridViewBooleanCell : DataGridViewTextBoxCell { protected override void Paint(Graphics gr... 阅读全文
posted @ 2013-11-19 11:12 JasonGu0 阅读(1097) 评论(0) 推荐(0)