上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 27 下一页
摘要: WPF自定义TabControl,TabControl美化 XAML代码: <TabControl x:Class="SunCreate.Common.Controls.TabControlEx" xmlns="http://schemas.microsoft.com/winfx/2006/xaml 阅读全文
posted @ 2018-11-21 13:50 0611163 阅读(4165) 评论(8) 推荐(4) 编辑
摘要: 资源文件代码: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> 阅读全文
posted @ 2018-11-21 13:41 0611163 阅读(5827) 评论(5) 推荐(2) 编辑
摘要: 代码: private static ImageCodecInfo GetImageCodecInfo(ImageFormat imageFormat) { ImageCodecInfo[] imageCodecInfoArr = ImageCodecInfo.GetImageDecoders(); 阅读全文
posted @ 2018-08-24 14:03 0611163 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 项目属性-->生成-->允许不安全代码勾上。 代码: /// <summary> /// 反色处理 /// </summary> private Bitmap Inverse(Bitmap bmp) { BitmapData srcdat = bmp.LockBits(new Rectangle(P 阅读全文
posted @ 2018-08-22 14:57 0611163 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: (地图瓦片纠偏最好的方法在这:https://www.cnblogs.com/s0611163/p/15606460.html) 对谷歌瓦片地图进行纠偏,有两种方法:一是对拼接大图进行纠偏,然后重新切片;二是直接对瓦片图进行纠偏。这里我用的是第二种方法,即直接对瓦片地图进行纠偏。 App.confi 阅读全文
posted @ 2018-08-17 10:27 0611163 阅读(1556) 评论(2) 推荐(0) 编辑
摘要: 示例代码: marker.addEventListener("click", function(){ if (!window.markerClicked) { window.markerClicked = true; } else { window.markerClicked = false; re 阅读全文
posted @ 2018-07-11 14:56 0611163 阅读(2397) 评论(0) 推荐(0) 编辑
摘要: HttpUtil工具类: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; namespace MyBrow 阅读全文
posted @ 2018-06-20 10:05 0611163 阅读(2750) 评论(0) 推荐(0) 编辑
摘要: 代码: using log4net; using SunCreate.CombatPlatform.Security; using System; using System.Collections.Generic; using System.Linq; using System.Text; usin 阅读全文
posted @ 2018-06-14 12:44 0611163 阅读(303) 评论(0) 推荐(0) 编辑
摘要: XAML代码: <Popup x:Name="popupStrategy" StaysOpen="False" PopupAnimation="Scroll" Width="190" MaxHeight="300" AllowsTransparency="True"> <Border Backgro 阅读全文
posted @ 2018-04-09 12:23 0611163 阅读(3599) 评论(6) 推荐(0) 编辑
摘要: 使用HierarchicalDataTemplate递归绑定现实 XAML代码: <UserControl x:Class="SunCreate.CombatPlatform.Client.MultiSelOrgTree" xmlns="http://schemas.microsoft.com/wi 阅读全文
posted @ 2018-04-09 12:19 0611163 阅读(1578) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 27 下一页