摘要: To accomplish this task, I suggest you handle theTextEdit.Leaveevent to obtain TextEdit's value. To determine whether or not the TextEdit's value was modified, use theTextEdit.IsModifiedproperty:[C#]Open in popup windowprivate void textEdit1_Leave(object sender, EventArgs e){ if (textEdit1.I 阅读全文
posted @ 2014-01-23 23:15 perock 阅读(581) 评论(0) 推荐(0) 编辑
摘要: namespace dxExample{ public partial class Form1 : Form { public Form1() { InitializeComponent(); // Create data ds = new DataSet(); ds.Tables.Add(GetOrderData()); ds.Tables.Add(GetCustomerData()); gridControl1.Data... 阅读全文
posted @ 2014-01-23 23:10 perock 阅读(1721) 评论(0) 推荐(0) 编辑
摘要: private void DrawWave(Graphics g,Point start, Point end) { Pen pen = Pens.Red; if ((end.X - start.X) > 4) { var pl = new ArrayList(); for (int i = start.X; i <= (end.X - 2); i += 4) { pl.Add(new P... 阅读全文
posted @ 2014-01-23 23:08 perock 阅读(236) 评论(0) 推荐(0) 编辑