.NET 學習

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

博客园 首页 新随笔 联系 订阅 管理

05 2011 档案

摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.ComponentModel;usingDevExpress.ExpressApp;usingDevExpress.ExpressApp.Win.Editors;usingDevExpress.ExpressApp.Model;usingDevExpress.XtraEditors;usingSystem.Reflection;usingDevExpress.XtraEditors.Controls;publicclassWinCustomDataS 阅读全文
posted @ 2011-05-24 15:27 Tonyyang 阅读(450) 评论(0) 推荐(0)

摘要:privatestring_ActionId;[DataSourceProperty("list")][Custom("PropertyEditorType","MemberLevelSecurityDemo.Module.WinStringArrayValueComboPropertyEditor")]publicstringActionId{get{return_ActionId;}set{SetPropertyValue("ActionId",ref_ActionId,value);}}publicList& 阅读全文
posted @ 2011-05-22 16:29 Tonyyang 阅读(659) 评论(0) 推荐(0)

摘要:需要参考:http://www.cnblogs.com/Tonyyang/archive/2011/05/21/2052627.html//DeveloperExpressCodeCentralExample://HowtoimplementtheMemberLevelsecuritymanually(forexample,todenythe'Read'accessfordeclaredpropertiesofsomebusinessclass,andallowaccessfortheinheritedproperties)////Hello,////Thissampledem 阅读全文
posted @ 2011-05-21 10:46 Tonyyang 阅读(985) 评论(0) 推荐(0)

摘要:1.CodenamespaceMemberLevelSecurityDemo.Module{#region"Copyright(c)2007to2010ExtrasoftLtd"////********************************************************************//TheentirecontentsofthisfileisprotectedbyUKand//InternationalCopyrightLaws.Unauthorizedreproduction,//reverse-engineering,anddis 阅读全文
posted @ 2011-05-21 10:36 Tonyyang 阅读(787) 评论(0) 推荐(0)

摘要:///<summary>///首行新增,按ENTER,FocusedNewItemRow///Tonyyang///2011-05-18///</summary>publicclassFocusedNewItemRowListViewControler:ViewController{publicFocusedNewItemRowListViewControler(){//InitializeComponent();//RegisterActions(components);this.TargetViewType=ViewType.ListView;this.Activa 阅读全文
posted @ 2011-05-17 13:18 Tonyyang 阅读(570) 评论(0) 推荐(0)

摘要:例如:有部门和员工两个ListView1. 首先用模型编辑器添加一个DashboardView12. 然后再给DashboardView1添加两个Item:Department_ListView 和 Employee_ListView;3. 代码usingSystem;usingDevExpress.ExpressApp;usingDevExpress.ExpressApp.Editors;usingSystem.Collections;usingDevExpress.Data.Filtering;namespaceEasyTestTool.Module{publicpartialclassE 阅读全文
posted @ 2011-05-04 14:20 Tonyyang 阅读(1285) 评论(1) 推荐(0)

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