[转][Windows] Dump 入门
摘要:Windbg 官方下载地址:https://aka.ms/windbg/download 我是从 Microsoft Store 搜索 windebug 来下载安装的: 推荐从这个教程入门:https://learn.microsoft.com/zh-cn/windows-hardware/driv
阅读全文
posted @
2023-12-25 22:45
z5337
阅读(31)
推荐(0) 编辑
[转][C#]Logger 在 IoC 中的使用
摘要:只需要在 App.xaml.cs 中添加以下代码: protected override void RegisterTypes(IContainerRegistry containerRegistry) { var factory = new NLog.Extensions.Logging.NLog
阅读全文
posted @
2023-12-25 22:20
z5337
阅读(89)
推荐(0) 编辑
[转][C#][WPF]原生使用 INotifyPropertyChanged
摘要:在上一篇基础上,我们添加对字段的绑定效果: 界面添加: <TextBox Text="{Binding Name}" Width="120" Height="31" /> 在 MainWindowModel 里添加: public class MainWindowModel : INotifyPro
阅读全文
posted @
2023-12-13 23:03
z5337
阅读(42)
推荐(0) 编辑
[转][C#][WPF]原生使用 ICommand
摘要:传参这里参考:https://www.cnblogs.com/zhlziliaoku/p/5867556.html 文章参考:https://www.bilibili.com/video/BV1nY411a7T8 界面上添加一个按钮 <Button Content="点击" Width="120"
阅读全文
posted @
2023-12-13 22:36
z5337
阅读(153)
推荐(0) 编辑
[转][C#][WPF]MVVM 下的 ComboBox 数据绑定效果
摘要:参考:https://www.cnblogs.com/xpvincent/p/3848790.html 参考:https://blog.csdn.net/zhudaokuan/article/details/109059333 前端: <ComboBox Name="cmbBox" ItemsSou
阅读全文
posted @
2023-12-12 14:46
z5337
阅读(262)
推荐(0) 编辑
[转][C#]使用 RestSharp 上传文件
摘要:参考:https://restsharp.dev/usage.html#uploading-files var fileName = "ACE.jpg"; var filePath = "D:\\Wallpaper\\ACE.jpg"; var url = "http://localhost:999
阅读全文
posted @
2023-12-03 21:18
z5337
阅读(592)
推荐(0) 编辑