弹来弹去跑马灯!

随笔分类 -  C#

1 2 3 4 5 ··· 8 下一页
C# Program
摘要:Webview2动态设置页面video的Blob进行播放 阅读全文
posted @ 2025-01-14 09:53 wgscd 阅读(20) 评论(0) 推荐(0) 编辑
摘要:C# 文件分割和文件合并 阅读全文
posted @ 2025-01-14 09:47 wgscd 阅读(54) 评论(0) 推荐(0) 编辑
摘要:WPF刮刮乐 <Window x:Class="WpfApp2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi 阅读全文
posted @ 2025-01-09 19:27 wgscd 阅读(5) 评论(0) 推荐(0) 编辑
摘要:C# 给当前程序创建桌面快捷方式 阅读全文
posted @ 2024-10-22 10:29 wgscd 阅读(104) 评论(0) 推荐(0) 编辑
摘要:C#利用Vosk开源模型语音识别 阅读全文
posted @ 2024-10-09 15:04 wgscd 阅读(330) 评论(0) 推荐(0) 编辑
摘要:WPF里webview2会一直处于其他控件最上层,是个历史遗留问题。 为了能在webview2里鼠标移动让窗体跟着移动位置 阅读全文
posted @ 2024-07-15 12:13 wgscd 阅读(108) 评论(0) 推荐(0) 编辑
摘要:WPF 动态加载嵌入主程序的DLL 阅读全文
posted @ 2024-07-11 10:54 wgscd 阅读(121) 评论(0) 推荐(0) 编辑
摘要:通过WebView2获取HTTP-only cookie可以使用`WebView2.CookieManager`类的方法。以下是一个示例代码,演示如何获取HTTP-only cookie: using System; using Microsoft.Web.WebView2.Core; using 阅读全文
posted @ 2024-03-31 22:33 wgscd 阅读(1332) 评论(0) 推荐(0) 编辑
摘要:C# HOOK 键盘事件 /* by: wgscd date:2023-8-15 desc: test hook in c# */ using System; using System.Collections.Generic; using System.Linq; using System.Text 阅读全文
posted @ 2023-08-15 10:36 wgscd 阅读(103) 评论(0) 推荐(0) 编辑
摘要:wpf ScrollViewer 滚动动画 阅读全文
posted @ 2023-07-28 09:23 wgscd 阅读(49) 评论(0) 推荐(0) 编辑
摘要:C#调用IronOcr识别文字不理想 阅读全文
posted @ 2023-07-19 10:10 wgscd 阅读(396) 评论(0) 推荐(0) 编辑
摘要:C# 调用FFmpeg 合并视频和音频 阅读全文
posted @ 2023-07-19 09:27 wgscd 阅读(150) 评论(0) 推荐(0) 编辑
摘要:httpClient.SendAsync(httpreq, HttpCompletionOption.ResponseHeadersRead); 阅读全文
posted @ 2023-07-02 11:27 wgscd 阅读(1533) 评论(3) 推荐(0) 编辑
摘要:private const int WS_EX_TRANSPARENT = 0x20; private const int GWL_EXSTYLE = -20; /// <summary> /// window 扩展样式 分层显示 /// </summary> private const int W 阅读全文
posted @ 2023-06-12 15:56 wgscd 阅读(96) 评论(0) 推荐(0) 编辑
摘要:WPF 打字效果 阅读全文
posted @ 2023-03-05 22:02 wgscd 阅读(85) 评论(0) 推荐(0) 编辑
摘要:例如将字体放入d:/Fonts 文件夹。然后就可以通过类似 btn.FontFamily = new FontFamily("file:///d:/Fonts/#Ashley");的形式使用。 获取字体文件的字体名称: string fontFilePath = "d:\\Fonts\\ygyxsz 阅读全文
posted @ 2023-02-12 20:09 wgscd 阅读(246) 评论(0) 推荐(0) 编辑
摘要:一个巧妙的设计 原理:利用async 标识方法执行异步处理 List<long> listIds = new List<long>();//业务任务:假设处理这个列表的任务 object lockObj = new object();//锁对象 bool stopFlag = false;//停止标 阅读全文
posted @ 2023-01-15 20:43 wgscd 阅读(40) 评论(0) 推荐(0) 编辑
摘要://by wgscd //date:2022/11/7 UI: <Path Stroke="Red" Data="{Binding path}" RenderTransformOrigin="0.5,0.5"> <Path.RenderTransform> <TransformGroup> <Sca 阅读全文
posted @ 2022-11-07 15:36 wgscd 阅读(389) 评论(0) 推荐(0) 编辑
摘要:c# 设置桌面壁纸: 只在win10 上测试了,不知道其它系统如何。 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawin 阅读全文
posted @ 2022-10-04 09:21 wgscd 阅读(148) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 8 下一页
点击右上角即可分享
微信分享提示