.NET 學習

.NET 學習生活感想... 万事成蹉跎..... 贵在坚持 及时整理自己做过和学过的东西

博客园 首页 新随笔 联系 订阅 管理
  254 Posts :: 0 Stories :: 34 Comments :: 6 Trackbacks

公告

03 2011 档案

摘要: http://www.mssqltips.com/tip.asp?tip=1958阅读全文
posted @ 2011-03-29 17:47 Tonyyang 阅读(122) | 评论 (0) 编辑

摘要: 例如给订单增加版本控制usingSystem;usingSystem.ComponentModel; usingDevExpress.Xpo;usingDevExpress.Data.Filtering; usingDevExpress.ExpressApp;usingDevExpress.Persistent.Base;usingDevExpress.Persistent.BaseImpl;usingDevExpress.Persistent.Validation; namespaceDXExample.Module{[DefaultClassOptions]publicclassPO:Ba阅读全文
posted @ 2011-03-23 16:27 Tonyyang 阅读(115) | 评论 (0) 编辑

摘要: XAF 如何实现ListView单元格批量更改? publicpartialclassGridViewCellsValueUpdateViewController:ViewController{publicGridViewCellsValueUpdateViewController(){InitializeComponent();RegisterActions(components);}protectedoverridevoidOnActivated(){base.OnActivated();//this.paUpdateCellsValue.Enabled.SetItemValue(&quo阅读全文
posted @ 2011-03-15 21:23 Tonyyang 阅读(121) | 评论 (0) 编辑

摘要: Conditional Object Access Permission:http://www.devexpress.com/Support/Center/p/Q267964.aspxCustom ObjectAccessPermission type is ignored by the Security system :http://www.devexpress.com/Support/Center/p/Q268440.aspxusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Security;u阅读全文
posted @ 2011-03-15 21:19 Tonyyang 阅读(194) | 评论 (0) 编辑

摘要: 1.在ViewController上添加两个ParameterAction2.隐藏一个ParameterAction中的Action3.实现代码:privatevoidParermaterViewController_ViewControlsCreated(objectsender,EventArgse){IBarManagerHolderbmh=Frame.TemplateasIBarManagerHolder;if(bmh!=null&&bmh.BarManager!=null){foreach(BarItemiteminbmh.BarManager.Items){BarE阅读全文
posted @ 2011-03-10 16:28 Tonyyang 阅读(139) | 评论 (0) 编辑

摘要: 一个有问题的按钮权限控制:http://www.devexpress.com/Support/Center/p/Q261403.aspx(一个角色只能控制一个按钮权限)隐藏显示按钮:http://www.devexpress.com/Support/Center/kb/p/K18055.aspxCheck Permission http://documentation.devexpress.com/#Xaf/CustomDocument2981 Action based Permission:http://www.devexpress.com/Support/Center/p/Q141870.阅读全文
posted @ 2011-03-10 16:22 Tonyyang 阅读(362) | 评论 (0) 编辑

欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/