
C#
cqlray
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[zt]C#中DataGridView按钮禁用或不可点的方法(设置Enabled属性)
在项目中进行了使用,很好用。只需要对单元格进行强制转换后设置就可以了,如: ((DataGridViewDisableButtonColumn)dr.Cells["open"]).Enabled = false;转载 2011-05-12 15:46:00 · 11373 阅读 · 0 评论 -
图像压缩处理
<br />using System; using System.Collections.Generic; using System.Text; using System.Data; using System.IO; using System.Drawing; namespace DAL { public class ImgUtil { /// <summary> /// byte[]数组转换Bitmap /// <原创 2011-05-13 09:32:00 · 517 阅读 · 0 评论 -
结构体、对象转字节数组
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Reflection; using System.Runtime.Serialization.Formatters.Binary; using System.IO; namespace Communication.DataUtility { pu原创 2011-05-10 20:28:00 · 778 阅读 · 0 评论