摘要: 在Winform的开发中,会遇到根据内容设置DataGridView的行的线为虚线,DataGridView自带不具备虚线功能,你可以重写,也可以其他方法,在这里我使用DrawBorder的方法。一、关闭DataGridView自带的CellBorderStyle,即设置DataGridView的C 阅读全文
posted @ 2017-11-21 17:48 张三的歌丶 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 本文版权归翟士丹(Stan Zhai)和博客园共有 原文地址:http://www.cnblogs.com/jasondan/p/it-memo.html 附件Git地址:我在GitHub上整理的一些资料 技术站点 Hacker News:非常棒的针对编程的链接聚合网站 Techmeme:美国知名科 阅读全文
posted @ 2016-04-20 12:42 张三的歌丶 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 网站A中的后台代码: 1 //请求的URL 2 HttpWebRequest request = WebRequest.Create("http://192.168.1.132:8... 阅读全文
posted @ 2015-05-15 10:52 张三的歌丶 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 1 /// 2 /// 转换对象为JSON格式数据 3 /// 4 /// 类 5 /// 对象 6 /// 字符格式的JSON数据 7 public string GetJSON(object o... 阅读全文
posted @ 2015-05-15 10:44 张三的歌丶 阅读(1969) 评论(0) 推荐(0) 编辑
摘要: 自己写了一个自定义控件的工程,工程名为TestControls,自定义控件的内容为: namespace TestControls { public class TestBoxControl : Control { private string textVal... 阅读全文
posted @ 2015-04-03 20:15 张三的歌丶 阅读(334) 评论(1) 推荐(1) 编辑
摘要: /// /// 交换两个整数的值 /// /// 数1 /// 数2private static void Swap(ref int aa,ref int bb) { int temp; temp = bb; bb = aa; aa = temp; }// 冒泡排序 class Program... 阅读全文
posted @ 2015-03-12 12:52 张三的歌丶 阅读(160) 评论(0) 推荐(0) 编辑