WPF框架之订阅

1.创建一个类继承pubSubEvent<T>

image

 2.发布一个消息:

image

 3.订阅消息以及取消订阅消息:

image

 

posted @ 2026-05-27 15:24  你好呀嗯嗯  阅读(11)  评论(0)    收藏  举报