会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
随遇而安的
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2020年10月9日
Android SeekBar 垂直滚动条实现——Kotlin
摘要: #工程目录 #垂直SeekBar实现代码 package com.okk.vcontroller import android.content.Context import android.graphics.Canvas import android.graphics.Rect import and
阅读全文
posted @ 2020-10-09 10:48 王钰
阅读(910)
评论(0)
推荐(0)
2020年10月8日
Music decoding tool | 音乐解码工具
摘要: #备用下载连接密码:0000 #实用本地工具: QQMusic QMC Decoder (convert QMC File to MP3 or FLAC) |官网连接:https://github.com/Presburger/qmc-decoder|备用下载连接| |-|-| #在线解码工具: U
阅读全文
posted @ 2020-10-08 10:14 王钰
阅读(1672)
评论(0)
推荐(0)
2020年10月6日
d
摘要: 一、数据类型 1、整型 int 16位 -32768~32767 unsigned int 16位 0~65535 2、字符型 char 8位 -128~127 unsigned char 8位 0~255 3、浮点型 float 32位 double 64位 二、变量与常量 1、常量 定义:#de
阅读全文
posted @ 2020-10-06 15:00 王钰
阅读(372)
评论(0)
推荐(0)
WPF MVVM手敲简单框架
摘要: 好处是,XAML界面Binding到数据后,只需要更新数据,无需再次手动绑定即可完成界面更新。 1.创捷数据类,Model。 例如我创建的CarInfo.cs namespace MVVMDemo1 { public class CarInfo { string CarName_; string C
阅读全文
posted @ 2020-10-06 10:52 王钰
阅读(270)
评论(0)
推荐(0)
WPF线程,线程中刷新UI界面
摘要: WPF匿名线程执行 Thread thread = new Thread(() => { 此处填写代码 }); thread.Start(); WPF线程启动 Thread thread = new Thread( 此处填写要执行的函数 ); thread.Start(); WPF线程中更新UI t
阅读全文
posted @ 2020-10-06 10:51 王钰
阅读(559)
评论(0)
推荐(0)
百度地图JavaScript API——去除左下角LOGO
摘要: 百度地图, 去掉左下部分的标志 添加以下css, 即可去掉 .anchorBL a{ display: none; } .anchorBL img{ display: none; } .anchorBL span{ display: none!important; } var map = new B
阅读全文
posted @ 2020-10-06 10:49 王钰
阅读(1403)
评论(0)
推荐(0)
2020年7月24日
C# Socket域名连接
摘要: //根据域名解析出IP IPHostEntry hostinfo = Dns.GetHostByName("baidu.com"); IPAddress[] aryIP = hostinfo.AddressList; IPAddress address = aryIP[0]; 在新版本编辑器中提示上
阅读全文
posted @ 2020-07-24 14:58 王钰
阅读(1279)
评论(0)
推荐(0)
2020年7月21日
使用CloudFlare给IPv6 VPS提供IPv4+6端口转发服务
摘要: CloudFlare不仅支持常规的80和443端口,同时还支持了以下端口,因此也可以通过CloudFlare来转发这些端口实现IPv6->IPv4 v6的访问,让小鸡的玩法多样起来! HTTP ports supported by Cloudflare: 80 8080 8880 2052 2082
阅读全文
posted @ 2020-07-21 20:56 王钰
阅读(7186)
评论(1)
推荐(1)
C#分割字符,Split(new char[2] { '$', ',' }); 和Split( new string[]{"$",","}, StringSplitOptions.RemoveEmptyEntries); 的小计
摘要: 变量 str = "$0,1,2,3,4,5,6,,"; string[] sArray1 = str.Split(new char[2] { '$', ',' }); string[] sArray2 = str.Split(new string[] { "$", "," }, StringSpl
阅读全文
posted @ 2020-07-21 02:00 王钰
阅读(758)
评论(0)
推荐(0)
2020年7月15日
WPF播放视频、WPF_MediaElement用法
摘要: 用法 private string _videoPath; //打开按钮 private void ButtonOpen_Click(object sender, RoutedEventArgs e) { OpenFileDialog dialog = new OpenFileDialog(); d
阅读全文
posted @ 2020-07-15 16:42 王钰
阅读(843)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告