随笔分类 -  WPF-C#

摘要:使用构造函数传递值: public class ComplexInfoModel { public string Key { get; set; } public string Text { get; set; } public ComplexInfoModel(string key, string 阅读全文
posted @ 2023-10-31 08:23 窦戈 阅读(142) 评论(0) 推荐(0) 编辑
摘要://构造函数 public MainWindowViewModel() { EditCommand = new DelegateCommand(_editCommand); } //命令声明一 public DelegateCommand EditCommand { get; set; } //构造 阅读全文
posted @ 2023-10-30 13:04 窦戈 阅读(262) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; public class Student{ public string Name { get; set; } } class MyClass { //用于存储学生对象的集合 private List<St 阅读全文
posted @ 2023-10-28 15:58 窦戈 阅读(12) 评论(0) 推荐(0) 编辑
摘要:天下武功 一脉相承 结合JS理解更容易理解:https://www.cnblogs.com/douyuanjun/p/17465402.html 跟uni.$on、uni.$off、uni.$once 和 uni.$emit 在 UniApp 中与 Prism 框架中的事件订阅和发布机制类似,可以说 阅读全文
posted @ 2023-10-26 11:04 窦戈 阅读(275) 评论(0) 推荐(0) 编辑
摘要:#MainWindow.xaml <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micros 阅读全文
posted @ 2023-10-26 08:57 窦戈 阅读(20) 评论(0) 推荐(0) 编辑

more_horiz
keyboard_arrow_up dark_mode palette
选择主题
点击右上角即可分享
微信分享提示