X3

RedSky

导航

2019年8月21日 #

WPF 控件生命周期

摘要: > BeginInit > EndInit > OnInitialized > MeasureOverride > ArrangeOverride > GetLayoutClip > OnRender > OnRenderSizeChanged > MeasureOverride > Arrange 阅读全文

posted @ 2019-08-21 09:51 HotSky 阅读(1279) 评论(0) 推荐(1)

2019年6月6日 #

WPF分页控件

摘要: 1.XML 2:C# 阅读全文

posted @ 2019-06-06 14:43 HotSky 阅读(788) 评论(0) 推荐(0)

2019年5月31日 #

Anroid图标尺寸

摘要: mipmap-hdpi mipmap-mdpi mipmap-xhdpi mipmap-xxhdpi mipmap-xxxhdpi 72x72 48x48 96x96 144x144 192x192 阅读全文

posted @ 2019-05-31 15:34 HotSky 阅读(161) 评论(0) 推荐(0)

2019年4月10日 #

C# ico转png

摘要: class Program { static void Main(string[] args) { Console.WriteLine("ICO文件转PNG"); string path = null; bool got = false; while (... 阅读全文

posted @ 2019-04-10 14:59 HotSky 阅读(1294) 评论(1) 推荐(0)

2019年3月25日 #

WPF Bitmap转BitmapSource,Image

摘要: //引用:using System.Windows.Interop; //Imagingusing System.Drawing; //Bitmap public static Imaging.BitmapSource ConvertToBitmapSource(Bitmap btmap) { return Imaging.CreateBitmapSourceFromHBitmap(btm... 阅读全文

posted @ 2019-03-25 16:13 HotSky 阅读(1663) 评论(0) 推荐(0)

2019年2月27日 #

Flutter笔记 Column和Row

摘要: MainAxisSize: 控制自己的布局方式 MainAxisSize: 控制自己的布局方式 MainAxisSize.min 默认值,Column和Row自适应children; MainAxisSize.max Column填充父控件竖屏,Row填充父控件横屏;需要搭配MainAxisAlig 阅读全文

posted @ 2019-02-27 15:12 HotSky 阅读(6862) 评论(0) 推荐(0)

2019年2月19日 #

IOS笔记

摘要: 1。button控件添加事件监听 阅读全文

posted @ 2019-02-19 15:38 HotSky 阅读(141) 评论(0) 推荐(0)

2019年1月24日 #

Android模拟器无法上网访问网络失败解决办法

摘要: 1、打开cmd输入adb shell回车; 2、输入getprop回车,如果在输出的信息中找到net.dns1则跳到第5步骤; 3、退出重新打开cmd然后输入adb root回车; 4、输入adb shell回车; 5、输入setprop net.dns1 192.168.1.1回车;这个192.1 阅读全文

posted @ 2019-01-24 10:25 HotSky 阅读(6471) 评论(0) 推荐(0)

2018年12月21日 #

FileToVisualConverter

摘要: public class StringToVisualConverter : IValueConverter { #region IValueConverter 成員 public object Convert(object value, Type targetType, object parameter, System.Globalizatio... 阅读全文

posted @ 2018-12-21 17:14 HotSky 阅读(124) 评论(0) 推荐(0)

BytesConverter

摘要: public class BytesConverter : IValueConverter { public bool IsSpeed { get; set; } public object Convert(object value, Type targetType, object paramete 阅读全文

posted @ 2018-12-21 17:11 HotSky 阅读(232) 评论(0) 推荐(0)