海鸥航迹

学习之笔记,好文之收集。

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

文章分类 -  .NET (FAQ,常用技巧,解决方案)

使用高效的日志工具—Log4J (1)
摘要:大家在编程时经常不可避免地要使用到一些日志操作,比如开发阶段的调试信息、运行时的日志记录及审计。调查显示,日志代码占代码总量的4%。通常大家可以简单地使用System.out.println()语句输出日志信息,但是往往会有一些判断,比如: if (someCondition) { System.out.println("some info... 阅读全文

posted @ 2004-12-30 09:47 海天一鸥 阅读(2955) 评论(0) 推荐(0) 编辑

使用高效的日志工具—Log4J (2)
摘要:Log4J的配置 现在来看log4j.properties配置文件的意义。第一行指定了根Logger的级别是DEBUG,并将此指定输出到A1。A1 就是第二行定义的org.apache.log4j.ConsoleAppender,此行表示将A1输出到控制台。第三行规... 阅读全文

posted @ 2004-12-30 09:44 海天一鸥 阅读(3081) 评论(1) 推荐(0) 编辑

统计图表--微软技术社区期刊
摘要:http://www.mscenter.edu.cn/zhuanti/dianziqikan/4/article3.htm 返回 统计图... 阅读全文

posted @ 2004-11-24 13:59 海天一鸥 阅读(10001) 评论(13) 推荐(0) 编辑

.NET 框架中的字符串
摘要:Dr. GUI .NET #5 .NET 框架中的字符串 2002 年 5 月 31 日 目录 上期主题和本期主题字符串System.String 类C# 中的字符串Visual Basic .NET 中的字符串使用标准 .NET 框架 API 的字符串StringBuilderSystem.Text 编码器和解码器正则表达式试一试!本期主题和下期主题 欢迎使用这里的源代码!请畅所欲言! ... 阅读全文

posted @ 2004-09-23 09:28 海天一鸥 编辑

[导入]Does C# support variable arguments (vararg's) on methods?
摘要:There was a suggestion/question on the Product Feedback site for VS2005 that suggested that the params keyword may not be that well understood. The params keyword can be applied on a method parameter... 阅读全文

posted @ 2004-09-22 09:33 海天一鸥 阅读(788) 评论(1) 推荐(0) 编辑

ADO.NET 2.0 中的架构
摘要:发布日期: 09/19/2004 | 更新日期: 09/19/2004 Bob BeaucheminDevelopMentor 适用于:Microsoft ADO.NET 2.0Microsoft Visual Studio 2005C# 编程语言 摘要:了解在 ADO.NET 中对于从您的数据源访问元数据的增强支持。 下载相关的 SchemasSample.exe 示例代码。 本页内容 ... 阅读全文

posted @ 2004-09-22 08:31 海天一鸥 阅读(3193) 评论(1) 推荐(0) 编辑

GDI+基础编程
摘要:解析.Net框架下的GDI+编程 目前微软的.Net框架正进一步发展,1.1版本即将发布,伴随而来是增加了诸如命名空间(Namespace)、Windows Form、GDI+和CLR等新概念、新机制。本文就来向大家介绍一下.Net框架下GDI+编程的一些基本知识。 GDI+是从GDI演化而来的,但是在Visual Studio的以前版本中使用GDI是相当复杂的,而且工作量巨大。... 阅读全文

posted @ 2004-09-19 09:35 海天一鸥 阅读(2261) 评论(0) 推荐(0) 编辑

DataGrid的双击事件处理
摘要:namespace DataGridDoubleClick{ using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; public cl... 阅读全文

posted @ 2004-09-18 09:49 海天一鸥 阅读(2392) 评论(1) 推荐(0) 编辑

经典代码,事件模式:EVent Model
摘要:using System;namespace EventModel{ /**//// /// stock 的摘要说明。 /// public class stock { public delegate void AskPriceChangeHandler(object sender,AskPriceChangedEventArgs e); ... 阅读全文

posted @ 2004-09-15 11:28 海天一鸥 阅读(1921) 评论(1) 推荐(0) 编辑

使用反射在.NET中实现动态工厂
摘要:使用反射在NET中实现动态工厂 英文: http://www.dalianit.com/edu/%7B78.85.66.122.80.85.66.62%7D.html出处 http://msdn.microsoft.com 在软件开发进行了若干年后,设计模式逐渐被更多的程序员理解和采用。对常见的特定问题总是有其解决办法,这些解决办法逐渐得到了大家的公认。许多这样的解决办法被汇总整... 阅读全文

posted @ 2004-08-19 14:34 海天一鸥 阅读(1699) 评论(1) 推荐(0) 编辑

一些好工具和控件--.NET控件(TreeView ,ListView, XML ,UML)
摘要:一些好工具和控件 Maintain hierarchical information using XML and TreeView control使用XML和TreeView Control维护分等级的信息,(Web or WinForm)http://www.codeproject.com/aspnet/applypattern.asp Recursive directory watch使用T... 阅读全文

posted @ 2004-08-12 12:39 海天一鸥 阅读(4224) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示