随笔分类 - WPF-C#
摘要:使用构造函数传递值: public class ComplexInfoModel { public string Key { get; set; } public string Text { get; set; } public ComplexInfoModel(string key, string
阅读全文
摘要://构造函数 public MainWindowViewModel() { EditCommand = new DelegateCommand(_editCommand); } //命令声明一 public DelegateCommand EditCommand { get; set; } //构造
阅读全文
摘要:using System; using System.Collections.Generic; public class Student{ public string Name { get; set; } } class MyClass { //用于存储学生对象的集合 private List<St
阅读全文
摘要:天下武功 一脉相承 结合JS理解更容易理解:https://www.cnblogs.com/douyuanjun/p/17465402.html 跟uni.$on、uni.$off、uni.$once 和 uni.$emit 在 UniApp 中与 Prism 框架中的事件订阅和发布机制类似,可以说
阅读全文
摘要:#MainWindow.xaml <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micros
阅读全文