摘要:1.CodenamespaceMemberLevelSecurityDemo.Module{#region"Copyright(c)2007to2010ExtrasoftLtd"////********************************************************************//TheentirecontentsofthisfileisprotectedbyUKand//InternationalCopyrightLaws.Unauthorizedreproduction,//reverse-engineering,anddis
阅读全文
随笔分类 - XAF
eXpress Application Framework
摘要:///<summary>///首行新增,按ENTER,FocusedNewItemRow///Tonyyang///2011-05-18///</summary>publicclassFocusedNewItemRowListViewControler:ViewController{publicFocusedNewItemRowListViewControler(){//InitializeComponent();//RegisterActions(components);this.TargetViewType=ViewType.ListView;this.Activa
阅读全文
摘要:例如:有部门和员工两个ListView1. 首先用模型编辑器添加一个DashboardView12. 然后再给DashboardView1添加两个Item:Department_ListView 和 Employee_ListView;3. 代码usingSystem;usingDevExpress.ExpressApp;usingDevExpress.ExpressApp.Editors;usingSystem.Collections;usingDevExpress.Data.Filtering;namespaceEasyTestTool.Module{publicpartialclassE
阅读全文
摘要:http://community.devexpress.com/blogs/garyshort/archive/2010/08/11/xaf-actions-in-detail-view-layout-v2010-vol-2.aspx
阅读全文
摘要:EasyTest Basics(基础)eXpressApp Framework > Concepts > Functional Testing > EasyTest 基础 The eXpressApp Framework includes its own functional testing engine - EasyTest. All you need to know to use it is a set of commands allowed by test scripts. Using a custom script language has strong advant
阅读全文
摘要:XAF 用Excel导入数据模块Here's a video on how it works: http://mdworkstuff.blogspot.com/2011/05/excel-import-wizard-demo-from.htmland a post on how to include it into an existing XAF project http://mdworkstuff.blogspot.com/2011/05/how-to-include-expandframework-module.htmlOne more common situation when
阅读全文
摘要:http://www.devexpress.com/Support/Center/p/A421.aspx
阅读全文
摘要:How to: Test an XAF Application如何:测试XAF应用程序eXpressApp Framework > Task-Based Help > How to: Test an XAF Application The eXpressApp Framework is shipped with EasyTest - a test framework designed to perform functional testing of XAF applications. This topic demonstrates how to test an XAF applic
阅读全文
摘要:Functional Testing(功能测试)eXpressApp Framework > Concepts > Functional Testing (功能测试)The eXpressApp Framework includes a preview of the EasyTest functional test framework. This framework is specifically designed to perform functional testing of XAF applications. The main idea behind the creation
阅读全文
摘要:例如给订单增加版本控制usingSystem;usingSystem.ComponentModel; usingDevExpress.Xpo;usingDevExpress.Data.Filtering; usingDevExpress.ExpressApp;usingDevExpress.Persistent.Base;usingDevExpress.Persistent.BaseImpl;usingDevExpress.Persistent.Validation; namespaceDXExample.Module{[DefaultClassOptions]publicclassPO:Ba
阅读全文
摘要:XAF 如何实现ListView单元格批量更改? publicpartialclassGridViewCellsValueUpdateViewController:ViewController{publicGridViewCellsValueUpdateViewController(){InitializeComponent();RegisterActions(components);}protectedoverridevoidOnActivated(){base.OnActivated();//this.paUpdateCellsValue.Enabled.SetItemValue(&quo
阅读全文
摘要: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
阅读全文
摘要:1.在ViewController上添加两个ParameterAction2.隐藏一个ParameterAction中的Action3.实现代码:privatevoidParermaterViewController_ViewControlsCreated(objectsender,EventArgse){IBarManagerHolderbmh=Frame.TemplateasIBarManagerHolder;if(bmh!=null&&bmh.BarManager!=null){foreach(BarItemiteminbmh.BarManager.Items){BarE
阅读全文
摘要:一个有问题的按钮权限控制: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.
阅读全文
摘要:原文:http://www.expandframework.com/Xpand Framework(Xpand框架)Xpand是第一个基于DevExpress eXpressApp Framework(XAF)开源项目。它XAF包含在DXPerience Universal中,有30天试用期,试用版下载地址https://www.devexpress.com/ClientCenter/Downloads.eXpand框架是基于Microsoft Public License (Ms-PL)形式开源. XAF是不开源的,必须从DevExpress.购买。eXpandFramework 团队为XA
阅读全文
摘要:原文:http://apobekiaris.blogspot.com/2011/01/easy-sequential-numbers.htmlEasy Sequential numbers(易用的序列号)Where they can be used?? In many places for example invoices, sales orders etc.他们能用在哪里?例如,在许多地方,发票,销售订单等等。One could tell that this is an easy task and maybe that assumption is right but let me write
阅读全文
摘要:原文:http://community.devexpress.com/blogs/garyshort/archive/2010/10/08/xpo-direct-sql-queries.aspx直接执行SQL查询In the comments to my previous blog post about executing stored procedures from XPO, you asked how you could execute a SQL query from within a persistent class, so in this post I thought I’d sho
阅读全文
摘要:原文:http://community.devexpress.com/blogs/garyshort/archive/2010/09/28/xpo-stored-procedure-support-coming-in-v2010-vol-2-part-2.aspxXPO - Stored Procedure Support coming in V2010 Vol 2 (Part 2)You’ll recall in my previous post on this in the forth coming topic I told you that there would be two ways
阅读全文
摘要:原文:http://community.devexpress.com/blogs/garyshort/archive/2010/09/22/xpo-stored-procedure-support-coming-in-v2010-vol-2.aspxXPO – Stored Procedure Support Coming in V2010 Vol 2 --Part 1Unless you work in a very small software shop, or are a ‘one man band’, the chances are you don’t ‘own’ the data t
阅读全文
摘要:XPO 支持存储过程 Part1XPO 支持存储过程 Part2XPO 直接支持执行SQL查询待续...
阅读全文