.NET开发
文章平均质量分 64
lnddlzq
这个作者很懒,什么都没留下…
展开
-
XAF 如何给記錄增加版本控制?
using System;using System.ComponentModel; using DevExpress.Xpo;using DevExpress.Data.Filtering; using DevExpress.ExpressApp;using DevExpress.Persistent.Base;using DevExpress.Persistent.BaseImpl;using原创 2013-05-31 11:35:38 · 653 阅读 · 0 评论 -
64位操作系统下IIS报“试图加载格式不正确的程序”错误
缘由:在64位操作系统下IIS发布32位的项目,报“项目依赖的dll无法读取,试图加载格式不正确的程序”错误。 原因:程序集之间的通讯要么全是64位环境下的,要么全是32位环境下的。不能混编访问。不然会出现“试图加载格式不正确的程序”的错误。 解决方法:【C/S】运行C/S程序比较简单,直接在Build C/S程序的时候显式指定为X86(64位系统默认为X64)就可以了。原创 2013-05-31 11:36:15 · 494 阅读 · 0 评论 -
xaf实现自定义只读参数
using DevExpress.Persistent.Base; using System; // ... public class CurrentMonthParameter : ReadOnlyParameter { public CurrentMonthParameter() : base("CurrentMonth", typeof(int)) { } pu原创 2013-05-31 11:36:05 · 556 阅读 · 0 评论 -
How to show a Detail View via code
http://www.devexpress.com/Support/Center/kb/p/K18081.aspx原创 2013-05-31 11:35:59 · 484 阅读 · 0 评论 -
利用XAF中的FeatureCenter例子的,直接打开DetailView
一、要将FeatureCenter的动态库FeatureCenter.Module.dll引入到你的应用程序中 二、 在需要直接加载DetailView类前加入: [AutoCreatableObject(ViewEditMode = ViewEditMode.View)] 表明此类是要直接加载DetailView的 这个比较灵活,比帮助中的简单,方便,如: [NonPersistent]原创 2013-05-31 11:35:52 · 555 阅读 · 0 评论 -
用代码扩展和自定义应用程序模型
You can customize the information loaded to the Application Model via the Model Editor. It allows you to edit the information at design time, forming Application Model layers in each project. The laye原创 2013-05-31 11:35:49 · 664 阅读 · 0 评论 -
XAF 应用程序模型基础[转]
eXpressApp Framework > Concepts > Application Model > 应用程序结构基础 业务应用程序是复杂的工程。从头开始建立一个应用程序,你不得不实现数据存储、数据可视化、业务逻辑、等等。使用XAF只需要实现业务模型。默认自动生成应用程序界面。为此,XAF应用程序界面模型结构信息用了一个特殊的数据存储。在它是基于应用程序中代码(定义的类)和引用模块生成的。本原创 2013-05-31 11:35:47 · 733 阅读 · 0 评论 -
How to: Filter List Views on the UI Specific Level
http://documentation.devexpress.com/#xaf/CustomDocument2652原创 2013-05-31 11:35:45 · 492 阅读 · 0 评论 -
Simpler way to Create a Custom User Control
http://www.devexpress.com/Support/Center/p/Q270003.aspx原创 2013-05-31 11:35:40 · 534 阅读 · 0 评论 -
C#实现WMI读取远程计算机信息【原】
用途:在内网中远程获得计算机的配置信息;网络环境:基于域管理的网络环境;开发环境:C# VSTO客户机要求:XP以上操作系统,同时启动Windows Managerment服务,可以通过组策略开启所有客户机的该项服务。 /** 由SharpDevelop创建。* 用户: eric* 日期: 2012-02-24* 时间: 11:07* * 要改变这种模板请点击 工具|选项原创 2013-05-31 11:36:10 · 1783 阅读 · 0 评论 -
XAF中如何实现Action创建一个可以编辑外连接对象的detail
在系统中有时候我们希望实现这样的创建操作,通过主数据创建一个关联表的对象,比如,通过库存表创建一个出入库单的对象并弹出一个窗体编辑给对象,在xaf中可以使用如下的代码实现:using System;using System.ComponentModel;using System.Collections.Generic;using System.Diagnostics;using System.Te原创 2013-05-31 11:36:01 · 816 阅读 · 0 评论 -
修改XAF中list默认Filter属性(StartsWith)
private void ViewController_ViewControlsCreated(object sender, EventArgs e) { ASPxGridView gridView = (View as ListView).Editor.Control as ASPxGridView;原创 2013-05-31 11:35:43 · 614 阅读 · 0 评论 -
最有价值的编程忠告[转CSDN]
Rob Pike,目前谷歌公司最著名的软件工程师之一,曾是贝尔实验室Unix开发团队成员,Plan9操作系统开发的主要领导人,Inferno操作系统开发的主要领导人。他是缔造Go语言和Limbo语言的核心人物。下面是他分享给大家他在贝尔实验室工作的一段经历,这段经历改变了他对bug调试的思想认识。 Rob Pike Job的主要工作经历: 我在贝尔实验室工作了很多年。我在计算机科学研究中心,你会原创 2013-05-31 11:36:33 · 550 阅读 · 0 评论