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