.NET 學習

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

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

公告

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 19:27 Tonyyang 阅读(71) | 评论 (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 20:29 Tonyyang 阅读(136) | 评论 (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 14:46 Tonyyang 阅读(173) | 评论 (0) 编辑

摘要: 1.CodenamespaceMemberLevelSecurityDemo.Module{#region"Copyright(c)2007to2010ExtrasoftLtd"////********************************************************************//TheentirecontentsofthisfileisprotectedbyUKand//InternationalCopyrightLaws.Unauthorizedreproduction,//reverse-engineering,anddis阅读全文
posted @ 2011-05-21 14:36 Tonyyang 阅读(105) | 评论 (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 17:18 Tonyyang 阅读(89) | 评论 (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 18:20 Tonyyang 阅读(211) | 评论 (1) 编辑

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