会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
就你叫夏洛啊
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
6
下一页
2024年3月8日
【微软常用运行库合集】
摘要: 今天客户突然说软件执行模拟功能的时候,不能运行了,在确认完版本和运行环境之后,发现所有场景已经对齐了,始终无法复现问题。 模拟功能是软件调用另一个exe运行程序,根据传入指定的参数,进行相应的功能逻辑。 后面直接通过命令行的防止,传入参数唤起被调用的exe程序,我的机器上可以运行运行,客户机器提示
阅读全文
posted @ 2024-03-08 20:47 叫夏洛啊
阅读(322)
评论(0)
推荐(0)
2024年2月22日
【百度智能云】AIGC-文生图
摘要: 从地址 https://console.bce.baidu.com/ai/#/ai/intelligentwriting/app/list 创建应用, 然后复制应用的 API Key 和 Secret Key 到下文的 API_KEY_AIGC 和 SECRET_KEY_AIGC import js
阅读全文
posted @ 2024-02-22 14:00 叫夏洛啊
阅读(183)
评论(0)
推荐(0)
2024年1月17日
【.NET 5.0】WPF使用弹窗选择文件和文件夹
摘要: 一开始使用下面方法调起文件夹窗,始终提示 System.Windows.Forms 这个命名空间无法引入. // 选择文件夹 System.Windows.Forms.FolderBrowserDialog FolderBrowserDialog = new System.Windows.Forms
阅读全文
posted @ 2024-01-17 21:33 叫夏洛啊
阅读(887)
评论(0)
推荐(0)
2023年12月20日
【代码块】-C#不使用 split 分割字符串
摘要: 整理代码块 代码块整理后存储,供后期使用 string ModelValue = "AB|#$CD|#$EFG|#$"; int n = ModelValue.ToString().LastIndexOf("|#$"); ModelValue.Remove(n, 1); string[] strar
阅读全文
posted @ 2023-12-20 21:47 叫夏洛啊
阅读(17)
评论(0)
推荐(0)
【代码块】-结构体序列化与反序列化
摘要: 整理代码块 代码块整理后存储,供后期使用 结构体序列化与反序列化 using System; using System.Runtime.InteropServices; using System.Text; namespace structTest { /// <summary> /// 结构体序列
阅读全文
posted @ 2023-12-20 21:44 叫夏洛啊
阅读(26)
评论(0)
推荐(0)
【代码块】-计算机蜂鸣
摘要: 整理代码块 代码块整理后存储,供后期使用 计算机蜂鸣 class Program { static void Main(string[] args) { while (true) { Console.WriteLine("please press num \"1\" or \"2\""); int
阅读全文
posted @ 2023-12-20 21:40 叫夏洛啊
阅读(7)
评论(0)
推荐(0)
【代码块】-C#正则匹配中文
摘要: 整理代码块 代码块整理后存储,供后期使用 /// <summary> /// 包含中文 /// </summary> /// <param name="str"></param> /// <returns></returns> public static bool HasChinese(string
阅读全文
posted @ 2023-12-20 21:37 叫夏洛啊
阅读(21)
评论(0)
推荐(0)
各种api接口
摘要: 各种api接口 https://www.juhe.cn/docs/index/cid/1 http://www.sohu.com/a/197059756_178408 免费数据网站 http://data.stats.gov.cn/ 国家数据中心 绝对给力
阅读全文
posted @ 2023-12-20 21:35 叫夏洛啊
阅读(15)
评论(0)
推荐(0)
【代码块】-winform 获取控件属性和事件、自定义控件的自定义方法
摘要: 整理代码块 代码块整理后存储,供后期使用 C# 获取属性,获取事件逻辑 Control control = Controls.Find("button1", true)[0]; // 获取属性 object o = control.GetType().GetProperty("PropertyNam
阅读全文
posted @ 2023-12-20 21:33 叫夏洛啊
阅读(240)
评论(0)
推荐(0)
2023年12月10日
NETTER
该文被密码保护。
阅读全文
posted @ 2023-12-10 12:14 叫夏洛啊
阅读(0)
评论(0)
推荐(0)
1
2
3
4
5
6
下一页
公告