摘要: 1 添加接口 internal class MainViewModel : INotifyPropertyChanged { // 添加通知事件 public event PropertyChangedEventHandler? PropertyChanged; } 2 在类中添加相关参数事件调用 阅读全文
posted @ 2025-09-24 16:54 鸭子进京赶烤 阅读(11) 评论(0) 推荐(0)
摘要: 创建一个自定义命令类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.In 阅读全文
posted @ 2025-09-24 16:02 鸭子进京赶烤 阅读(22) 评论(0) 推荐(0)