自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(21)
  • 收藏
  • 关注

转载 WCF RIA Services DomainService life-cycle and adding Transactions

Note: This blog post will use the WCF RIA Services PDC Beta and VS2010 Preview, changes to the framework can me made before it hits RTM.Some questions that pops up about WCF RIA Services is ...

2012-02-16 11:34:00 111

转载 C#多线程 使用委托更新UI实例(WP7开发 其他线程中更新UI)(转载)

在C#中,非主线程(即非UI线程,就是通过new Thread创建的线程)是不能直接操作UI元素的,Android中也一样,必须通过Handler与UI线程通讯,通知UI线程更新.而C#则采用委托的方式更新UI.下面用一个简单的实例来说明.这是一个WPF项目,只有一个名为textBlock1的TextBlock用于显示,一个名为button1的Button用于开启新线程来更新t...

2012-02-16 11:19:00 137

转载 Delegate,Action,Func,匿名方法,匿名委托,事件 (转载)

一、委托Delegate一般的方法(Method)中,我们的参数总是string,int,DateTime...这些基本的数据类型(或者没有参数),比如public void HelloWorld() { Console.WriteLine("Hello World!");}public void HelloWorld(string name) { Console....

2012-02-16 11:17:00 96

转载 looping(and modifying) a collection

Ok, back to basics with this one.I have a collection of strings:1List<string> someStrings = new List<string>() { "aaaaaaa", "bbb", "ccc", "dddddddd" };And I want t...

2010-09-06 12:48:00 78

转载 LineBreak in a tooltip in xaml

Here’s a quick tip how to show linebreaks in a tooltip in xaml.I wanted to show properties on multiple lines (in a multibinding):01' 02<LABEL Content="{Binding Na...

2010-09-06 12:45:00 85

转载 GetObjectbyKey in E.F. vs. Querying for a single entity

Even though I seem to have gotten it right when I wrote about this in my book (I just checked) in my own memory I have had a misconception about GetObjectbyKey. I thought that GetObjectbyKey an...

2010-09-06 12:39:00 74

转载 Use GetObjectByKey() for better performance

When I want to fetch an entity, I normally have a method that uses a query. This method will always query the database and you will have an up-to-date entity.But if you need better perfo...

2010-09-06 12:37:00 86

转载 Visual Studio集成开发环境无法启动调试

问题:在利用Visual Studio 2005或2008集成开发工具进行开发的过程,对已开发完成的程序按“F5”试图进行编译运行,这时VS开发工具突然弹出“无法启动调试 绑定句柄无效”的错误信息,起初还以为VS开发工具安装太久了,随着“年龄”的增大出毛病了;还是先按自己的经验鼓捣了半天再按“F5”还是报同样的错误,无语没办法了(由于太懒了,觉得重装太麻烦),算了还是请教下“goog...

2010-01-27 10:06:00 470

转载 C#中关于String.Equals(object,object)和(object==object )的比较

情况一string s = "Test";string t = string.Copy(s);Console.WriteLine(s == t); Console.WriteLine((object)s == (object)t);输出为true false情况二string s = "Test";string t = s;Console.WriteLine(s == t); C...

2010-01-27 10:01:00 132

转载 IValueConverter 接口

提供一种将自定义逻辑应用于绑定的方式。命名空间: System.Windows.Data程序集: PresentationFramework(在 PresentationFramework.dll 中) 语法 Visual Basic(声明) Public Interface IValueConverterVisual Ba...

2010-01-27 09:55:00 146

转载 ASP.NET页面生命周期和asp.net应用程序生命周期

PS:作为一个asp.net程序员,不了解ASP.NET页面生命周期和asp.net应用程序生命周期是绝对不行的,那永远只能是菜鸟级别。我很早就学过,可是没次还是得去翻,一些事件还是记不住,还是记在自己的blog吧,呵呵。页面生命周期页 面生命周期执行一系列步骤:页面的初始化、实例化控件、还原和维护状态、运行事件处理程序代码、呈现。为了在合适的阶段执行所需的代码,所以要...

2010-01-27 09:50:00 100

转载 Windows Presentation Foundation Tools and Controls

http://www.cnblogs.com/zhouyinhui/archive/2007/12/08/987928.html转载于:https://www.cnblogs.com/xqiwei/archive/2008/07/18/1246040.html

2008-07-18 14:20:00 65

转载 ArcEngine开发之Command控件使用篇

http://www.cnblogs.com/renji/archive/2008/01/18/arcengine_command1.htmlhttp://www.cnblogs.com/renji/archive/2008/01/18/arcengine_command2.html转载于:https://www.cnblogs.com/xqiwei/archive/...

2008-06-30 18:58:00 66

转载 Resharper进阶

http://www.cnblogs.com/renji/default.html?page=3转载于:https://www.cnblogs.com/xqiwei/archive/2008/06/30/1232676.html

2008-06-30 18:54:00 83

转载 C# 中的委托和事件

C# 中的委托和事件http://www.cnblogs.com/JimmyZhang/archive/2007/09/23/903360.html转载于:https://www.cnblogs.com/xqiwei/archive/2008/03/20/1115075.html

2008-03-20 16:46:00 64

转载 WPF系列文章

http://www.cnblogs.com/zhouyinhui/archive/2007/10/17/927829.html http://www.cnblogs.com/zhouyinhui/category/86467.html?Show=All转载于:https://www.cnblogs.com/xqiwei/archive/2008/03/19/111282...

2008-03-19 10:57:00 71

转载 新技术文章

http://www.cnblogs.com/artech 谈谈WCF转载于:https://www.cnblogs.com/xqiwei/archive/2008/03/10/1099183.html

2008-03-10 17:41:00 69

转载 flash与javascript、asp.net(数据库)的交互

http://www.cnblogs.com/salonliudong转载于:https://www.cnblogs.com/xqiwei/archive/2008/01/10/1033707.html

2008-01-10 15:09:00 69

转载 使用vs.net ajax实现幻灯片的效果

使用ASP.NET AJAX实现幻灯片效果 转载于:https://www.cnblogs.com/xqiwei/archive/2008/01/10/1033352.html

2008-01-10 12:04:00 82

转载 职业规划

职业规划http://blog.csdn.net/jobchanceleo/MyArticles.aspx 递归,设计模式http://www.cnblogs.com/jillzhang/archive/2007/10/21/932087.html转载于:https://www.cnblogs.com/xqiwei/archive/2008/01/10/1033060...

2008-01-10 10:05:00 51

转载 net面试题大全(有答案) & asp.net面试集合

C#基础概念二十五问(转) http://www.cnblogs.com/jiayong/archive/2008/01/07/1029138.html.net工程师必懂题(笔试题目)转 http://www.cnblogs.com/jiayong/archive/2008/01/08/1030175.html1 (1)面向对象的语言具有__继承性_性、_封装性_...

2007-11-28 17:53:00 160

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除