1 2 3 4 5 ··· 22 下一页
摘要: Apr 30, 2010.Summary:With this library .NET applications can control a wide variety of MessageBox dialog settings.That includes adjusting initial posi... 阅读全文
posted @ 2015-06-19 20:29 perock 阅读(622) 评论(0) 推荐(0) 编辑
摘要: public static T CopyEntity(NorthwindEntities ctx, T entity, bool copyKeys = false) where T : EntityObject { T clone = ctx.CreateObject(); PropertyInfo[] pis = entity.GetType().GetProperties(); foreach (PropertyInfo pi in pis) { EdmSca... 阅读全文
posted @ 2014-04-02 15:25 perock 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: 子查询 描述:查询订单数超过5的顾客信息 查询句法: var 子查询 = fromc inctx.Customers where ... 阅读全文
posted @ 2013-10-10 11:55 perock 阅读(18592) 评论(1) 推荐(1) 编辑
摘要: Axapta ax; AxaptaRecord custtable; AxaptaObject query; ... 阅读全文
posted @ 2013-10-10 11:51 perock 阅读(973) 评论(0) 推荐(0) 编辑
摘要: AxaptaObject axQuery = ax.CreateAxaptaObject("Query"); AxaptaObject axQueryBuildDataSource1 = axQuery.Call("addDataSource", 175) as AxaptaObject; AxaptaObject axQueryBuildDataSource2 = axQueryBu... 阅读全文
posted @ 2013-10-10 11:50 perock 阅读(471) 评论(0) 推荐(0) 编辑
摘要: Flush the AOS cache from code Well while working on a current project an associate of mine, partner in crime on the current project named Ed (from Stream Line), shared with me a very nice little tric... 阅读全文
posted @ 2013-09-11 13:02 perock 阅读(450) 评论(0) 推荐(0) 编辑
摘要: EntityConnectionStringBuilder 類別 .NET Framework 4 其他版本 本主題尚未接受評分-為這個主題評分 提供簡單的方式來建立和管理 EntityClient 所使用的連接字串內容。 ... 阅读全文
posted @ 2013-07-11 16:10 perock 阅读(3414) 评论(1) 推荐(0) 编辑
1 2 3 4 5 ··· 22 下一页