摘要:
/// <summary> /// 解析字节数组成图片 /// </summary> /// <param name="byteArray"></param> /// <returns></returns> public static BitmapImage ByteArrayToBitmapImage(byte[] byteArray) { BitmapImage bmp = null; try { bmp = ... 阅读全文
摘要:
/// <summary> /// 经纬度之间的距离 /// </summary> /// <param name="from"></param> /// <param name="to"></param> /// <returns></returns> public static double CalcDistance(System.Windows.Point from, System.Windows.Point to) { double rad = 637 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Common{ public static class ExtensionFuncation { #region 判断是否为空 /// <summary> /// 判断对象是否为null或者为空 /// </summary> /// <param name="o"></param> /// <returns></ret... 阅读全文