摘要: 来自:https://stackoverflow.com/questions/8311805/bitmapsource-copypixels-byte-bitmapsource-how-to-do-this-simple 阅读全文
posted @ 2019-12-14 17:28 HotSky 阅读(596) 评论(0) 推荐(0) 编辑
摘要: > BeginInit > EndInit > OnInitialized > MeasureOverride > ArrangeOverride > GetLayoutClip > OnRender > OnRenderSizeChanged > MeasureOverride > Arrange 阅读全文
posted @ 2019-08-21 09:51 HotSky 阅读(1206) 评论(0) 推荐(1) 编辑
摘要: 1.XML 2:C# 阅读全文
posted @ 2019-06-06 14:43 HotSky 阅读(743) 评论(0) 推荐(0) 编辑
摘要: mipmap-hdpi mipmap-mdpi mipmap-xhdpi mipmap-xxhdpi mipmap-xxxhdpi 72x72 48x48 96x96 144x144 192x192 阅读全文
posted @ 2019-05-31 15:34 HotSky 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1254) 评论(1) 推荐(0) 编辑
摘要: //引用: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 阅读(1586) 评论(0) 推荐(0) 编辑
摘要: MainAxisSize: 控制自己的布局方式 MainAxisSize: 控制自己的布局方式 MainAxisSize.min 默认值,Column和Row自适应children; MainAxisSize.max Column填充父控件竖屏,Row填充父控件横屏;需要搭配MainAxisAlig 阅读全文
posted @ 2019-02-27 15:12 HotSky 阅读(6791) 评论(0) 推荐(0) 编辑
摘要: 1。button控件添加事件监听 阅读全文
posted @ 2019-02-19 15:38 HotSky 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(6364) 评论(0) 推荐(0) 编辑
摘要: public class StringToVisualConverter : IValueConverter { #region IValueConverter 成員 public object Convert(object value, Type targetType, object parameter, System.Globalizatio... 阅读全文
posted @ 2018-12-21 17:14 HotSky 阅读(117) 评论(0) 推荐(0) 编辑