代码改变世界

阅读排行榜

C# 里TreeView绑定数据库实现分类

2009-04-23 13:25 by 观海看云, 1285 阅读, 收藏,
摘要: view plaincopy to clipboardprint? //从数据库中读取数据 SqlConnection con = new SqlConnection("server=127.0.0.1\\sqlexpress;uid=sa;"); con.Open(); con.ChangeDatabase(... 阅读全文

winform中输入数据的验证

2009-07-11 23:33 by 观海看云, 1265 阅读, 收藏,
摘要: using System;using System.Collections.Generic;using System.Text;using System.Windows.Forms;using System.Data;using System.Data.SqlClient;using System.Text.RegularExpressions;using CrystalDecisions.Cry... 阅读全文

一些很酷的.Net技巧

2009-09-16 20:49 by 观海看云, 1221 阅读, 收藏,
摘要: 一..Net Framework1. 如何获得系统文件夹使用System.Envioment类的GetFolderPath方法;例如:Environment.GetFolderPath( Environment.SpecialFolder.Personal )2. 如何获得正在执行的exe文件的路径1) 使用Application类的ExecutablePath属性2) System.Reflec... 阅读全文

wpf 动画效果

2011-07-26 10:17 by 观海看云, 1195 阅读, 收藏,
摘要: 最近项目大量要用到动画,研究研究wpf动画效果,没事做做demo ... 阅读全文

c#在WinForm中重写ProgressBar控件(带%的显示)

2009-07-04 10:30 by 观海看云, 1159 阅读, 收藏,
摘要: c#在WinForm中重写ProgressBar控件(带%的显示)2009-05-14 13:13 #region 定义textProgressBar控件的类 namespace csPublish { [ToolboxItem(true)] class textProgressBar : System.Windows.Forms.ProgressBar { [System.Runtime.Int... 阅读全文
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 58 下一页