摘要: win7 无法进入睡眠 阅读全文
posted @ 2013-06-14 15:43 gxj 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 数据库不支持磁盘压缩,要把所有盘的"Microsoft SQL Server"目录更改为非压缩文件夹,记住是所有! 阅读全文
posted @ 2013-01-04 21:38 gxj 阅读(6532) 评论(1) 推荐(0) 编辑
摘要: System.Configuration.ConfigurationManager引用 阅读全文
posted @ 2012-07-31 09:46 gxj 阅读(429) 评论(0) 推荐(0) 编辑
摘要: c# 委托与事件 阅读全文
posted @ 2012-06-28 16:48 gxj 阅读(613) 评论(0) 推荐(0) 编辑
摘要: vmmare 网络连接 阅读全文
posted @ 2012-06-27 14:08 gxj 阅读(474) 评论(0) 推荐(0) 编辑
摘要: Stepping into a Web application or XML Web service failed because integrated Windows authentication is not enabled. For this reason, authentication of the user requesting debugging could not be done.To enable integrated Windows authenticationLog onto the Web server using an administrator account.Fro 阅读全文
posted @ 2012-06-17 15:55 gxj 阅读(344) 评论(0) 推荐(0) 编辑
摘要: c#_textbox_换行_c# textbox换行简介摘要:本文将教你如何用C# TextBox换行,也许现在你觉得很深奥,但是读完此篇文章你就会觉得很简单了。 要让一个Windows Form的TextBox显示多行文本就得把它的Multiline属性设置为true。 这个大家都知道,可是当你要在代码中为Text属性设置多行文本的时候可能会遇到点麻烦:) C# TextBox换行时你往往会 本... 阅读全文
posted @ 2010-09-06 11:24 gxj 阅读(63727) 评论(4) 推荐(8) 编辑
摘要: 在WPF中,有一个非常有意思的Command Binding(命令绑定机制),这种机制在原有的Windows Form中没有提供。本文设计了一个实例,直观地展示出Command Binding的应用场景,并对其机制进行了剖析。1 Command Binding有什么用? 这个机制有何作用?看一下下面这个例子就清楚了(图 1),此例是由Visual C# 2008 Express创建的标准Wpf应用... 阅读全文
posted @ 2010-09-01 16:47 gxj 阅读(19126) 评论(1) 推荐(5) 编辑
摘要: 在实际项目中,为满足实际开发需求,对VisualTreeHelper的方法重新进行封装是非常必要的。首先要介绍的Hleper方法是GetParentObject方法,获取父控件方法。该方法将根据当前控件,遍历查找其父控件是否存在。参数1是表示当前子控件名,参数2是要查询父控件名;使用VisualTreeHelper.GetParent方法获取当前父控件。[代码]另外一个Helper方法是GetCh... 阅读全文
posted @ 2010-08-30 17:09 gxj 阅读(4838) 评论(0) 推荐(1) 编辑
摘要: using System;using System.Collections;using System.Configuration;using System.Data;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.W... 阅读全文
posted @ 2010-06-01 16:42 gxj 阅读(251) 评论(0) 推荐(0) 编辑