上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
该文被密码保护。 Read More
posted @ 2012-09-22 19:28 C#老头子 Views(2) Comments(0) Diggs(0) Edit
//表头折行设置this.gridView1.ColumnPanelRowHeight = 40;this.gridView1.OptionsView.AllowHtmlDrawHeaders = true;this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;//上面的3个属性设置完成后, 将GridColumn.Caption = "单价<br>(元)",即可将(元)放在第二行.//表头及行内容居中显示this.gridView1 Read More
posted @ 2012-09-21 08:57 C#老头子 Views(1024) Comments(0) Diggs(0) Edit
private static void myPub_OpenSQLConnection() { if (THappyDBHelper.mpSqlConnection == null) { THappyDBHelper.mpSqlConnection = new SqlConnection(); RegistryKey vRegCurrentUser = Registry.CurrentUser; RegistryKey vRegHa... Read More
posted @ 2012-09-21 08:48 C#老头子 Views(2669) Comments(0) Diggs(1) Edit
Feb 5th:NEW Screencast:Snippet Editor Tips and TricksNEW RELEASE 2.1.0.0 includes support for VS 2010Project DescriptionThe Snippet Editor allows for easy management and creation of code snippets for Visual Studio.This is the Snippet Editor, formely known as the VB Snippet Editor as linked to from t Read More
posted @ 2012-09-12 12:21 C#老头子 Views(392) Comments(0) Diggs(0) Edit
http://msdn.microsoft.com/zh-tw/office/cc714035IntroductionThis article will demonstrate how easily you can design occasionally connected applications using ADO.NET Sync services. It's going to be a very basic example in VB.NET, showing how easily you can use Sync services within your applicatio Read More
posted @ 2012-09-10 14:27 C#老头子 Views(519) Comments(0) Diggs(0) Edit
1. CYQData: 路过秋色http://www.cyqdata.com/download/article-detail-426-1CYQ.Data 商业授权,分三个版本:个人、团队(适用于工作室)、企业。购买前请联系作者:有以下联系方式:1:发送Email联系:support@cyqdata.com,cyq1162@126.com2:加入CYQ.Data 数据框架相关QQ群与作者联系:1:60330062:905945293:1295516774:1131089203:留言联系方式,由作者主动与您联系。2. 伍华聪 http://www.cnblogs.com/wuhuacong/ 3. Read More
posted @ 2012-09-09 14:48 C#老头子 Views(269) Comments(0) Diggs(0) Edit
作者:Lance出处:http://www.cnblogs.com/nuaalfm/本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。一、AOP框架 Encase 是C#编写开发的为.NET平台提供的AOP框架。Encase 独特的提供了把方面(aspects)部署到运行时代码,而其它AOP框架依赖配置文件的方式。这种部署方面(aspects)的方法帮助缺少经验的开发人员提高开发效率。 NKalore是一款编程语言,它扩展了C#允许在.net平台使用AOP。NKalore的语法简单、直观,它的编译器是基于Mono Read More
posted @ 2012-09-09 14:27 C#老头子 Views(383) Comments(0) Diggs(0) Edit
ToString()使用方法汇总(C#)C货币2.5.ToString("C")¥2.50D十进制数25.ToString("D5")00025E科学型25000.ToString("E")2.500000E+005F固定点25.ToString("F2")25.00G常规2.5.ToString("G")2.5N数字2500000.ToString("N")2,500,000.00X十六进制255.ToString("X")FFformatCode 是可 Read More
posted @ 2012-09-08 18:53 C#老头子 Views(197) Comments(0) Diggs(0) Edit
staitc类中还包含一个子的static类。 using System; using System.Runtime.InteropServices; namespace Macroresolute { public static class ProcessEx { private static class NativeMethods { internal const uint GW_OWNER = 4; internal delegate bool EnumWindowsProc(IntPt... Read More
posted @ 2012-09-08 12:33 C#老头子 Views(510) Comments(0) Diggs(0) Edit
如题,前几天写了篇C#.Net开发继承UITypeEditor接口的自定义属性编辑器,总觉得不完美,这个控件是用带特殊分隔符的字符串持久化对象,可以打开xx.Designer.cs文件查看Items属性,虽然实现了所要的功能,但走的不是正道,其实有更专业的做法,设计时可以参考ListBox.Items对象的持久化后的代码。人类对探索总是充满好奇心,揣到一副不到黄河心不死的心理,花了一天时间找资料动手研究终于修出正果。(本示例基于开发自定义Component组件详细讲解)ComponentCS组件,继承Component。自定义的属性编辑器,派生UITypeEditor基类。frmTester. Read More
posted @ 2012-09-08 12:06 C#老头子 Views(1731) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页