会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jackerson
宠辱不惊,看庭前花开花落; 去留无意,望天上云卷云舒;
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
2014年10月16日
RichTextBox 右键显示 ContextMenuTrip 分类: C# 2014-10-16 10:43 337人阅读 评论(0) 收藏
摘要: 说明:(1)命名:RichTextBox -> rtxt1ContextMenuTrip -> cms1(2)截图:(3)完整代码:using System;using System.Collections.Generic;using System.ComponentModel;using Syst...
阅读全文
posted @ 2014-10-16 10:43 Jackerson
阅读(216)
评论(0)
推荐(0)
2014年10月14日
常用文件操作 分类: C# 2014-10-14 16:18 108人阅读 评论(0) 收藏
摘要: 界面图:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Te...
阅读全文
posted @ 2014-10-14 16:18 Jackerson
阅读(131)
评论(0)
推荐(0)
2014年9月26日
C# ArrayList 基本用法 分类: C# 2014-09-26 11:03 524人阅读 评论(0) 收藏
摘要: 首先说明一下ArrayList 与 数组的区别:(1)ArrayList 的容量可以根据需要自由扩充,数组的容量是固定的(2)ArrayList 只能是一维形式,数组可以是多维的(3)ArrayList 提供将只读和固定大小包装返回到集合的方法,数组不提供(4)ArrayList 提供添加、插入和删...
阅读全文
posted @ 2014-09-26 11:03 Jackerson
阅读(111)
评论(0)
推荐(0)
2014年9月25日
C# 数组排序 基本算法 分类: C# 2014-09-25 15:43 129人阅读 评论(0) 收藏
摘要: 说明:冒泡、直接插入、选择、自带方法四中基本排序算法。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using Syst...
阅读全文
posted @ 2014-09-25 15:43 Jackerson
阅读(155)
评论(0)
推荐(0)
2014年9月24日
c# 字符串转化成声音 分类: C# 2014-09-24 12:20 316人阅读 评论(0) 收藏
摘要: 说明:(1)支持Window 7系统,但是xp系统智能朗读英文和数字;(2)添加引用 Interop.SpeechLib.dll;(3)使用时调用StringToVoice(str)即可。 using SpeechLib; /// /// 把字符串转换成声音 //...
阅读全文
posted @ 2014-09-24 12:20 Jackerson
阅读(214)
评论(0)
推荐(0)
2014年9月17日
C# SQL 整表插入 分类: C# 2014-09-17 16:18 369人阅读 评论(2) 收藏
摘要: 说明:(1)表A的一部分数据插入到表B(2)DataAccess 类,是放在DAL层下的底层类;da.StrConnection 写在DataAccess类中; //整表插入方法private void InsertTable() { DataAccess da = new DataAcc...
阅读全文
posted @ 2014-09-17 16:18 Jackerson
阅读(105)
评论(0)
推荐(0)
2014年8月22日
C# 字符串常用操作 分类: C# 2014-08-22 15:07 238人阅读 评论(0) 收藏
摘要: string str1 = "C#操作字符串如下"; string str2 = "C#操作字符串"; //比较字符串 Compare,Equal //1,compare,int 1 string.Compare(str1, str2); ...
阅读全文
posted @ 2014-08-22 15:07 Jackerson
阅读(123)
评论(0)
推荐(0)
2014年8月21日
跨服务器修改数据 分类: SQL Server 2014-08-21 21:24 316人阅读 评论(0) 收藏
摘要: 说明:两个服务器:192.168.0.22 A192.168.0.3 B数据库备份在A上数据库在B上在A上写:execsp_addlinkedserver'ITSV2','','SQLOLEDB','服务器地址' execsp_addlinkedsrvlogin'ITSV2','false',...
阅读全文
posted @ 2014-08-21 21:24 Jackerson
阅读(104)
评论(0)
推荐(0)
winform 猜猜看 分类: WinForm 2014-08-21 14:12 267人阅读 评论(0) 收藏
摘要: 说明:1>窗体应用程序。2>一个窗体(Form1),一个按钮(btnStart),一个文本(labTime)3>截图:4>代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using Syst...
阅读全文
posted @ 2014-08-21 14:12 Jackerson
阅读(152)
评论(0)
推荐(0)
2014年8月7日
winform 五子棋 判断输赢 分类: WinForm 2014-08-07 20:55 256人阅读 评论(0) 收藏
摘要: 新手上路,高手勿进!利用数组,根据新旧数组值的不同,获取那个点是什么棋子;说明: 棋盘:15*15; 定义4个全局变量: string[,] stroldlist = new string[15, 15];//初始的List public string[,] strlist = new ...
阅读全文
posted @ 2014-08-07 20:55 Jackerson
阅读(170)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
公告