Rising

自我学习记录,方便使用时查找。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年2月27日

摘要: Castle ActiveRecord中的多对多关系的处理与实现 阅读全文
posted @ 2012-02-27 23:33 Rising 阅读(957) 评论(3) 推荐(0)

摘要: 还未解决的一些问题 阅读全文
posted @ 2012-02-27 22:46 Rising 阅读(485) 评论(0) 推荐(0)

摘要: 由于今天才开始学习Castle ActiveRecord,碰到一些问题,不确定是否如为自己所理解的那样,但按以下方法处理已完成程序功能。由于Castle ActiveRecord官方下载的版本与其官方文档并不完全对应,所以,按其ActiveRecord Getting Started所示内容完成代码会有一些问题:1.引用的程序集用http://www.castleproject.org/castle/download.html 中的ActiveRecord 3.0 RC - March 14th, 2011,把所有DLL都引用进去,除了Castle.ActiveRecord.Web.dll没有 阅读全文
posted @ 2012-02-27 22:29 Rising 阅读(919) 评论(0) 推荐(0)

摘要: 转来的一些学习笔记 阅读全文
posted @ 2012-02-27 22:18 Rising 阅读(222) 评论(0) 推荐(0)

摘要: CastleCastle is an open source project for .net that aspires to simplify the development of enterprise and web applications. Offering a set of tools (working together or independently) and integration with others open source projects, Castle helps you get more done with less code and in less ti... 阅读全文
posted @ 2012-02-27 22:12 Rising 阅读(340) 评论(0) 推荐(1)

摘要: Caliburn.Micro Caliburn Micro: WPF, Silverlight and WP7 made easy. A small, yet powerful framework designed for WPF, Silverlight, WP7 and WinRT/Metro, Caliburn.Micro implements a variety of UI patterns for solving real-world problems. Patterns that are highlighted include MVVM (Presentation Model),. 阅读全文
posted @ 2012-02-27 13:00 Rising 阅读(628) 评论(0) 推荐(0)

2012年2月19日

摘要: 在“测试优先”时代的大多数时间,用于表达用户行为的方法一直贯穿于使用系统语言(一种与用户的语言不相关的语言)编写的单元测试。 随着行为驱动开发 (BDD) 技术的问世,这种情况也随之改变。 利用 BDD 技术,可使用业务语言来编写自动化测试,同时还可保持与已实现系统的连接。 阅读全文
posted @ 2012-02-19 10:26 Rising 阅读(1035) 评论(0) 推荐(0)

2011年12月28日

摘要: OPC and .NET with COM Interoperabilityhttp://www.codeproject.com/KB/COM/opcdotnet.aspx以上Codeproject相关源码的应用指导:C#OPC的应用(一)http://www.cnblogs.com/rockeylau/archive/2010/04/29/1723691.htmlC#调用OPCDAAuto.dll开发OPC客户端组件:http://hi.baidu.com/wangdw86/blog/item/95a1a481e2fe24b80cf4d299.htmlhttp://en.pudn.com/. 阅读全文
posted @ 2011-12-28 11:15 Rising 阅读(373) 评论(0) 推荐(0)

2011年12月20日

摘要: Windows Workflow Foundation:WXWinter,地址:http://www.cnblogs.com/foundation/WPF:Jianqiang Bao,地址:http://www.cnblogs.com/Jax/ 刘铁猛http://www.cnblogs.com/prism/WeifenLuo.WinFormsUI.DockContent 使用等文章列表http://www.cnblogs.com/hnxc345/archive/2012/02/10/2345298.htmlORM的一些代码(较老)http://www.cnblogs.com/qingyua. 阅读全文
posted @ 2011-12-20 10:41 Rising 阅读(207) 评论(0) 推荐(0)

摘要: WXWinter 写了整套WF4的教程:http://www.cnblogs.com/foundation/category/215023.htmlWF4.0实战(Cocoa And Dotnet)www.cnblogs.com/zhuqil/tag/WF4.0/default.html?page=1 阅读全文
posted @ 2011-12-20 10:28 Rising 阅读(229) 评论(0) 推荐(0)

摘要: 1.SSO解决方案大全:http://blog.csdn.net/lisky119/article/details/39663222.sso单点登录解决方案收集:http://blog.csdn.net/huwei2003/article/details/60380173.asp.net单点登录(SSO)解决方案:http://hi.baidu.com/%C8%FC%C4%C9%D0%D0%D0%C7/blog/item/1c3f645147338f978d5430a8.html有空要试试,以备需要时用 阅读全文
posted @ 2011-12-20 09:59 Rising 阅读(245) 评论(0) 推荐(0)

摘要: 在.net中读写config文件的各种方法阅读目录开始 config文件 - 自定义配置节点 config文件 - Property config文件 - Element config文件 - CDATA config文件 - Collection config文件 - 读与写 读写 .net framework中已经定义的节点 xml配置文件 xml配置文件 - CDATA xml文件读写注意事项 配置参数的建议保存方式 config文件与XML文件的差别今天谈谈在.net中读写config文件的各种方法。在这篇博客中,我将介绍各种配置文件的读写操作。由于内容较为直观,因此没有过多的空道理. 阅读全文
posted @ 2011-12-20 09:05 Rising 阅读(365) 评论(0) 推荐(0)

2011年12月19日

摘要: 1.可以在IDE的项目属性中,打开“Settings”标签页进行参数配置。2.可以在程序运行时进行配置参数的读取和更改:A.读取配置参数:变量 = Properties.Settings.Default.参数名称; 这样就可以读取指定名称参数的值。B.保存参数: Properties.Settings.Default.参数名称 = 新的值; Properties.Settings.Default.Save(); 这样新的值就被设置到指定名称的参数中,并通过Save方法保存到配置文件中。 阅读全文
posted @ 2011-12-19 22:42 Rising 阅读(383) 评论(0) 推荐(0)

2011年12月17日

摘要: 参见:http://www.kuqin.com/windows/20071029/1929.html好处:使用Command有什么好处?减少业务代码与UI的耦合度Command可以集中管理不同操作。Command既和操作关联,又和界面关联。详细参见MSDN。如果命令库类中的命令不满足需要,则可以创建自己的命令。有两种方法可创建自定义命令。第一种是从头开始,并实现ICommand接口。另一种方法,也是更常用的方法,是创建RoutedCommand或RoutedUICommand。有关创建自定义RoutedCommand的示例,请参见Create a Custom RoutedCommand S. 阅读全文
posted @ 2011-12-17 12:54 Rising 阅读(1105) 评论(1) 推荐(1)

摘要: 在多线程环境中,有时线程不能直接更新界面,那么可以采用以下方法进行:void threadFunction(){ Action<string> act = delegate(string s) { label1.Content = s; }; // 通过Dispatcher调用上面定义的委托完成界面更新,设置label1中显示的内容。 this.Dispatcher.BeginInvoke(act, "message");} 阅读全文
posted @ 2011-12-17 10:33 Rising 阅读(320) 评论(0) 推荐(0)

2011年12月8日

摘要: Managed Extensibility Framework 或 MEF 是一个用于创建可扩展的轻型应用程序的库。 应用程序开发人员可利用该库发现并使用扩展,而无需进行配置。 扩展开发人员还可以利用该库轻松地封装代码,避免生成脆弱的硬依赖项。 通过 MEF,不仅可以在应用程序内重用扩展,还可以在应用程序之间重用扩展。 阅读全文
posted @ 2011-12-08 11:41 Rising 阅读(2223) 评论(0) 推荐(0)

2011年12月4日

摘要: public partial class Form1 : Form{//设置文本内容的消息private const int WM_SETTEXT = 0x000C;//鼠标点击消息const int BM_CLICK = 0x00F5;[DllImport("user32.dll")]private static extern IntPtr FindWindow( string lpClassName, string lpWindowName);[DllImport("User32.dll")]private static extern IntPtr 阅读全文
posted @ 2011-12-04 20:09 Rising 阅读(2894) 评论(1) 推荐(0)

2011年11月30日

摘要: 通信技术 阅读全文
posted @ 2011-11-30 14:49 Rising 阅读(619) 评论(0) 推荐(0)

摘要: DevExpress 汉化 阅读全文
posted @ 2011-11-30 10:21 Rising 阅读(773) 评论(0) 推荐(0)

2011年11月29日

摘要: 地址:http://www.devexpress.com/Support/Center/p/A421.aspxThe collection of localized DevExpress assemblies Article DetailsSolutionArticle DetailsID:A421Version(s):6.x, 7.x, 8.x, 9.x, 10.x, 11.xUpdated:2011/11/21Product Group:.NET (WinForms)Product:DXperience UniversalDescription:What is the best way t 阅读全文
posted @ 2011-11-29 13:07 Rising 阅读(3368) 评论(0) 推荐(0)