自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 WPF Button 鼠标悬浮去白边

wpf Button 去白边

2022-06-01 15:31:09 395

原创 基于大疆dij_irp.exe进行红外测温

/// <summary> /// 大疆红外图像 /// </summary> public class InfraImage : IDisposable { private string exe; private string img; private string outPut; private int width; private int height;

2021-09-28 14:34:38 769 2

原创 WPF 转换器的使用(Converter)

<UserControl.Resources> <converters:GPSValueConverter x:Key="gPSname"> </converters:GPSValueConverter> </UserControl.Resources>ListView中改变某列内容显示 <GridViewColumn Header="经度" Width="72" DisplayMemberBinding="{Bi

2021-09-10 14:27:02 293

原创 Button样式和CheckBox样式按照Template自定义

Button样式和CheckBox样式按照Template自定义添加会显示控件的Content <Style x:Key="CheckBoxSwitchStyle" TargetType="CheckBox"> <Setter Property="IsChecked" Value="False"/> <Setter Property="Cursor" Value="Hand"/> <Se

2021-09-09 19:14:37 292

原创 WPF中使用WindowsFormsHost控件,无线显示的问题解决。在Window设置以下属性

WPF中使用WindowsFormsHost控件,无线显示的问题解决。在Window设置以下属性ResizeMode="NoResize" AllowsTransparency="False" WindowStyle="None"

2020-11-04 15:00:56 969

原创 FTPHelper

public class FTPHelper{#region 字段string ftpURI;string ftpUserID;string ftpServerIP;string ftpPassword;#endregion/// /// 连接FTP服务器/// /// FTP连接地址/// 指定FTP连接成功后的当前目录, 如果不指定即默认为根目录/// 用户名/// 密码public FTPHelper(string FtpServerIP, string FtpUserI

2020-08-21 14:43:37 263

原创 HttpHelper(post、put、get、delete)

public class HttpHelper{ public static string Post(string httpUrl, string jsonData) { string result = ""; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(httpUrl); request.Method = "POST"; request.Content

2020-08-21 14:41:49 2121

原创 根据两个经纬度坐标确定方向,以正北0为基准。

根据两个经纬度坐标确定方向,以正北0为基准。MyLatLng A = new MyLatLng(Longitude, Latitude);MyLatLng B = new MyLatLng(Longitude, Latitude);double angle = getAngle(A, B);//返回角度public static double getAngle(MyLatLng A, MyLatLng B){double dx = (B.m_RadLo - A.m_RadLo) * A.Ed;

2020-08-21 14:34:29 1304 1

原创 wpf加载特效

wpf界面端:后台实现:#region 进度条public void ShowProgress(){this.LoadGrid.Visibility = Visibility.Visible;ShowAnimation(this.root);}public void StopProgress(){storyboard.Stop();Application.Current.Dispatcher.Invoke(() =>{LoadGrid.Visibility = Visibi

2020-08-21 14:24:30 331

原创 UTM投影坐标转WGS84大地坐标

public class UTMAndWGS84{static double pi = Math.PI; /* Ellipsoid model constants (actual values here are for WGS84) */ static double sm_a = 6378137.0; static double sm_b = 6356752.314; static d...

2020-04-02 18:53:16 2116

原创 c#解析las点云坐标

public static Point LasUtmOfLonLat(string lasPath){string fileName = lasPath;double[] X; // 实际三维坐标double[] Y;double[] Z;UInt32 pointNum; //点数据个数if (fileName != “”){// 定义读写流FileStream fs = ...

2020-03-16 16:37:01 2350 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除