- 博客(5)
- 资源 (6)
- 收藏
- 关注
原创 Byte 一维数组 和 二维数组 互换
public static byte[] ByteArrToByte(Byte[,] b, int nNum1, int nNum2) { List<byte> list = new List<byte>(); for (int i = 0; i < nNum1; i++) { for (int j = 0; j < nNum2; j++)
2016-11-18 11:41:16
2382
原创 结构体转换byte数组
/// <summary> /// 单个结构体转换byte数组 /// </summary> /// <param name="structObj">结构体对象</param> /// <returns></returns> public static byte[] StructToBytes(object structObj) { //得到结构体的大小 int size = Marsh
2016-11-18 11:19:50
2097
原创 创建填充色背景图
int nWidth = 300 , nHeight =300; Bitmap bmp = new Bitmap(nWidth, nHeight); Graphics g = Graphics.FromImage(bmp); SolidBrush b = new SolidBrush(Color.Red); g.FillRectangle(b, 0, 0, nWidth, nHeight)
2016-11-18 10:54:45
315
原创 时间,时间戳转换
/// /// 时间戳Timestamp /// /// public static int GetCurrentTime() { DateTime DateStart = new DateTime(1970, 1, 1, 0, 0, 0); return Convert.ToInt32((DateTime.Now -DateStart).TotalSeconds); }
2016-11-18 10:40:13
312
转载 颜色常量
public static const NO_COLOR : int = -1;//grays public static const GRAY10: int = 0x1A1A1A; public static const GRAY20: int = 0x333333; public static const GRAY30: int = 0x4D4D4D; public static con
2016-11-18 10:27:31
392
VMDotNet(.NET虚拟框架)
2018-06-08
C# 基于LumiSoft.Net的Sip电话开发
2017-09-07
NPOI Net4.0.rar
2019-07-19
Granados dll + 源码
2020-11-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅